MCP.so
登录

MCP Etherscan Server

@crazyrabbitLTC

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

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.

MCP Etherscan Server 配置

暂无标准配置

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

代码仓库

MCP Etherscan Server 工具

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

常见问题

1

What are the prerequisites to run MCP Etherscan Server?

Node.js version 18 or higher and a valid Etherscan API key are required.

2

How do I get an Etherscan API key?

You can obtain a free API key by signing up at https://etherscan.io/apis.

3

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.

4

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

5

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 服务器