Ethereum RPC MPC Server

Ethereum RPC MPC Server

By Phillip-Kemper GitHub

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

ai mcp
Overview

What is Ethereum RPC MPC Server?

Ethereum RPC MPC Server is a TypeScript Model Context Protocol (MCP) server that enables AI models to interact with Ethereum blockchain data through standardized JSON-RPC calls.

How to use Ethereum RPC MPC Server?

To use the server, clone the repository, install dependencies, and start the server with an Ethereum RPC URL. You can also configure it with AI assistants like Cursor or Claude.

Key features of Ethereum RPC MPC Server?

  • Supports all Ethereum JSON-RPC calls.
  • Acts as a bridge between AI models and EVM blockchains.
  • Includes special support for Zircuit-specific RPC methods.

Use cases of Ethereum RPC MPC Server?

  1. Querying the current block number on Ethereum.
  2. Checking the ETH balance of a specific address.
  3. Retrieving transaction details and contract information.

FAQ from Ethereum RPC MPC Server?

  • Can I use this server with any AI model?

Yes! It is designed to work with any MCP Client implementation.

  • Is there support for multiple chains?

Future versions will include support for multiple chains and RPC endpoints.

  • What is the license for this project?

The project is licensed under the MIT license.

Content

Ethereum RPC MPC Server

npm version npm downloads

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

Overview

This project provides a Model Context Protocol (MCP) server that allows AI assistants like Cursor or Claude (or any MCP Client implementation) to interact with Ethereum blockchain data through standardized JSON-RPC interfaces. It acts as a bridge between AI models and EVM blockchains, enabling seamless access to on-chain data and functionality.

Installation

# Clone the repository
git clone git@github.com:Phillip-Kemper/ethereum-rpc-mpc.git
cd ethereum-rpc-mpc

# Install dependencies
yarn install

# Build the project
yarn build

# Start Inspector with default Ethereum RPC (you can change in the inspector settings on )
yarn inspector

Usage

Using with Cursor

To use this MPC server with Cursor:

  1. In Cursor, go to Settings > Cursor Settings > MCP
  2. Add a new MCP server with the following configuration:
    • Name: Ethereum RPC
    • Type: Command
    • Command: npx -y ethereum-rpc-mpc https://eth.llamarpc.com Ethereum or
    • Command: node /path/to/ethereum-rpc-mpc/dist/server/index.js https://eth.llamarpc.com Ethereum
Screenshot 2025-03-13 at 19 41 56

Starting the Server

You can start the server by providing an Ethereum RPC URL and an optional chain name:

yarn start [RPC_URL] [CHAIN_NAME]

# Using npx (without installing)
npx -y ethereum-rpc-mpc [RPC_URL] [CHAIN_NAME]

If no RPC URL is provided, it will default to "https://eth.llamarpc.com".

Example:

# Connect to Ethereum mainnet
yarn start https://eth.llamarpc.com Ethereum

# Connect to Zircuit
yarn start https://mainnet.zircuit.com Zircuit

Examples

Here are some examples of how to use the Ethereum RPC MPC server with Claude:

Getting the Current Block Number

What's the current block number?

Checking an Address Balance

What's the ETH balance of 0x742d35Cc6634C0532925a3b844Bc454e4438f44e?

Getting Contract Information

Is 0x6B175474E89094C44Da98b954EedeAC495271d0F a smart contract? If yes, what kind of contract is it?

Retrieving Transaction Details

Can you show me the details of transaction 0x5c504ed432cb51138bcf09aa5e8a410dd4a1e204ef84bfed1be16dfba1b22060?

Zircuit SLS (Sequencer Level Security) Methods

This server includes special support for Zircuit-specific RPC methods. These methods are not enabled by default but are automatically activated when connecting to a Zircuit endpoint (Chain ID: 48900).

The supported Zircuit methods include:

  • zirc_isQuarantined: Check if a specific transaction is quarantined
  • zirc_getQuarantined: Query all quarantined transactions with optional address filtering

These methods are particularly useful for monitoring transaction quarantine status.

Future Steps

Next to RPC, also support indexed API access

We plan to extend the functionality beyond basic RPC calls to include support for indexed blockchain data APIs. This will enable more efficient querying of historical data and complex on-chain analytics.

Multi Chain, Multi RPC Support

Future versions will support connecting to multiple chains and RPC endpoints simultaneously, allowing AI models to access data across different blockchains in a single session.

Client Implementation

A future enhancement will be to develop a client-side implementation that makes it easier to interact with this MCP server from various applications.

Server Analytics

We plan to add analytics capabilities to track usage patterns, popular RPC methods, and performance metrics. This will help optimize the server and provide insights into how AI models are interacting with blockchain data.

License

MIT

No tools information available.
School MCP
School MCP by 54yyyu

A Model Context Protocol (MCP) server for academic tools, integrating with Canvas and Gradescope platforms.

canvas mcp
View Details
repo-template
repo-template by loonghao

A Model Context Protocol (MCP) server for Python package intelligence, providing structured queries for PyPI packages and GitHub repositories. Features include dependency analysis, version tracking, and package metadata retrieval for LLM interactions.

-

google-calendar mcp
View Details
strava-mcp
strava-mcp by jeremysilva1098

MCP server for strava

strava mcp
View Details

Model Context Protocol (MCP) server implementation for Rhinoceros/Grasshopper integration, enabling AI models to interact with parametric design tools

grasshopper mcp
View Details

MCP configuration to connect AI agent to a Linux machine.

security mcp
View Details

AI assistant built with Streamlit, NVIDIA NIM (LLaMa 3.3:70B) / Ollama, and Model Control Protocol (MCP).

python mcp
View Details