infura-mcp
by deflang·★ 1·Score 31
An MCP server for querying Ethereum blockchain data through Infura APIs using natural language.
Overview
infura-mcp is a specialized MCP server that provides access to Ethereum blockchain data via Infura's API. It offers a comprehensive set of tools for querying blockchain information including accounts, balances, transactions, blocks, and more. The server supports both read-only and write operations, with the latter being disabled by default for security. It features HTTP streaming support and containerization options, making it flexible for various deployment scenarios.
Try asking AI
After installing, here are 6 things you can ask your AI assistant:
When to choose this
Choose this MCP server when you need access to Ethereum blockchain data through natural language queries and are already using or willing to set up an Infura API key.
When NOT to choose this
Avoid this server if you need blockchain support beyond Ethereum, require robust write operations without manual enabling, or are concerned about potential vendor lock-in to Infura's infrastructure.
Tools this server exposes
12 tools extracted from the READMEeth_get_balanceGet the balance of an Ethereum address
eth_get_block_by_hashRetrieve block information by its hash
eth_get_block_by_numberRetrieve block information by its number
eth_get_transaction_by_hashGet details of a transaction by its hash
eth_get_transaction_receiptGet receipt information for a transaction
eth_get_logsFilter logs from the Ethereum blockchain
eth_send_raw_transactionSend a raw transaction to the Ethereum network
eth_gas_estimateEstimate gas required for a transaction
eth_get_fee_historyGet historical fee data for blocks
eth_sync_statusCheck if the node is syncing and progress
eth_get_protocol_versionGet the Ethereum protocol version
eth_get_web3_client_versionGet the client software version
Comparable tools
Installation
Installation
- Install the package from PyPI:
pip install infura-mcp- Configure with Claude Desktop by adding this to your config.json:
{
"mcpServers": {
"infura": {
"command": "npx",
"args": [
"-y",
"infura-mcp"
],
"env": {
"INFURA_API_KEY": "your-api-key-here",
"WRITE_TOOLS_ENABLED": false
}
}
}
}- Or run with Docker:
docker run -d --name infura-mcp-server -p 3000:3000 -e INFURA_API_KEY="your-infura-api-key" sumiteshn/infura-mcp:latestFAQ
- Is this project affiliated with Infura?
- No, this project is not sponsored or supported by Infura in any way. It's an independent implementation that uses Infura's APIs.
- How do I enable write tools?
- Set the WRITE_TOOLS_ENABLED environment variable to true in your configuration. Note that write tools are disabled by default for security.
- What blockchain networks are supported?
- The server supports all networks available through Infura's APIs, including Ethereum mainnet and various testnets.
Compare infura-mcp with
Last updated · Auto-generated from public README + GitHub signals.