
Etherscan Mcp Server
io.github.friendlygeorge由 GitHub 帳號 friendlygeorge 發布v1.0.0更新於 Oct 24, 2026
MCP server for Etherscan — Ethereum blockchain explorer API for AI assistants
發布方自己的服務:Etherscan
概覽
一個本機 MCP 伺服器,讓助理以唯讀方式存取 Etherscan 的以太坊資料:餘額、交易、代幣轉帳、合約 ABI 與 Gas 價格。
- 可以做什麼
- 查詢地址的原生 ETH 餘額與所有 ERC-20 代幣餘額,以及目前 Gas 價格估算(慢速、標準、快速)。依雜湊取得單筆交易詳情,或列出某地址的一般交易、內部交易與 ERC-20 轉帳紀錄。取得已驗證智慧合約的 ABI,查看其函式與事件。結果以易讀的 Markdown 回傳,並自動限速、遇到 429 時重試。
- 適用情境
- 適合在不離開對話的情況下檢視錢包、追蹤鏈上活動與資金流向、在送出交易前了解 Gas 成本,或理解已驗證合約的介面。它是唯讀的,適合分析與稽核,而不是送出交易。
- 執行需求
- 透過 npx 在本機執行,需要 Node.js 18+ 與 npm。不需 API 金鑰,但沒有金鑰時 Etherscan 限制約為每 5 秒 1 次呼叫;設定 ETHERSCAN_API_KEY 環境變數可提高到約每秒 5 次。需要能連線到 Etherscan API 的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Etherscan Mcp Server,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Etherscan MCP Server
An MCP server for Etherscan — connect any MCP-compatible client to the Ethereum blockchain explorer.
[npm version] [npm downloads] [License: MIT] [MCP Compatible] [TypeScript] [Claude Desktop] [Cursor]
What is this?
An MCP (Model Context Protocol) server that gives AI assistants and agents access to Etherscan's Ethereum blockchain explorer API — ETH balances, ERC-20 token balances, transaction history, contract ABIs, and gas prices — through natural language.
Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to inspect wallets, audit contracts, and analyze on-chain activity.
Why use this?
- No API key required — works out of the box with Etherscan's free tier (limited to ~1 call/5s without a key)
- Optional API key support — set
ETHERSCAN_API_KEYfor 5 calls/sec and full results - 8 built-in tools — covers the most common on-chain queries
- Clean markdown output — results read naturally in chat
- Rate-limited automatically — respects free tier limits, retries on 429
Tools
Quick Start
1. Add to your MCP client
Add this to your MCP client config (e.g. claude_desktop_config.json):
That's it. npx downloads and runs it automatically. For higher rate limits, get a free API key at etherscan.io/apis and add it:
2. Use it
Ask your AI assistant things like:
- "What's the ETH balance of vitalik.eth's address
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?" - "Show me the ERC-20 token balances for that address"
- "Get details for transaction
0x..." - "List the last 20 normal transactions for this address"
- "Show me all USDT transfers to this wallet"
- "Fetch the ABI for the USDC contract
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" - "What are current gas prices on Ethereum mainnet?"
Example Output
get_eth_balance
get_gas_price
get_transactions_by_address
get_contract_abi
Use Cases
Wallet Inspection
"Check the ETH and token balances of this address" — get a snapshot of any wallet's holdings in seconds. Works with any Ethereum address, including smart contract wallets and multisigs.
Transaction Forensics
"Show me the last 20 transactions for this address" — trace on-chain activity, identify counterparties, and understand fund flows. Use get_internal_transactions for contract calls and get_erc20_transfers for token movements.
Smart Contract Analysis
"Get the ABI for the Uniswap Router contract" — fetch verified contract ABIs to understand what functions are available. Essential for debugging failed transactions or understanding how a protocol works.
Gas Optimization
"What are current gas prices?" — get slow/standard/fast gas estimates with projected transaction costs. Time your transactions to save on fees.
DeFi Portfolio Tracking
"Show me all token balances for my wallet" — aggregate holdings across ERC-20 tokens. Combine with get_prices from the CoinGecko MCP server for full portfolio valuation.
Security Auditing
"List all internal transactions for this contract" — trace internal calls to understand contract behavior. Useful for identifying unusual patterns or verifying that a contract does what it claims.
Security
- No API key required — works with Etherscan's free tier. Optional API key for higher rate limits.
- Read-only — only fetches public blockchain data from Etherscan's API. No writes, no mutations.
- No local file access — does not read or write any files on your machine.
- No shell access — does not execute commands or spawn processes.
- Rate-limited — automatically caps requests to stay within free tier limits.
- Open source — MIT licensed. Inspect the code at GitHub.
Troubleshooting
"API key required" or very slow responses
Without an API key, Etherscan limits you to 1 call per 5 seconds. Get a free key at etherscan.io/apis and set the ETHERSCAN_API_KEY environment variable for 5 calls/sec.
"Rate limit exceeded" (429)
The server auto-retries on 429, but rapid queries can still hit limits. With a free API key, you get 5 calls/sec. Space requests ~200ms apart for best results.
"Contract not found" or empty ABI
Only verified contracts have ABIs on Etherscan. If a contract isn't verified, the API returns an error. Check the contract's verification status on etherscan.io first.
Server won't start
Make sure Node.js 18+ is installed: node --version. If using npx, ensure npm is up to date: npm install -g npm@latest.
MCP client can't connect
Verify the config path is correct. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart the client after config changes.
"Address checksum" errors
Etherscan expects checksummed addresses (mixed case). The server handles this automatically, but if you see errors, try the checksummed version from etherscan.io.
Requirements
- Node.js 18+
- Etherscan API key (recommended) — get a free one at etherscan.io/apis
Rate Limits
The server automatically rate-limits requests to ~4 calls/second to stay within Etherscan's free tier (5 calls/sec). Without an API key, Etherscan limits you to 1 call/5 seconds.
To use a higher limit, sign up for a free Etherscan API key and set the ETHERSCAN_API_KEY environment variable:
Development
License
MIT
來源:README.md,提交 ceb3ec5
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Etherscan 整合
Etherscan
io.etherscan官方發布者
唯讀的 Etherscan V2 區塊鏈資料伺服器,讓助理查詢以太坊餘額、交易、代幣轉帳、合約、日誌和 Gas 價格。

Etherscan Mcp
由 GitHub 帳號 mrfentmen 發布
本機 MCP 伺服器,讓助理透過 Etherscan v2 API 查詢以太坊餘額、交易與 ERC-20 轉帳。

Etherscan
由 GitHub 帳號 pipeworx-io 發布
Etherscan MCP — multichain block-explorer API (Etherscan V2)

Etherscan Api Mcp
由 GitHub 帳號 junct-bot 發布
一個託管式 MCP 伺服器,提供 71 個 Etherscan 工具,讓助理無需 API 金鑰即可查詢區塊鏈資料、指標與鏈上分析。