@xiaok/etherscan-mcp

by xiaok

18 stars
177 downloads
Not rated
GitHub

About

Interact with the Etherscan API to explore blockchain data and services.

Details

Author
xiaok
GitHub stars
18
Downloads
177
Categories
Cloud Service, Other, Finance

- Integrates with Etherscan’s API via the MCP protocol
- Testable and debuggable with mcp-cli
- Inspectable through the official MCP Inspector
- Supports multiple blockchains (see

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name @xiaok/etherscan-mcp
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Run npx fastmcp dev src/index.ts to test with mcp-cli, or npx fastmcp inspect src/index.ts to inspect with the MCP Inspector. For use with Claude Desktop, add the server configuration to your Claude Desktop settings, specifying the command npx tsx /PATH/TO/YOUR_PROJECT/src/index.ts and the environment variable ETHERSCAN_API_KEY.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "@xiaok/etherscan-mcp": {
            "etherscan-mcp": {
                "command": "npx",
                "args": [
                    "fastmcp",
                    "dev",
                    "src/index.ts"
                ]
            }
        }
    }
}

McpServers

{
    "etherscan-mcp": {
        "command": "npx",
        "args": [
            "fastmcp",
            "dev",
            "src/index.ts"
        ]
    }
}

A dynamic MCP server for interacting with Etherscan's API and services.

The fastest way to test and debug your server is withfastmcp dev:

This will run your server withmcp-clifor testing and debugging your MCP server in the terminal.

Another way is to use the officialMCP Inspectorto inspect your server with a Web UI:

Follow the guidehttps://modelcontextprotocol.io/quickstart/userand add the following configuration:

{ "mcpServers": { "etherscan_mcp": { "command": "npx", "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"], "env": { "ETHERSCAN_API_KEY": "**" } } } }

support chain list:https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains

Please note that not all endpoints are supported by all chains. Please find support list here:https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI

Interact with BNB Chain and other EVM-compatible networks using natural language and AI assistance.

Blockchain RPC via DRPC. Exposes eth_call, eth_getBalance, gas estimation, and other JSON-RPC methods as MCP tools across 100+ blockchains

On-chain token verification across 31 blockchains. 16 tools for ECDSA-signed attestations, discount codes, merchant discovery, and autonomous onboarding.

MCP to interface with multiple blockchains, staking, DeFi, swap, bridging, wallet management, DCA, Limit Orders, Coin Lookup, Tracking and more.

Access blockchain data like balances, tokens, and NFTs from Blockscout APIs. Supports multi-chain and progress notifications.

Read/write to over 2k blockchains, enabling data querying, contract analysis/deployment, and transaction execution, powered by Thirdweb.

Non-custodial stablecoin yield. Stablecoin Yield Index (SYX) + 12 USDC vault APYs across Ethereum, Base, Arbitrum.

Bitcoin-native MCP server for AI agents: BTC/STX wallets, DeFi yield, sBTC peg, NFTs, and x402 payments.

Live cross-DEX crypto prices read from on-chain pool state: per-venue price, liquidity depth and gross cross-venue spread across BSC, Polygon, Arbitrum, Base, Avalanche and Optimism. Works keyless, no account.

MCP server for Base L2 DeFi operations with 9 monetized endpoints: gas estimates, yield farming, token analysis, contract audit, wallet health, DEX quotes, price feeds, mnemonic generation. Built with FastMCP Python SDK.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.