Labsco
JamesANZ logo

evm-mcp

โ˜… 2

from JamesANZ

An MCP server that provides complete access to Ethereum Virtual Machine (EVM) JSON-RPC methods. Works with any EVM-compatible node provider including Infura, Alchemy, QuickNode, local nodes, and more.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedAccount requiredNeeds API keys

โ›ฝ EVM MCP Server

Complete EVM JSON-RPC access in your AI workflow. Query any EVM-compatible network (Ethereum, Polygon, Arbitrum, Optimism, BSC, and more) through any node provider. Works with Infura, Alchemy, QuickNode, local nodes, and more.

An MCP (Model Context Protocol) server that provides comprehensive access to Ethereum Virtual Machine (EVM) JSON-RPC methods for AI coding environments like Cursor and Claude Desktop.

Why Use EVM MCP?

  • ๐ŸŒ Any EVM Network โ€“ Ethereum, Polygon, Arbitrum, Optimism, BSC, Avalanche, and more
  • ๐Ÿ”Œ Any Node Provider โ€“ Infura, Alchemy, QuickNode, local nodes, or custom RPC
  • ๐Ÿ“Š 20+ RPC Methods โ€“ Complete access to blockchain data, transactions, and contracts
  • โšก Easy Setup โ€“ One-click install in Cursor or simple manual setup
  • ๐Ÿ”ง Flexible Configuration โ€“ Works with any JSON-RPC compatible endpoint

Features

๐Ÿ”ข Blockchain Data

  • eth_blockNumber โ€“ Get latest block number
  • eth_getBalance โ€“ Get account balance
  • eth_getTransactionCount โ€“ Get transaction count (nonce)
  • eth_getBlockByNumber โ€“ Get block information
  • eth_getTransactionByHash โ€“ Get transaction details
  • eth_getTransactionReceipt โ€“ Get transaction receipt
  • eth_getCode โ€“ Get contract bytecode
  • eth_getStorageAt โ€“ Get storage value

๐Ÿ”„ Transactions

  • eth_call โ€“ Execute contract call
  • eth_estimateGas โ€“ Estimate gas for transaction
  • eth_sendRawTransaction โ€“ Send signed transaction
  • eth_gasPrice โ€“ Get current gas price

๐Ÿ“Š Events & Logs

  • eth_getLogs โ€“ Get event logs

๐ŸŒ Network

  • list_supported_networks โ€“ List configured networks and providers
  • list_known_addresses โ€“ List configured wallet aliases and known token/contract addresses
  • eth_chainId โ€“ Get chain ID
  • net_version โ€“ Get network version
  • net_listening โ€“ Check if listening
  • net_peerCount โ€“ Get peer count

๐ŸŒ Web3

  • web3_clientVersion โ€“ Get client version
  • web3_sha3 โ€“ Hash data with Keccak-256

Use Cases

  • Blockchain Analytics โ€“ Query transaction data, balances, and contract states
  • DeFi Applications โ€“ Monitor token balances, transaction receipts, and smart contract calls
  • NFT Projects โ€“ Track transfers, metadata, and collection statistics
  • Development Tools โ€“ Debug transactions, estimate gas, and test smart contracts
  • Monitoring โ€“ Watch for specific events and transaction patterns
  • Research โ€“ Analyze blockchain data across multiple EVM networks

Technical Details

Built with: Node.js, TypeScript, MCP SDK, Ethers.js
Dependencies: @modelcontextprotocol/sdk, ethers, zod
Platforms: macOS, Windows, Linux

Environment Variables: See Configuration above.

Support

If you find this project useful, consider supporting it:

โšก Lightning Network

lnbc1pjhhsqepp5mjgwnvg0z53shm22hfe9us289lnaqkwv8rn2s0rtekg5vvj56xnqdqqcqzzsxqyz5vqsp5gu6vh9hyp94c7t3tkpqrp2r059t4vrw7ps78a4n0a2u52678c7yq9qyyssq7zcferywka50wcy75skjfrdrk930cuyx24rg55cwfuzxs49rc9c53mpz6zug5y2544pt8y9jflnq0ltlha26ed846jh0y7n4gm8jd3qqaautqa

โ‚ฟ Bitcoin: bc1ptzvr93pn959xq4et6sqzpfnkk2args22ewv5u2th4ps7hshfaqrshe0xtp

ฮž Ethereum/EVM: 0x42ea529282DDE0AA87B42d9E83316eb23FE62c3f