mcp-ethers-server
A full implementation of Ethers as an AI tool for the model context protocol
Documentation
MCP Ethers Server
โก Claude Code Setup:
claude mcp add ethers-wallet -- node /path/to/ethers-server/build/src/index.jsA complete ethers.js v6 wrapper for Claude with 40+ tools for Ethereum blockchain interactions. Works with 20+ EVM networks including Ethereum, Polygon, Arbitrum, Base, and more.
Tool Categories
๐ Core Ethereum
Network info โข Block/transaction data โข Wallet operations โข Gas estimation โข ENS resolution โข Message signing โข Unit conversion
๐ช Token Standards
ERC20: Token info, balances, transfers, approvals
ERC721: NFT info, ownership, transfers, metadata
ERC1155: Multi-token balances, transfers, batch operations
๐ Transaction Management
Transaction preparation โข ERC20/721/1155 transaction prep โข Secure transaction broadcasting โข Gas optimization
๐ง Contract Interaction
Smart contract calls โข Contract code inspection โข Custom ABI support
Quick Example
# Get Vitalik's ETH balance
"getWalletBalance": {
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"provider": "mainnet"
}
# Get USDC token info
"erc20GetTokenInfo": {
"tokenAddress": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"provider": "mainnet"
}Installation
git clone https://github.com/yourusername/ethers-server.git
cd ethers-server
npm install
npm run buildEnvironment Variables
Create `.env` file:
ALCHEMY_API_KEY=your_alchemy_key
INFURA_API_KEY=your_infura_key
DEFAULT_NETWORK=mainnetAdvanced Setup
Local Project
claude mcp add --scope local ethers-wallet --env ALCHEMY_API_KEY=your_key -- node /path/to/build/src/index.jsShared Team Config
claude mcp add --scope project ethers-wallet -- node /path/to/build/src/index.jsSecurity
๐ Secure by Design: Uses prepare โ sign โ send workflow. Private keys never stored on server. External signing supported (hardware wallets, offline signing).
โ ๏ธ API Keys: Protect your `.env` file. Never expose Alchemy/Infura keys.
Development
Built with ethers.js v6 for maximum compatibility and performance. Full TypeScript support with comprehensive error handling.
Testing: `npm test` (requires Hardhat local node)
Build: `npm run build`
Contributing
Contributions welcome! See our comprehensive test suite and follow existing code patterns.
License
MIT License - Dennison Bertram (dennison@tally.xyz)
๐ Production Ready: Successfully validated with live Ethereum mainnet transactions. Complete MCP server with 40+ tools for all your Web3 needs.
Frequently asked questions
What is mcp-ethers-server?
mcp-ethers-server is A full implementation of Ethers as an AI tool for the model context protocol
How do I install mcp-ethers-server?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is mcp-ethers-server open source?
Yes โ it is hosted on GitHub at https://github.com/crazyrabbitltc/mcp-ethers-server and has 11 stars.
Related MCP tools
๐ Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
๐ฆ Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation โข (~400 MCP servers for AI agents) โข AI Automation / AI Agent with MCPs โข AI Workflows & AI Agents โข MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP