Explore Ethereum blockchain data tools including balances, transactions, ERC20 transfers, contract ABIs, gas prices, and ENS resolution
The MCP (Model Context Protocol) Etherscan Server is an essential component for integrating real-time Ethereum blockchain data into various AI applications. This server leverages Etherscan's API to provide a suite of tools that can be accessed via the Model Context Protocol, enabling seamless communication with AI clients like Claude Desktop, Continue, and Cursor.
This server excels in providing comprehensive Ethereum blockchain data tools, including balance checking, transaction history viewing, ERC20 token transfers tracking, contract ABI fetching, monitoring gas prices, and resolving ENS names. Each feature is exposed through MCP endpoints, making it easy for AI applications to interact with these data points and streamline their workflows.
These features are designed to be compatible with AI applications, providing them with the flexibility to work with blockchain data as needed.
The MCP Etherscan Server is built using Node.js and implements the Model Context Protocol for communication. It seamlessly integrates into the broader ecosystem of AI tools by allowing users to connect and utilize blockchain data without needing deep technical expertise.
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
For developers, this matrix indicates which specific tools and features are supported by each MCP client.
git clone [your-repo-url]
cd mcp-etherscan-server
npm install
.env
file in the root directory with your Etherscan API key.npm run build
AI financial applications can use this server to check and update user balances in real time, ensuring accurate account information.
Compliance systems can continuously monitor transaction history for suspicious activities, providing a layer of security and transparency.
Crypto auditors need to track token transfers for auditing purposes. This server provides the necessary tools to trace these transactions.
To integrate this server into an AI application like Claude Desktop:
npm start
.{
"name": "Etherscan Tools",
"transport": "stdio",
"command": "node /path/to/mcp-etherscan-server/build/index.js"
}
Check the balance of 0x742d35Cc6634C0532925a3b844Bc454e4438f44e
or
Show me recent transactions for vitalik.eth
The performance of the MCP Etherscan Server ensures fast and reliable data retrieval, making it suitable for high-frequency applications. The server is compatible with multiple clients such as Claude Desktop, Continue, and Cursor.
graph TD
A[AI Application] -->|MCP Client| B[MCP Protocol]
B --> C[MCP Server]
C --> D[Data Source/Tool]
style A fill:#e1f5fe
style C fill:#f3e5f5
style D fill:#e8f5e8
{
"mcpServers": {
"etherscan-tools": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-etherscan"],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}
Using environment variables ensures that sensitive API keys are securely managed. Ensure that API keys are not hard-coded within the application.
src/server.ts
file and building the project again.Contributions are welcome! If you're interested in contributing:
npm run build
.For more information about MCP Protocol and other relevant resources:
By integrating the MCP Etherscan Server into your AI application, you can significantly enhance its capabilities through robust and reliable blockchain data tools.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods