evm-gateway-mcp
Provides tools for interacting with Ethereum/EVM blockchains: resolving ENS names, tracking gas prices, fetching native ETH and ERC-20 token balances, and retrieving verified smart contract ABIs from Etherscan.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
evm-gateway-mcp
Give your AI Agent the eyes to see the Ethereum Blockchain.
evm-gateway-mcp is a Model Context Protocol (MCP) server that lets AI agents (such as Claude Desktop) interact with EVM-compatible blockchains.
It gives agents practical blockchain awareness by exposing tools for ENS resolution, gas tracking, wallet/token balances, and smart contract ABI retrieval from Etherscan.
β¨ Key Features
ENS Resolution: Resolve
.ethnames to addresses and perform reverse lookup from address to ENS.Gas Tracker: Read current gas price and classify network conditions (
LOW/NORMAL/HIGH).Portfolio Tracking: Fetch native ETH balances and ERC-20 token balances.
Smart Contract Analysis: Pull verified contract ABIs directly from Etherscan.
Related MCP server: MCP Etherscan Server
π Quick Start
Prerequisites
Node.js
v20+An Etherscan API key
An Ethereum RPC endpoint URL
Installation
npm install
npm run buildConfiguration
Copy .env.example to .env and fill in your values:
cp .env.example .env# .env
ETHERSCAN_API_KEY=your_etherscan_api_key
RPC_URL=https://mainnet.infura.io/v3/your_project_idπ Usage with Claude Desktop
Build once, then point Claude Desktop to the compiled server entry:
{
"mcpServers": {
"evm-gateway-mcp": {
"command": "node",
"args": ["/absolute/path/to/evm-gateway-mcp/dist/index.js"],
"env": {
"ETHERSCAN_API_KEY": "your_etherscan_api_key",
"RPC_URL": "https://mainnet.infura.io/v3/your_project_id"
}
}
}
}Use this in your local claude_desktop_config.json.
π‘οΈ Development & Testing
This project is built with a TDD (Test Driven Development) workflow. Unit tests are fully mocked (no live RPC or Etherscan calls), so they run offline and deterministically.
npm testTech Stack
TypeScript
viem
@modelcontextprotocol/sdk
Vitest
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
This server cannot be deployed
Maintenance
Related MCP Connectors
EVM chain reads for agents: balances, gas, fees, blocks, txs, logs, ENS. 15 tools, x402 per call.
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
Read-only on-chain intelligence for AI agents on Base: balances, tokens, gas, tx status.
Verified EVM, Aptos and finance tools for AI agents; gas for 14 chains. Pay per call (x402).
Related MCP Servers
- AlicenseAqualityDmaintenanceFacilitates interaction with Ethereum blockchain data via Etherscan's API, providing real-time access to balances, transactions, token transfers, contract ABIs, gas prices, and ENS name resolutions.613 npm30MIT
- AlicenseAqualityDmaintenanceProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check ETH balances, view transactions, track token transfers, fetch contract ABIs, monitor gas prices, and resolve ENS names.61MIT
- AlicenseAqualityDmaintenanceProvides Ethereum blockchain data tools via Etherscan's API, enabling users to check balances, view transactions, track token transfers, fetch contract ABIs and code, monitor gas prices, and resolve ENS names.7MIT
- FlicenseNot gradedqualityDmaintenanceProvides AI agents with 71 tools to query Etherscan's blockchain analytics via the Etherscan API, with no authentication required.-