Ethereum RPC
A TypeScript MCP server that leverages the MCP SDK to support all Ethereum JSON-RPC calls, enabling AI models to interact with blockchain data.
What is Ethereum RPC?
Ethereum RPC is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to typescript mcp server that leverages the mcp sdk to support all ethereum json-rpc calls, enabling ai models to interact with blockchain data.
A TypeScript MCP server that leverages the MCP SDK to support all Ethereum JSON-RPC calls, enabling AI models to interact with blockchain data.
This server falls under the APIs category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A TypeScript MCP server that leverages the MCP SDK to suppor
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx ethereum-rpc-mpcConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Ethereum RPC
The Ethereum RPC MCP server is a TypeScript-based server that exposes all Ethereum JSON-RPC methods to AI models through the Model Context Protocol, enabling natural language queries against blockchain data including block numbers, address balances, smart contract detection, and transaction details. It supports any EVM-compatible RPC endpoint and includes special support for Zircuit (chain ID 48900) with quarantine-specific methods. Blockchain developers and data analysts use it to query on-chain data and analyze smart contracts through their AI assistant without writing raw JSON-RPC calls.
Prerequisites
- Node.js 18 or later and npm/yarn installed
- An Ethereum or EVM-compatible RPC URL (e.g. from Alchemy, Infura, or a public endpoint like https://eth.llamarpc.com)
- An MCP-compatible client such as Claude Desktop or Cursor
- Optional: SQLite for analytics storage if using the --analytics flag
Clone the repository
Clone the ethereum-rpc-mpc repository to build from source, or use npx for a zero-install approach.
git clone https://github.com/Kemperino/ethereum-rpc-mpc.git
cd ethereum-rpc-mpc
yarn install
yarn buildConfigure your MCP client
Add the server to your claude_desktop_config.json. Pass your RPC URL as the first argument and an optional chain name as the second.
{
"mcpServers": {
"ethereum-rpc": {
"command": "npx",
"args": ["-y", "ethereum-rpc-mpc", "https://eth.llamarpc.com", "mainnet"]
}
}
}Use a custom RPC endpoint
Replace the default endpoint with your own RPC URL from Alchemy, Infura, or another provider for higher rate limits and reliability.
npx -y ethereum-rpc-mpc https://eth-mainnet.g.alchemy.com/v2/YOUR_API_KEY mainnetEnable analytics (optional)
Add the --analytics flag with a --db-path to store query history in a local SQLite database.
npx -y ethereum-rpc-mpc https://eth.llamarpc.com mainnet --analytics --db-path ./eth-analytics.dbRestart Claude Desktop and verify
Restart the client to load the server, then ask a simple blockchain question to verify connectivity.
Ethereum RPC Examples
Client configuration
Claude Desktop configuration for the Ethereum RPC MCP server using a public Ethereum endpoint.
{
"mcpServers": {
"ethereum-rpc": {
"command": "npx",
"args": ["-y", "ethereum-rpc-mpc", "https://eth.llamarpc.com", "mainnet"]
}
}
}Prompts to try
Example prompts for querying Ethereum blockchain data through the server.
- "What is the current Ethereum block number?"
- "What is the ETH balance of 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?"
- "Is 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 a smart contract? What kind?"
- "Show me the details of transaction 0xabc...123."
- "What is the gas price on the current block?"Troubleshooting Ethereum RPC
RPC connection errors or rate limiting
Replace the default public endpoint (https://eth.llamarpc.com) with a private RPC URL from Alchemy (alchemyapi.io) or Infura (infura.io). Free tiers provide sufficient capacity for most queries.
Build fails with yarn errors
Ensure yarn is installed ('npm install -g yarn') and you are using Node.js 18 or later. Run 'yarn install' before 'yarn build', and check that all dependencies resolve correctly.
Zircuit-specific methods not available
Zircuit methods (zirc_isQuarantined, zirc_getQuarantined) are only auto-enabled when connected to a Zircuit endpoint with chain ID 48900. Pass a Zircuit RPC URL as the first argument to enable them.
Frequently Asked Questions about Ethereum RPC
What is Ethereum RPC?
Ethereum RPC is a Model Context Protocol (MCP) server that typescript mcp server that leverages the mcp sdk to support all ethereum json-rpc calls, enabling ai models to interact with blockchain data. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Ethereum RPC?
Follow the installation instructions on the Ethereum RPC GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Ethereum RPC?
Ethereum RPC works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Ethereum RPC free to use?
Yes, Ethereum RPC is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
Ethereum RPC Alternatives โ Similar APIs Servers
Looking for alternatives to Ethereum RPC? Here are other popular apis servers you can use with Claude, Cursor, and VS Code.
Kong
โ 43.4k๐ฆ The API and AI Gateway
API Mega List
โ 5.4kThis GitHub repo is a powerhouse collection of APIs you can start using immediately to build everything from simple automations to full-scale applications. One of the most valuable API lists on GitHubโperiod. ๐ช
Fetch
โ 5.4kFetch web content and convert to markdown for AI consumption
Fusio
โ 2.1kSelf-Hosted API Management for Builders
Korean Law
โ 1.8k๊ตญ๊ฐ๋ฒ๋ น์ ๋ณดMCP v4.0 | ๋ฒ์ ์ฒ 41๊ฐ API โ 17๊ฐ MCP ๋๊ตฌ. ๋ฒ๋ นยทํ๋กยท์กฐ๋ก ๊ฒ์ + LLM ํ๊ฐ ๋ฐฉ์ง ์ธ์ฉ๊ฒ์ฆ + ์กฐ๋ฌธ ์ํฅ ๊ทธ๋ํ(impact_map) + ์์ ๋น๊ต ์๋ diff(time_travel) + ์๋ฏผ 5๋จ๊ณ ์คํ ๊ฐ์ด๋(action_plan) | 41 Korean legal APIs โ 17 MCP tools
RuleGo
โ 1.5kโ๏ธRuleGo is a lightweight, high-performance, embedded, next-generation component orchestration rule engine framework for Go.
Browse More APIs MCP Servers
Explore all apis servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Ethereum RPC in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Ethereum RPC?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.