MCP.so
ログイン

Etherscan MCP Server

@huahuayu

基本情報

カテゴリ

その他

トランスポート

stdio

作者

huahuayu

投稿者

Shiming Liu

Etherscan MCP Server について

etherscan v2 api mcp server

Etherscan MCP Server の設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

{
  "mcpServers": {
    "etherscan-mcp-server": {
      "command": "etherscan-mcp-server",
      "env": {
        "ETHERSCAN_API_KEY": "$your_etherscan_api_key"
      }
    }
  }
}

Etherscan MCP Server のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is Etherscan MCP Server?

Etherscan MCP Server is a Go implementation of an Etherscan API client for the Model Context Protocol (MCP). It enables LLM applications to access blockchain data from over 50 supported chains via a single Etherscan API key.

How to use Etherscan MCP Server?

Set the ETHERSCAN_API_KEY environment variable, build with make build, and run the server in default stdin/stdout mode or SSE mode with --sse. Provide the server configuration in your MCP client’s JSON settings.

Key features of Etherscan MCP Server

  • Access Etherscan API V2 for multi-chain support
  • Single API key for 50+ supported chains
  • Supports account balances, block info, and contract data
  • Provides gas oracle, token, and transaction data
  • Operates in stdin/stdout or SSE transport modes
  • Includes 19 structured blockchain data tools

Use cases of Etherscan MCP Server

  • Query ETH balances and token holdings for any address
  • Retrieve contract source code and ABI for verified contracts
  • Monitor pending transactions and gas prices on Ethereum
  • Track token transfers and NFT holdings across chains
  • Compare gas usage and activity between different L2s

よくある質問

1

What API key is needed?

You must obtain an Etherscan API key from [etherscan.io/myapikey](https://etherscan.io/myapikey) and set it as the `ETHERSCAN_API_KEY` environment variable.

2

What chains does the server support?

It supports over 50 chains via Etherscan API V2. See the [supported chains list](https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains) for details.

3

How does the server communicate with clients?

Two modes are available: default stdin/stdout for direct MCP integration, and SSE mode with `--sse` that listens on HTTP (default port 4000).

4

Can I use it with Cursor or similar tools?

Yes. Configure it under `mcpServers` in your editor’s MCP settings JSON, setting the command or URL and passing `ETHERSCAN_API_KEY` as an environment variable.

5

Are there any runtime dependencies besides the API key?

The only required dependency is an Etherscan API key. The server is built from Go source, but no Go runtime is needed after building the binary.

コメント

「その他」の他のコンテンツ