Infura MCP. Query, check, and write to the Ethereum blockchain.
Works with every AI agent you already use
…and any MCP-compatible client
Just plug in your AI agents and start using Vinkius.
Infura (Ethereum Node RPC Provider) MCP Server gives your AI client direct access to the Ethereum blockchain. You query block numbers, check account balances, estimate gas fees, and interact with smart contracts using natural language.
It's a full RPC bridge for reading and writing to the EVM state, bypassing the need for complex, dedicated web3 libraries.
What your AI agents can do
Eth blockNumber
Gets the numerical identifier of the most recent block.
Eth call
Runs a message call against the blockchain without changing the state.
Eth chainId
Retrieves the unique ID number for the connected blockchain network.
Retrieves the current native token balance for any specified Ethereum address.
Fetches information about the most recent block or specific blocks by hash or number.
Calculates required gas fees, transaction fee history, and suggested base fees for writing to the chain.
Reads transaction details and receipts, allowing you to debug or track past on-chain activity.
Executes read-only calls against smart contracts or sends fully signed raw transactions.
Retrieves filtered logs or changes, essential for monitoring specific events across the blockchain.
Ask AI about this MCP
Supported MCP Clients
Waiting for input…
Infura (Ethereum Node RPC Provider) MCP Server: 20 Tools for Blockchain Data
Use these 20 tools to query every aspect of the Ethereum Virtual Machine, from block history to live account balances.
019e5d26eth blockNumber
Gets the numerical identifier of the most recent block.
019e5d26eth call
Runs a message call against the blockchain without changing the state.
019e5d26eth chainId
Retrieves the unique ID number for the connected blockchain network.
019e5d26eth estimateGas
Calculates the gas limit needed before sending a transaction.
019e5d26eth feeHistory
Retrieves a history of transaction fees paid on the network.
019e5d26eth gasPrice
Gets the current base gas price for transactions.
019e5d26eth getBalance
Checks the current native token balance for a given account address.
019e5d26eth getBlockByHash
Gets all detailed information about a specific block using its hash.
019e5d26eth getBlockByNumber
Gets all detailed information about a block using its sequential number.
019e5d26eth getBlockTransactionCountByHash
Gets the count of transactions included in a block by its hash.
019e5d26eth getBlockTransactionCountByNumber
Gets the count of transactions included in a block by its number.
019e5d26eth getCode
Retrieves the compiled smart contract code for a specific address.
019e5d26eth getFilterChanges
Gets all state changes that match a defined filter for tracking purposes.
019e5d26eth getLogs
Retrieves all event logs matching a specific filter across the blockchain.
019e5d26eth getTransactionByHash
Gets full details about a transaction using its unique transaction hash.
019e5d26eth getTransactionCount
Gets the total number of transactions sent from an address (the nonce).
019e5d26eth getTransactionReceipt
Retrieves the final receipt of a transaction using its hash.
019e5d26eth newFilter
Creates a new, temporary filter for polling blockchain state changes.
019e5d26eth sendRawTransaction
Sends a fully signed, raw transaction to the network for execution.
019e5d26get suggested gas fees
Provides the current recommended base fee and priority fee for optimal gas usage.
Choose How to Get Started
Build a custom MCP for your own tools, or connect a ready-made integration from our catalog.
Build Your Own
Turn any API into an MCP. Import a spec, define Agent Skills, or deploy with MCPFusion.
- Import from OpenAPI, Swagger, or YAML specs
- Create Agent Skills with progressive disclosure
- Deploy to edge with MCPFusion framework
- Built in DLP, auth, and compliance on every call
- Real time usage dashboard and cost metering
- Publish to catalog or keep private
Make Your AI Do More
Start with Infura (Ethereum Node RPC Provider), then connect any of our 4,700+ other servers whenever your AI needs more. One click, no limits.
- Use this MCP plus 4,700+ others, all in one place
- Add new capabilities to your AI anytime you want
- Every connection is secured and compliant automatically
- Track usage and costs across all your servers
- Works with Claude, ChatGPT, Cursor, and more
- New servers added to the catalog every week
What you can do with this MCP connector
You're hooking your AI client right up to the Ethereum blockchain. This MCP server gives your agent direct, high-speed access to the whole EVM state. You don't need to mess with complex web3 libraries; you just use natural language to read and write to the chain.
Checking Balances
Need to know what's in an account? You can run eth_getBalance to check the native token balance for any address. You'll also find eth_getTransactionCount gives the total number of transactions sent from an address (the nonce).
Querying Blocks and Transactions
Want to know what's up with the ledger? You can grab the most recent block number using eth_blockNumber. For detailed reads, you've got eth_getBlockByNumber and eth_getBlockByHash, which pull all the info for a specific block. You can also count how many transactions are in a block using eth_getBlockTransactionCountByNumber or eth_getBlockTransactionCountByHash.
When you't checking blocks, you can get the full rundown on a single transaction using eth_getTransactionByHash, and then pull the final status with eth_getTransactionReceipt using its hash.
Gas and Fees
Sending anything costs gas, and you gotta budget for it. You can check the current base gas price with eth_gasPrice, or use get_suggested_gas_fees for the recommended base and priority fees. If you want to see what folks paid in the past, eth_feeHistory pulls that transaction fee history. Before you send anything, eth_estimateGas calculates the gas limit you need.
For a full picture of what's going on, eth_newFilter lets you create a temporary filter to track state changes, and eth_getFilterChanges pulls all state changes matching a defined filter. You can also monitor specific events using eth_getLogs or get all state changes that match a filter with eth_getFilterChanges.
Interacting with the Chain
When it's time to act, you've got options. You can run eth_call to execute a read-only message call against a smart contract—it won't change the state. If you're ready to commit, you can send a fully signed, raw transaction using eth_sendRawTransaction. For contract details, eth_getCode retrieves the compiled smart contract code for any specific address.
How Infura MCP Works
- 1 Subscribe to the server and enter your unique Infura API Key (Project ID).
- 2 Specify the target network (e.g., mainnet, sepolia) if needed.
- 3 Ask your AI client to execute a specific action, like 'What is the balance of 0x...?' which triggers the appropriate tool call.
The bottom line is, you give your AI client your API key, and it handles the complex JSON-RPC calls needed to read or write any state on the Ethereum network.
Who Is Infura MCP For?
Web3 developers who write smart contract tooling, data analysts needing real-time on-chain metrics, and crypto enthusiasts who monitor wallets. This is for anyone who needs to treat the blockchain state like a database, without manually writing boilerplate web3 library code.
Debugging contract state transitions and verifying transaction logic directly from their IDE by calling tools like eth_call or eth_getBlockByHash.
Pulling real-time metrics, checking historical transaction fee movements using eth_feeHistory, and monitoring network congestion.
Programmatically retrieving block data, log events (eth_getLogs), and analyzing large datasets for quantitative research.
What Changes When You Connect
- Need to know if a smart contract deployed correctly? Use
eth_getCodeto fetch the contract's bytecode. This lets you verify the code at an address before running complex simulations. - Don't guess the gas cost. Use
get_suggested_gas_feesto get the current base and priority fees. This gives you the accurate cost model needed for reliable transaction scheduling. - Tracking transfers is tough. Use
eth_getLogsto pull all event logs matching specific topics and addresses. This is how you reliably audit complex DeFi interactions. - Debugging a failed transaction? Use
eth_getTransactionReceiptwith the transaction hash. This gives the full result and any errors, letting you see exactly what broke. - Need to write data? Use
eth_sendRawTransactionwhen you have a signed transaction. This is the only way to commit state changes to the chain. - Check current network status with
eth_blockNumberandeth_gasPrice. These simple calls give you the foundational data needed before any complex analysis.
Real-World Use Cases
Auditing a Smart Contract Deployment
A developer needs to ensure a new contract is written correctly. They ask their agent to first run eth_getCode to check the bytecode, then use eth_getBlockByHash to find the block it was deployed in, and finally use eth_getTransactionByHash to confirm the deployment transaction details.
Monitoring a DeFi Liquidation Event
A data analyst needs to track every single transfer related to a liquidation. They instruct their agent to use eth_getLogs with specific contract addresses and topics, then cross-reference the results with eth_getFilterChanges to map the entire state transition.
Calculating the Cost of a Complex Write
A user wants to send a transaction but needs to know the exact cost first. They ask the agent to run eth_estimateGas and then use get_suggested_gas_fees. The agent combines these two calls to give a precise, actionable gas estimate.
Debugging a Failed Transfer
A user notices a transfer failed. They ask the agent to use eth_getTransactionByHash to get the basic details, and then run eth_getTransactionReceipt to confirm if the failure was due to a contract error or an insufficient balance.
The Tradeoffs
Calling `eth_getBlockByHash` for everything
The developer gets the block hash and then just calls eth_getBlockByHash(hash) repeatedly, even if they only need the latest block number. This wastes time and bandwidth.
→
Always check eth_blockNumber first. If you need details, use eth_getBlockByNumber with the latest number. Only use eth_getBlockByHash when the number isn't available or you're debugging a specific historical block.
Ignoring transaction status
The user checks eth_getTransactionByHash and sees the details, but assumes the transaction succeeded because the call returned data. They forget to check the actual receipt status.
→
After checking the transaction hash, always run eth_getTransactionReceipt. This confirms if the transaction was successfully mined and what the final state change was.
Manual gas calculation
The user tries to manually calculate the gas cost by looking up old gas rates or using basic estimates. This ignores current network congestion and base fee changes.
→
Use get_suggested_gas_fees to get the up-to-the-minute network fee model. Then, run eth_estimateGas to calculate the exact usage based on the transaction's complexity.
When It Fits, When It Doesn't
Use this server if you are building any application that needs to read or write to the Ethereum Virtual Machine state. You need raw access to the full JSON-RPC API. You should use it for monitoring events (eth_getLogs) or performing write operations (eth_sendRawTransaction).
Don't use this if you only need to read simple, non-blockchain data (like a user's profile from a centralized database). For those, use a standard REST API. If your task is merely reading the latest block number, eth_blockNumber is sufficient, but if you need historical context, you'll need the full suite of tools.
Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Infura. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
VINKIUS INFRASTRUCTURE
Cloud Hosted
Managed infra
V8 Isolated
Sandboxed per request
Zero-Trust Proxy
No stored credentials
DLP Enforced
Policy on every call
GDPR Compliant
EU data residency
Token Compression
~60% cost reduction
Works with Claude, ChatGPT, Cursor, and more
The Model Context Protocol standardizes how applications expose capabilities to LLMs. Instead of operating in isolation, your AI gains direct access to external platforms, live data, and real-world actions through secure, standardized connections.
This server provides 20 capabilities that interface natively with Claude, ChatGPT, Cursor, and any MCP client. No middleware. No custom integration required.
Available Capabilities
Debugging blockchain state shouldn't feel like running a dozen separate API calls.
Today, checking a contract's status is a pain. You have to jump between Etherscan, your local terminal, and a separate gas calculator. You copy hashes, paste them into multiple tabs, and manually cross-reference balances using various web3 library functions.
With this MCP server, you just ask your agent. It runs `eth_getBalance` and then `eth_getCode`—all in one sequence. You get a single, definitive answer without the clipboard tax or the stack overflow errors.
Infura (Ethereum Node RPC Provider) MCP Server: Read and Write State
The manual steps of getting the latest block number, then finding the transaction details using `eth_getTransactionByHash`, and finally calculating the gas required using `eth_estimateGas` used to take a full minute of manual coordination. You'd need three different tools and a lot of copy-pasting.
Now, the agent coordinates all three steps automatically. You get the full, verified sequence of data in one go. It’s just simpler.
Common Questions About Infura MCP
How do I check the balance of an address using eth_getBalance? +
You simply ask your agent to run eth_getBalance and provide the target address. It returns the current balance in Wei, which you can convert to ETH.
Can I use eth_call to actually change the contract state? +
No. eth_call is strictly read-only. It simulates a transaction, letting you see what would happen without actually spending gas or changing the blockchain state.
What's the difference between eth_getBlockByHash and eth_getBlockByNumber? +
eth_getBlockByNumber is easier; you just give it a number. eth_getBlockByHash requires the full, unique hash string for the specific block you want to examine.
Do I need to run eth_getLogs to track all transfers? +
No, you can use eth_getLogs to track specific, filtered events (like ERC-20 transfers) by setting topics and addresses. This is much more precise than trying to track every single transaction.
How do I send a transaction using eth_sendRawTransaction? +
You must provide the fully signed, raw transaction payload. The server sends it to the network for execution; it doesn't sign it for you.
When should I use eth_estimateGas vs. eth_getLogs to monitor network activity? +
Use eth_estimateGas to determine the cost of a specific action, not to track activity. eth_getLogs pulls structured event data based on filters. You use it when you need to know what happened (the event), and eth_estimateGas when you need to know how much it will cost to make something happen.
If I need to check the transaction history, should I use eth_getTransactionByHash or eth_getBlockByNumber? +
Use eth_getTransactionByHash when you know the exact transaction hash you want to investigate. Use eth_getBlockByNumber when you want a summary of all transactions that occurred within a specific block period.
What happens if my query fails due to rate limiting when using eth_getLogs? +
If your query fails due to rate limits, you need to adjust your filtering parameters to be more specific. Check the documentation for the recommended polling interval, or consider using eth_newFilter to set up a persistent, monitored stream instead of a single, large request.
Can I check the balance of any Ethereum wallet address? +
Yes. Use the eth_getBalance tool with the target address. You can also specify the block parameter (e.g., 'latest') to get the most up-to-date balance in wei.
How do I find out the current gas price for a transaction? +
You can use the eth_gasPrice tool to get the current price in wei, or use getSuggestedGasFees for a more detailed recommendation on priority and base fees.
Can I inspect the details of a specific block using its number? +
Absolutely. Use the eth_getBlockByNumber tool. Provide the hex-encoded block number or a tag like 'latest', and set full_tx to true if you want to see all transaction objects within that block.
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
More in this category
Color Converter Engine
Convert any color between HEX, RGB, HSL, and CMYK with mathematical precision. The AI guesses color codes — this engine knows them.
Tatum (Blockchain Infra)
Simplify blockchain development with Tatum — estimate fees, track portfolios, and manage real-time webhook subscriptions across multiple chains.
IP & CIDR Validator
Equip cybersecurity agents with binary IP math. Instantly validate IPv4/IPv6 addresses and check CIDR subnet allocations local.
You might also like
Sharpei
Offer product subscriptions and rentals on your Shopify store with flexible recurring payment options your customers will love.
Cal.com
Control Cal.com infrastructure organically — book events, manipulate schedules, and track availabilities using an AI-native conversational flow.
FatSecret
Access millions of food items with calorie tracking, macro data, and serving sizes from the FatSecret platform used by 30M+ users worldwide.