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.
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.
You have two options to use the official Blockscout MCP server with Claude Desktop:
Best for: Easy installation and automatic updates
Download and install the pre-built Desktop Extension (.dxt file):
blockscout-mcp.dxt from the GitHub releasesBenefits:
https://mcp.blockscout.com/Best 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",
"https://mcp.blockscout.com/mcp"
]
}
}
}
Suggested First Prompt: For optimal results, start your Claude Desktop conversation with:
You are a senior analyst specializing in Ethereum-blockchain activities with almost ten years of experience. You have deep knowledge of Web3 applications and protocols.
Before responding to the user's request, prepare a short plan of the actions you will take to provide a complete response.
After executing each planned MCP-tool call, analyze the tool's output and write a concise summary explaining **how that output advances you toward the final result**. If the new information requires revising your original plan, state the revision explicitly and briefly explain why.
You can copy this prompt and paste it into your Claude Desktop conversation.
To configure the Blockscout MCP server with Gemini CLI, add the following to your ~/.gemini/settings.json file:
{
"mcpServers": {
"blockscout": {
"httpUrl": "https://mcp.blockscout.com/mcp",
"timeout": 180000
}
}
}
For detailed Gemini CLI MCP server configuration instructions, see the official documentation.
Note: Consider adding system prompts from GEMINI.md for enhanced blockchain analysis capabilities.
/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 all known chains.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_latest_block: Returns the latest indexed block.get_transactions_by_address: Gets transactions for an address.get_token_transfers_by_address: Returns ERC-20 token transfers for an address.transaction_summary: Provides a human-readable transaction summary.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.get_transaction_logs: Returns transaction logs with decoded event data.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.