
Mcp Block Data
io.github.CryptoAPIs-ioPublished by GitHub account CryptoAPIs-iov0.4.0Updated Oct 24, 2026
MCP server for retrieving block-level data from EVM, UTXO, and XRP blockchains via Crypto APIs
Overview
Lets an assistant fetch block-level data and block transactions from EVM, UTXO, and XRP blockchains through the Crypto APIs service.
- What you can do
- Wraps the Crypto APIs Block Data product as three tools: evm_block_data, utxo_block_data, and xrp_block_data. Each exposes actions to get a block by height or hash, list transactions in a block by height or hash, get the last mined block, and list the latest mined blocks. Coverage includes Ethereum, BSC, Polygon, Avalanche C-Chain, Arbitrum, Base, Optimism, Tron, Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash, and XRP mainnet and testnet.
- When to use it
- Useful when an assistant needs to look up blockchain block details or enumerate transactions in a block without writing direct node or explorer integrations. It fits analysis, monitoring, and reporting workflows that already rely on Crypto APIs data.
- Requirements
- Node.js 18 or later, run locally via npx or npm. A Crypto APIs account and API key are required, supplied through the CRYPTOAPIS_API_KEY environment variable or the --api-key argument. Network access to the Crypto APIs service is needed. HTTP transport is optional and defaults to 127.0.0.1:3000.
Installation
In SourceWeft
- Open Mcp Block Data in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@cryptoapis-io/mcp-block-data
MCP server for Crypto APIs Block Data product. Get block details by height or hash for EVM, UTXO, and XRP blockchains.
API Version: Compatible with Crypto APIs version 2024-12-12
Features
- Get block details by block height or block hash
- List transactions by block height or block hash
- Get last mined block and list latest mined blocks
- Supported EVM chains: Ethereum, Ethereum Classic, BSC, Polygon, Avalanche (C-Chain), Arbitrum, Base, Optimism, Tron
- Supported UTXO chains: Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash
- Supported other: XRP (mainnet, testnet)
Prerequisites
- Node.js 18+
- Crypto APIs account and API key (sign up | get API key)
Installation
Or install all Crypto APIs MCP servers: npm install @cryptoapis-io/mcp
Usage
Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS, %APPDATA%\Claude\claude_desktop_config.json on Windows):
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):
MCP Inspector
n8n
- Start the server in HTTP mode:
- In your n8n workflow, add an AI Agent node
- Under Tools, add an MCP Client Tool and set the URL to
http://localhost:3000/mcp
n8n in Docker:
localhostinside the container is not your machine. Start the server with--host 0.0.0.0andMCP_AUTH_TOKENset (see Exposing the server beyond localhost), usehttp://host.docker.internal:3000/mcpas the URL, and add anAuthorization: Bearer <token>header to the MCP Client Tool credential.
All servers default to port 3000. Use
--portto assign different ports when running multiple servers.
Available Tools
evm_block_data
Get EVM block details.
utxo_block_data
Get UTXO block details (Bitcoin, Bitcoin Cash, Litecoin, Dogecoin, Dash, Zcash).
xrp_block_data
Get XRP block (ledger) details.
CLI Arguments
HTTP API Key Modes
When using HTTP transport, the server supports two API key modes:
- With
--api-key: The key is used for all requests.x-api-keyrequest headers are ignored. - Without
--api-key: Each request must include anx-api-keyheader with a valid Crypto APIs key. This enables hosting a public server where each user provides their own key.
Exposing the server beyond localhost
HTTP mode listens on 127.0.0.1 by default, so only processes on the same machine can reach it.
To accept connections from other machines or containers, bind explicitly and protect the port:
--allowed-hosts restricts the Host header (DNS rebinding protection) when not bound to loopback. Prefer MCP_AUTH_TOKEN over --auth-token: command-line arguments are visible in the process list.
Stdio transport always requires an API key at startup.
Important: API Key Required
Warning: Making requests without a valid API key — or with an incorrect one — may result in your IP being banned from the Crypto APIs ecosystem. Always ensure a valid API key is configured before starting any server.
Remote MCP Server
Crypto APIs provides an official remote MCP server with all tools available via HTTP Streamable transport at https://ai.cryptoapis.io/mcp. Pass your API key via the x-api-key header — no installation required.
License
MIT
Source: README.md at commit 4f97707
Tools
0Version history
2- v0.4.0LatestSep 24, 2026
- v0.3.0Sep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts