evm-rpc-mcp
An MCP server that gives AI assistants read-only access to any EVM-compatible blockchain (Ethereum, Polygon, Arbitrum, Base, etc.) via JSON-RPC.
Features
eth_block_number— get the latest block numbereth_get_block— get a block by number, tag, or hasheth_get_transaction— get a transaction by hasheth_get_transaction_receipt— get a transaction receipteth_get_logs— query event logs with filterseth_get_balance— get an address balanceeth_get_code— get contract bytecodeeth_get_storage_at— read a contract storage sloteth_call— execute a read-only contract calleth_gas_price— get the current gas priceeth_chain_id— get the chain IDeth_get_transaction_count— get an address noncenet_version— get the network ID
Installation
pip install evm-rpc-mcp
Or run directly with uvx:
uvx evm-rpc-mcp --rpc-url https://eth.llamarpc.com
Usage
Pass your RPC endpoint URL via the --rpc-url flag or the EVM_RPC_URL environment variable:
evm-rpc-mcp --rpc-url https://eth.llamarpc.com
EVM_RPC_URL=https://eth.llamarpc.com evm-rpc-mcp
Claude Code
Add this to your project's .mcp.json file:
{
"mcpServers": {
"evm-rpc": {
"type": "stdio",
"command": "uvx",
"args": ["evm-rpc-mcp", "--rpc-url", "https://eth.llamarpc.com"]
}
}
}
Or if you installed it with pip:
{
"mcpServers": {
"evm-rpc": {
"type": "stdio",
"command": "evm-rpc-mcp",
"args": ["--rpc-url", "https://eth.llamarpc.com"]
}
}
}
Claude Desktop
Add this to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"evm-rpc": {
"command": "uvx",
"args": ["evm-rpc-mcp", "--rpc-url", "https://eth.llamarpc.com"]
}
}
}
Replace https://eth.llamarpc.com with your preferred RPC endpoint for any EVM chain.
License
MIT
Metadata
Release files for evm-rpc-mcp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| evm_rpc_mcp-0.1.0.tar.gz | 3.8 kB | Without provenance | Details for evm_rpc_mcp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| evm_rpc_mcp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for evm_rpc_mcp-0.1.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / evm_rpc_mcp-0.1.0.tar.gz
| Download URL | evm_rpc_mcp-0.1.0.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
664895d0b00b263596cbef76913a523882a2505638446991483d588fa6b8245d
|
|
BLAKE2b-256 checksum How to use checksums |
e0ba472c60735c0037aedba81bcc75affa2e6f55f5262a94fe7f4030adde90c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Release files / evm_rpc_mcp-0.1.0-py3-none-any.whl
| Download URL | evm_rpc_mcp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fe71f58eb7ed92ead07457d9e3f2334e3198686a71888dc5617a9fee46d1ee80
|
|
BLAKE2b-256 checksum How to use checksums |
2701d0fa5bb250fc7fe4449c0198f15add2a567b48a56c65a7aaddaed3e1da6a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.9
|
Security for evm-rpc-mcp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.