MCP.so
登录

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.

基本信息

分类

开发工具

许可证

MIT

运行时

node

传输方式

stdio

发布者

crazyrabbitLTC

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

12

Ethereum 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.

评论

开发工具 分类下的更多 MCP 服务器