@xiaok/etherscan-mcp
A dynamic MCP server for interacting with Etherscan's API and services.
Running Your Server
Test with mcp-cli
The fastest way to test and debug your server is with fastmcp dev:
npx fastmcp dev src/index.ts
This will run your server with mcp-cli for testing and debugging your MCP server in the terminal.
Inspect with MCP Inspector
Another way is to use the official MCP Inspector to inspect your server with a Web UI:
npx npx fastmcp inspect src/index.ts
FAQ
How to use with Claude Desktop?
Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:
{
"mcpServers": {
"etherscan_mcp": {
"command": "npx",
"args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"],
"env": {
"ETHERSCAN_API_KEY": "********"
}
}
}
}
API Doc
https://docs.etherscan.io/etherscan-v2
support chain list: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains
Please note that not all endpoints are supported by all chains. Please find support list here: https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI
TODO
- support pro api
Recommend MCP Servers 💡
sanxxit/AWS-cost-explorer-with-MCP-server
An MCP server for accessing AWS Cost Explorer and Amazon Bedrock usage data through Anthropic's Model Control Protocol
stocks-mcp
A simple MCP server for fetching stock information from Google Finance
ant-intl-alipayplus-mcp
A Model Context Protocol (MCP) compatible server that integrates Ant International's AlipayPlus payment APIs, enabling AI assistants to handle payment and refund operations seamlessly.
@narumiruna/yfinance-mcp
A simple MCP server for Yahoo Finance using [yfinance](https://github.com/ranaroussi/yfinance). This server provides a set of tools to fetch stock data, news, and other financial information.
Trade Agent
Trade Agent is an AI-powered platform that allows users to execute stock and crypto trades instantly using natural language commands across various communication channels like DMs, social feeds, and AI chats, integrating seamlessly with major brokerages.
raydium-launchlab
An MCP server that enables AI agents to launch, buy, and sell tokens on the Raydium Launchpad(aka LaunchLab).