# beaconcha.in — how to use (mcp.ai)

Connect your beaconcha.in account and use 37 tools for analytics straight from your AI agent. Connect with your own API key. Beaconchain is a platform providing real-time data and analytics for the Ethereum 2.0 Beacon Chain, offering insights into validators, blocks, and network performance.

## Option A — via MCP (recommended)
Remote MCP endpoint (HTTP, streamable): `https://api.mcp.ai/p_beaconchain?ms=1787295900000`
Add it as a custom/remote MCP connector in your client (Claude, Cursor, VS Code…), then authenticate when prompted. Once connected, ask the agent to use the server's tools (e.g. `beaconchain_get_chart`).

## Option B — via direct REST API
Base URL: `https://api.mcp.ai/api/beaconchain`
Auth: `Authorization: Bearer sk_live_…` — create a workspace API key at https://mcp.ai/settings/api-keys
Discover endpoints: `GET https://api.mcp.ai/api/beaconchain/_endpoints`

### Endpoints
- `POST https://api.mcp.ai/api/beaconchain/get/chart` — Retrieve chart visualizations from beaconcha.in as PNG images. Use when you need visual representations of Ethereum Beacon Chain data like validator counts, staked ether, network liveness, or block st
  - body: { chart: string }
- `POST https://api.mcp.ai/api/beaconchain/get/epoch` — Retrieve aggregate metrics and status for a beacon chain epoch. Use this tool to fetch epoch-level statistics including validator counts, balances, participation rates, block counts, and various opera
  - body: { epoch: string }
- `POST https://api.mcp.ai/api/beaconchain/get/eth/store/daily` — Retrieve ETH.Store daily aggregate metrics for Ethereum validators. Use this to analyze the average financial return validators achieved over a specific 24-hour period, including APR metrics, consensu
  - body: { day: string }
- `POST https://api.mcp.ai/api/beaconchain/get/eth1/deposits/by/tx/hash` — Retrieve all beacon chain validator deposit events associated with a specific execution-layer transaction hash. Use this tool to inspect deposit transactions and verify deposit parameters like amount,
  - body: { tx_hash: string }
- `POST https://api.mcp.ai/api/beaconchain/get/execution/address/erc20/tokens` — Retrieve a paginated list of ERC-20 token balances for a specific Ethereum address. Use offset and limit query parameters for pagination. Returns token contract address, balance in token units, and to
  - body: { limit?: integer, offset?: integer, address: string }
- `POST https://api.mcp.ai/api/beaconchain/get/execution/block` — Retrieve one or more execution-layer blocks by block number from the Ethereum Beacon Chain. Use this tool to look up execution block details including block hash, timestamp, rewards, gas usage, transa
  - body: { block_number: string }
- `POST https://api.mcp.ai/api/beaconchain/get/execution/produced/blocks` — Retrieve execution-layer blocks attributed to one or more producers. Use this tool to query blocks produced by specific fee recipients, proposer indices, or validator public keys. Supports comma-separ
  - body: { sort?: string, limit?: integer, offset?: integer, address_index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/latest/state` — Retrieve the latest known Ethereum Beacon Chain network state. Returns current slot, epoch numbers, finalized epoch, finality delay indicator, syncing status, and ETH/USD price along with multi-curren
- `POST https://api.mcp.ai/api/beaconchain/get/network/performance` — Retrieve aggregated network performance metrics for the Ethereum Beacon Chain. Use this to analyze validator performance across attestations, proposals, and sync committee duties over a specified time
  - body: { chain?: string, range: object }
- `POST https://api.mcp.ai/api/beaconchain/get/node/health` — Check the health status of the beaconcha.in explorer service. Returns status of monitoring modules including execution layer data, consensus layer data, services, Redis, app, and API modules. Use this
- `POST https://api.mcp.ai/api/beaconchain/get/queues` — Retrieve current queue metrics for Ethereum Beacon Chain validators. Use this tool to check activation queue status, exit queue status, withdrawal sweep progress, and chain finality. Returns deposit q
  - body: { chain?: string }
- `POST https://api.mcp.ai/api/beaconchain/get/rocketpool/validator` — Retrieve Rocket Pool-specific metadata for validators including minipool status, node fee, smoothing pool status, and RPL stake metrics. Use this to access Rocket Pool protocol data such as minipool a
  - body: { indexOrPubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/slot` — Retrieve detailed information about an Ethereum Beacon Chain slot. Use this tool to look up slot details including attestations, slashing counts, block roots, execution payload data, validator propose
  - body: { slot_or_hash: string }
- `POST https://api.mcp.ai/api/beaconchain/get/slot/attestations` — Retrieve all attestations included in the beacon block for a specific slot. Use this tool to get detailed attestation data including committee participation, checkpoint information, and validator indi
  - body: { slot: string }
- `POST https://api.mcp.ai/api/beaconchain/get/slot/attester/slashings` — Retrieve all attester slashing operations included in the beacon block for a specific slot. Use this tool to check for attester slashings at a given slot number or the latest processed slot.
  - body: { slot: string }
- `POST https://api.mcp.ai/api/beaconchain/get/slot/proposer/slashings` — Retrieve all proposer slashing operations included in the beacon block for a specific slot. Use this tool to check for proposer slashings at a given slot number or the latest processed slot.
  - body: { slot: string }
- `POST https://api.mcp.ai/api/beaconchain/get/slot/voluntary/exits` — Retrieve all voluntary exit operations included in the beacon block for a specific slot. Use when you need to examine which validators submitted exit requests in a given slot. Returns an empty array i
  - body: { slot: string }
- `POST https://api.mcp.ai/api/beaconchain/get/sync/committee` — Retrieve the sync committee membership for a given sync period. Returns a list of 512 validator indices that participate in light-client finality for the specified period. Each sync period spans 256 e
  - body: { period: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator` — Retrieve detailed information about an Ethereum Beacon Chain validator. Use this tool to look up validator status, balance, activation epochs, slashing status, and other details. Supports lookup by va
  - body: { validator_id: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/attestation/efficiency` — Retrieve normalized attestation inclusion effectiveness for one or more validators. Use this tool to measure how effectively validators are getting their attestations included in the Beacon Chain. A s
  - body: { validator_id: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/attestations` — Retrieve attestations observed for one or more validators within a bounded epoch window. By default, returns data for the last 100 epochs. Use when you need to check validator attestation history, ver
  - body: { slim?: boolean, endEpoch?: integer, startEpoch?: integer, indexOrPubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/balance/history` — Retrieve per-epoch balance history for one or more Ethereum Beacon Chain validators. Use optional query parameters to control the time window (latest_epoch, offset, limit). Returns an array of balance
  - body: { limit?: integer, offset?: integer, latest_epoch?: integer, index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/bls/changes` — Retrieve on-chain BLS-to-execution credential change messages (EIP-4881) for validators. Use this tool to check if validators have changed their withdrawal credentials from BLS (0x00) to execution-lay
  - body: { index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/consensus/rewards` — Retrieve consensus-layer rewards for one or more validators over multiple lookback windows. Returns reward totals for the last 1, 7, 31, and 365 days, plus cumulative totals when available. All amount
  - body: { index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/daily/stats` — Retrieve per-day statistics for a single Ethereum Beacon Chain validator by index. Returns daily balance snapshots (start/end/min/max), duty counts (proposed/missed blocks, attestations), and deposit/
  - body: { index: integer, end_day?: integer, start_day?: integer }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/deposits` — Retrieve execution-layer deposit events for one or more validators. Use when you need to check deposit history, verify deposit amounts, or audit withdrawal credentials for validators.
  - body: { indexOrPubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/execution/rewards` — Retrieve execution-layer rewards (priority fees and MEV payments) for one or more validators. Values are reported in wei and include reward totals for the last 1, 7, 31, and 365 days, plus cumulative 
  - body: { validator_ids: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/income/history` — Retrieve a per-epoch income breakdown for one or more validators. Returns consensus-layer rewards/penalties in gwei and execution-layer tips in wei. Use this to analyze validator earnings over time, i
  - body: { limit?: integer, offset?: integer, latest_epoch?: integer, index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/leaderboard` — Retrieve the current top 100 validators ranked by 7-day consensus-layer rewards. Returns performance metrics including 1-day, 7-day, 31-day, 365-day, and total rewards in Gwei for each validator. Use 
- `POST https://api.mcp.ai/api/beaconchain/get/validator/proposals` — Retrieve beacon chain blocks proposed by one or more validators within a bounded epoch window. By default, returns proposals from the last 100 epochs. Use this to get proposal history for validators b
  - body: { epoch?: integer, indexOrPubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validator/withdrawals` — Retrieve withdrawal operations attributed to one or more validators within a bounded epoch window. Use this tool to fetch historical withdrawal data for validators on the Ethereum Beacon Chain. The AP
  - body: { epoch?: integer, index_or_pubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validators/by/deposit/address` — Retrieve validators that have made deposits from a specific execution-layer address. Supports ENS names which are resolved server-side. Returns validator public keys, signature validity, and validator
  - body: { limit?: integer, offset?: integer, eth1address: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validators/by/withdrawal/credentials` — Retrieve validators whose withdrawal credentials match the provided value or execution-layer address. Use this tool to find all validators associated with a specific withdrawal credential (32-byte hex
  - body: { limit?: integer, offset?: integer, withdrawal_credentials_or_eth1_address: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validators/proposal/luck` — Retrieve proposal luck statistics for one or more Ethereum Beacon Chain validators. Use this to analyze how lucky validators have been with block proposals compared to expected rates.
  - body: { validators: string }
- `POST https://api.mcp.ai/api/beaconchain/get/validators/queue` — Retrieve current queue metrics for validators on the Ethereum Beacon Chain. Returns counts and total effective balances for validators awaiting activation and validators scheduled to exit. Use this to
- `POST https://api.mcp.ai/api/beaconchain/post/validators` — Retrieve validator information using a JSON request body for multiple validators. Use this when the list of identifiers is too long for the GET path parameter (up to 100 identifiers). Supports lookup 
  - body: { indicesOrPubkey: string }
- `POST https://api.mcp.ai/api/beaconchain/resolve/ens` — Resolve ENS (Ethereum Name Service) names to addresses and vice versa. Use this tool to perform bidirectional lookups between ENS domain names and Ethereum addresses. Accepts either an ENS name (e.g.,
  - body: { domain: string }

## Example prompts
- "What can I do in beaconcha.in?"
- "Show me a summary of my beaconcha.in account"

## More
- Page: https://mcp.ai/beaconchain
- Agent spec (llms.txt): https://mcp.ai/beaconchain/llms.txt
- Postman collection: https://mcp.ai/beaconchain/postman.json
