Blockscout MCP Server

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.

Key Features

Configuration

Claude Desktop Setup

To use the official Blockscout MCP server with Claude Desktop, 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.

Gemini CLI Setup

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.

Available Endpoints

Available Tools (via MCP and REST API)

For more details, please refer to the project's GitHub repository.