MCP Block Data logo

MCP Block Data

Retrieve EVM, UTXO, and XRP block data, transactions, and latest mined blocks through Crypto APIs.

Install MCP Block Data

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "mcp-block-data": {
      "command": "npx",
      "args": [
        "-y",
        "@cryptoapis-io/mcp-block-data"
      ],
      "env": {
        "CRYPTOAPIS_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env CRYPTOAPIS_API_KEY=YOUR_VALUE_HERE --transport stdio mcp-block-data -- npx -y @cryptoapis-io/mcp-block-data

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

npx -y @cryptoapis-io/mcp-block-data

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

mcp-block-data connects MCP clients to Crypto APIs Block Data endpoints for EVM, UTXO, and XRP networks. Its three tools retrieve blocks or ledgers by height or hash, enumerate transactions, and return recent mined blocks. Use it when an agent needs blockchain block-level data across supported networks without implementing separate chain APIs. It runs over stdio by default or over HTTP with configurable authentication.

Use cases

  • Inspect an EVM block by number or hash
  • List transactions from a UTXO-chain block
  • Check the latest mined block across supported networks
  • Query XRP ledger details by index or hash

Key features

  • Block lookups by height or hash
  • Transaction listing by block identifier
  • Latest mined block retrieval
  • EVM, UTXO, and XRP coverage
  • Stdio and HTTP transports
  • Configurable API-key and bearer-token authentication

Tools3

What MCP Block Data lets your agent do. Expand a tool for its parameters.

Self-reported~44 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

31/31 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · @cryptoapis-io/mcp-block-data (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads697Package downloads in the last 30 days.
Last commit22d agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.
Tools exposed3Callable tools this server registers over MCP.

How MCP Block Data works

What mcp-block-data does

mcp-block-data exposes Crypto APIs Block Data operations through the Model Context Protocol. It covers three blockchain data models:

  • EVM networks: Ethereum, Ethereum Classic, BSC, Polygon, Avalanche C-Chain, Arbitrum, Base, Optimism, and Tron.
  • UTXO networks: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash.
  • XRP mainnet and testnet, represented through ledger data.

Each model has a dedicated MCP tool: evm_block_data, utxo_block_data, or xrp_block_data. The server is compatible with Crypto APIs version 2024-12-12.

How it works

The tools accept actions for looking up a block by height or hash and for listing transactions from a block using either identifier. They also provide an action for retrieving the last mined block and another for listing the latest mined blocks. For XRP, height-based lookups use the ledger index and hash-based lookups use the ledger hash.

The package can communicate with MCP clients through stdio or HTTP. Stdio is the default transport and is intended for local process-based integrations. HTTP listens on 127.0.0.1 by default, uses port 3000 unless changed, and exposes the MCP endpoint at /mcp unless another path is configured.

Setup and configuration

Install the package with npm:

Terminal
npm install @cryptoapis-io/mcp-block-data

Node.js 18 or newer and a Crypto APIs account with an API key are required. Supply the key with --api-key or set CRYPTOAPIS_API_KEY. Stdio requires an API key when the process starts.

For HTTP mode, run the server with --transport http. A startup API key applies to all requests. If no startup key is supplied, each request must provide a valid x-api-key header, which supports per-request key handling. Configure --host, --port, --path, and --stateless as needed.

When binding HTTP to a non-loopback address, use --allowed-hosts for the Host header allowlist and protect access with a bearer token through MCP_AUTH_TOKEN or --auth-token when using a startup API key. Prefer the environment variable for the token because command-line arguments can appear in the process list.

Claude Desktop and Cursor can launch the package with npx and pass CRYPTOAPIS_API_KEY in their MCP configuration. The HTTP endpoint can also be added to an n8n MCP Client Tool. MCP Inspector can launch the stdio server for testing.

Tools and capabilities

evm_block_data supports block lookup by number or hash, transaction listing by either identifier, the latest mined block, and a list of latest mined blocks across the supported EVM networks.

utxo_block_data provides the same action set for Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, and Zcash.

xrp_block_data provides equivalent block-data actions for XRP ledgers. Height-based operations use a ledger index, while hash-based operations use a ledger hash. The tool supports XRP mainnet and testnet.

Limitations and notes

A valid Crypto APIs key is necessary before making requests. Requests made without a valid key may result in an IP ban from the Crypto APIs ecosystem. HTTP mode defaults to local-only access; accepting connections from other machines or containers requires an explicit host binding and appropriate authentication settings.

The package is licensed under MIT. Crypto APIs also provides a hosted remote MCP endpoint at https://ai.cryptoapis.io/mcp, which accepts the API key through the x-api-key header and avoids local installation.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Block Data

mcp-block-data is an MCP server that connects AI clients to Crypto APIs Block Data for EVM, UTXO, and XRP networks. Its main tools retrieve blocks or ledgers by height or hash, list transactions, return the latest mined block, and list recent mined blocks across supported chains.

Install it with `npm install @cryptoapis-io/mcp-block-data`, then provide a Crypto APIs key with `--api-key` or `CRYPTOAPIS_API_KEY`. Node.js 18 or newer is required. You can start it with stdio, the default transport, or configure HTTP mode.

It supports Ethereum, Ethereum Classic, BSC, Polygon, Avalanche C-Chain, Arbitrum, Base, Optimism, Tron, Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash, and XRP. XRP queries use ledger terminology and cover mainnet and testnet.

Yes, it works with both Claude Desktop and Cursor through their MCP configuration files. Configure each client to launch the package with `npx` and set `CRYPTOAPIS_API_KEY` in the environment.

Run `npx @cryptoapis-io/mcp-block-data --transport http --port 3000 --api-key YOUR_API_KEY`. HTTP uses `127.0.0.1` and `/mcp` by default. For remote access, set an explicit host, configure authentication, and use `--allowed-hosts` where appropriate.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Block Data AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mcp-block-data?style=directory)](https://allmcps.com/mcp/mcp-block-data)
HTML Embed
<a href="https://allmcps.com/mcp/mcp-block-data"><img src="https://allmcps.com/api/badge/mcp-block-data?style=directory" alt="MCP Block Data on AllMCPs" /></a>