This server wraps Blockscout APIs and exposes blockchain data—balances, tokens, NFTs, contract metadata—via the Model Context Protocol (MCP) so that AI agents and tools (like Claude, Cursor, or IDEs) can access and analyze it contextually.
For more powerful blockchain analysis, install the Blockscout Analysis skill from the agent-skills repository. This skill provides AI agents with structured guidance for execution strategies, response handling, security best practices, and workflow orchestration.
See the agent-skills README for full capabilities and installation instructions.
Tools reach Blockscout data through the Blockscout PRO API. Therefore you must supply your own PRO API key in the `Blockscout-MCP-Pro-Api-Key` request header.
Blockscout-MCP-Pro-Api-Key header.Install the Blockscout connector from the Anthropic Connectors Directory:
Note: Connectors require a paid Claude plan (Pro, Team, Max, or Enterprise).
Limitations: Due to the use of a shared access key, there may be restrictions on connector access and capabilities.
You have two options to use the official Blockscout MCP server with a PRO API key with Claude Desktop:
Best for: Easy installation and automatic updates
Download and install the pre-built MCP Bundle (.mcpb file):
blockscout-mcp.mcpb from the GitHub releasesBest for: Users comfortable with command-line tools and custom configurations
Add the following configuration to your claude_desktop_config.json file:
{
"mcpServers": {
"blockscout": {
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"sparfenyuk/mcp-proxy:latest",
"--transport",
"streamablehttp",
"--headers",
"Blockscout-MCP-Pro-Api-Key",
"<YOUR_BLOCKSCOUT_PRO_API_KEY>",
"--headers",
"Blockscout-MCP-Intermediary",
"ClaudeDesktop",
"https://mcp.blockscout.com/mcp"
]
}
}
}
claude mcp add --transport http blockscout https://mcp.blockscout.com/mcp \
--header "Blockscout-MCP-Pro-Api-Key: <YOUR_BLOCKSCOUT_PRO_API_KEY>"
Install the Blockscout app from the ChatGPT Apps marketplace (or search for "Blockscout" in the Apps directory), then click "Connect" to enable it for your ChatGPT account.
Limitations: Access may be limited if using a shared PRO API key.
Blockscout, select the Streamable HTTP tab, and set URL to https://mcp.blockscout.com/mcp.Blockscout-MCP-Pro-Api-Key and value <YOUR_BLOCKSCOUT_PRO_API_KEY>.Codex CLI cannot attach a custom header from the command line, so configure it in two steps:
Scaffold the server entry:
codex mcp add Blockscout --url https://mcp.blockscout.com/mcp
Edit ~/.codex/config.toml to add the PRO API key header and enable the streamable-HTTP MCP client (required for remote MCP servers to connect). The resulting configuration should look like this:
[features]
experimental_use_rmcp_client = true
[mcp_servers.Blockscout]
url = "https://mcp.blockscout.com/mcp"
http_headers = { "Blockscout-MCP-Pro-Api-Key" = "<YOUR_BLOCKSCOUT_PRO_API_KEY>" }
Add the server to your Cursor MCP configuration — either the project-level .cursor/mcp.json or the global ~/.cursor/mcp.json — supplying your PRO API key via the Blockscout-MCP-Pro-Api-Key header:
{
"mcpServers": {
"blockscout": {
"url": "https://mcp.blockscout.com/mcp",
"timeout": 180000,
"headers": {
"Blockscout-MCP-Pro-Api-Key": "<YOUR_BLOCKSCOUT_PRO_API_KEY>"
}
}
}
}
Experience the power of the Blockscout MCP server through our showcase GPT: Blockscout X-Ray
This GPT demonstrates the full capabilities of the MCP server, providing intelligent blockchain analysis and insights. It's a great way to explore what's possible when AI agents have contextual access to blockchain data.
/mcp: The primary endpoint for MCP communication (JSON-RPC 2.0)./health: A simple health check endpoint./llms.txt: A machine-readable file for AI crawlers./v1/...: Versioned REST API endpoints that mirror MCP tool functionality.__unlock_blockchain_analysis__: Provides custom instructions for the MCP host.get_chains_list: Returns a list of supported chains, with optional filtering by name, chain ID, native currency, or ecosystem.get_address_by_ens_name: Converts an ENS name to its Ethereum address.lookup_token_by_symbol: Searches for tokens by symbol.get_contract_abi: Retrieves the ABI for a smart contract.inspect_contract_code: Inspects a verified contract's source code.get_address_info: Gets comprehensive information about an address.get_tokens_by_address: Returns ERC20 token holdings for an address.get_block_number: Retrieves the block number and timestamp for a specific date/time or the latest block.get_transactions_by_address: Gets transactions for an address.get_token_transfers_by_address: Returns ERC-20 token transfers for an address.nft_tokens_by_address: Retrieves NFT tokens owned by an address.get_block_info: Returns detailed block information.get_transaction_info: Gets comprehensive transaction information.read_contract: Executes a read-only smart contract function.direct_api_call: Calls a curated raw Blockscout API endpoint.For more details, please refer to the project's GitHub repository.