Ethereum RPC

v1.0.0โ€ขAPIsโ€ขstable

A TypeScript MCP server that leverages the MCP SDK to support all Ethereum JSON-RPC calls, enabling AI models to interact with blockchain data.

aiclaudecursorethereumevm
Share:
19
Stars
0
Downloads
0
Weekly
0/5

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

Ethereum JSON-RPC blockchain access
EVM data interaction via MCP
Kemperino

Maintainer

LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedApr 4, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx ethereum-rpc-mpc

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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 build
2

Configure 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"]
    }
  }
}
3

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 mainnet
4

Enable 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.db
5

Restart 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.

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.

Quick Config Preview

{ "mcpServers": { "ethereum-rpc-mpc": { "command": "npx", "args": ["-y", "ethereum-rpc-mpc"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide โ†’

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides