Skip to main content
Glama

MCP Ethers Server

⚑ Claude Code Setup:

claude mcp add ethers-wallet -- node /path/to/ethers-server/build/src/index.js

A 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

Related MCP server: EVM MCP Server

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 build

Environment Variables

Create .env file:

ALCHEMY_API_KEY=your_alchemy_key
INFURA_API_KEY=your_infura_key
DEFAULT_NETWORK=mainnet

Advanced Setup

Local Project

claude mcp add --scope local ethers-wallet --env ALCHEMY_API_KEY=your_key -- node /path/to/build/src/index.js

Shared Team Config

claude mcp add --scope project ethers-wallet -- node /path/to/build/src/index.js

Security

πŸ” 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.

Install Server
A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/crazyrabbitLTC/mcp-ethers-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server