MCP Etherscan Server
@crazyrabbitLTC
MCP Etherscan Server について
An MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. Features include checking ETH balances, viewing transaction history, tracking ERC20 transfers, fetching contract ABIs, monitoring gas prices, and resolving ENS names.
基本情報
設定
ツール
12Ethereum address
ETH balance in both Wei and ETH
Ethereum address, optional limit
Recent transactions with timestamps, values, and addresses
Ethereum address, optional limit
Recent ERC20 token transfers with token details
Contract address
Contract ABI in JSON format
None
Current gas prices in Gwei
Ethereum address
Associated ENS name if available
概要
What is MCP Etherscan Server?
MCP Etherscan Server is an MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. It is designed for developers and users who need to query on-chain information such as ETH balances, transaction history, ERC20 transfers, contract ABIs, gas prices, and ENS names through MCP-compatible clients like Claude Desktop.
How to use MCP Etherscan Server?
Install Node.js >=18, obtain an Etherscan API key from https://etherscan.io/apis, clone the repository, run npm install, create a .env file with ETHERSCAN_API_KEY=your_key, then build with npm run build and start with npm start. The server runs on stdio and can be added to Claude Desktop by configuring a new MCP server with the command node /path/to/build/index.js.
Key features of MCP Etherscan Server
- Check ETH balance for any Ethereum address
- View recent transactions with timestamps and values
- Track ERC20 token transfers with token details
- Fetch smart contract ABIs in JSON format
- Monitor current gas prices (Safe Low, Standard, Fast)
- Resolve Ethereum addresses to ENS names
Use cases of MCP Etherscan Server
- Querying an address’s ETH balance during a conversation
- Reviewing recent transaction history for an address or ENS name
- Retrieving a contract ABI for development or debugging
- Checking current gas prices before submitting a transaction
- Resolving an Ethereum address to its ENS name
FAQ from MCP Etherscan Server
What are the prerequisites to run MCP Etherscan Server?
Node.js version 18 or higher and a valid Etherscan API key are required.
How do I get an Etherscan API key?
You can obtain a free API key by signing up at https://etherscan.io/apis.
How do I run the server after installation?
Run npm start from the project root. The server will listen on stdio and is ready to be used by MCP clients.
What tools does MCP Etherscan Server expose?
It exposes six tools: check-balance, get-transactions, get-token-transfers, get-contract-abi, get-gas-prices, and get-ens-name.
How do I use MCP Etherscan Server with Claude Desktop?
Start the server, then in Claude Desktop go to Settings → MCP Servers → Add Server, and enter the configuration with transport stdio and command pointing to the built index.js file.
「開発者ツール」の他のコンテンツ
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
DevDocs by CyberAGI 🚀
cyberagiincCompletely free, private, UI based Tech Documentation MCP server. Designed for coders and software developers in mind. Easily integrate into Cursor, Windsurf, Cline, Roo Code, Claude Desktop App
Serena
oraiosA powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent
コメント