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. The server also accepts the key in an x-api-key header for clients that can only send header names from a fixed list, such as Claude Custom Connectors.
Blockscout-MCP-Pro-Api-Key header. If your client cannot set that name, use x-api-key instead; when both are present, Blockscout-MCP-Pro-Api-Key wins.The official hosted server gives you a native, managed installation experience with automatic updates. Add it as a Custom Connector with your own PRO API key:
Blockscout and the URL to https://mcp.blockscout.com/mcp, then continue.None. A warning that the connector has no credentials is expected.x-api-key (exactly this name) and paste your PRO API key as the value, then click Add.Note: The Request headers section is in beta. If your dialog does not show it, install the Blockscout connector from the Anthropic Connectors Directory instead. It uses a shared access key, so access and capabilities may be restricted.
Note: Authentication settings cannot be edited after a connector is added. To change the key, remove the connector and add it again.
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>"
}
}
}
}
/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__: Initializes the session: returns server reference data, the blockscout-analysis skill pointer, and the URI resolution rule. Call it once per session, before any other tool.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.