- DATA
- STRATEGY
- DECISION
- LOGIC
Short answer
How can I use AI to predict Ethereum gas fees?
Your agent pulls live data from the Ethereum mempool to see what transactions are currently waiting to be processed. It then calculates the specific gas price tiers you need to ensure your transaction gets included in a block. This breakdown shows how the data flows from the mempool to your agent.
The outcomes
What your agent delivers
The data your AI pulls from the mempool results in these specific outputs.
DATA
Live mempool insights
The AI pulls current transaction data to show you exactly what the network is doing right now.
STRATEGY
Optimal fee tiers
Your agent suggests specific gas price levels based on the current congestion levels it sees.
DECISION
Human-led execution
The AI provides the numbers, but you decide which fee tier to actually use for your transaction.
LOGIC
Custom fee rules
You can ask your agent to build specific rules for when to use high or low gas fees.
The workflow
What your AI does when the data arrives.
The AI acts as a bridge between the live Ethereum mempool and your decision making.
Fetch mempool state
Your agent reaches out to the Blocknative API to see the current state of pending transactions.
get_gas_pricesAnalyze congestion
The AI looks at the volume and priority of transactions currently sitting in the mempool.
get_gas_pricesCalculate tiers
It determines the different gas price levels required for immediate, standard, or slow inclusion.
get_gas_pricesReport findings
Your agent presents the calculated fee tiers in a format you can use to set your transaction parameters.
get_gas_prices
Try it
Copy these to start.
Use these prompts to begin interacting with the Blocknative data.
Starting points
These are ideas to get you moving. Swap out the specific transaction details to fit your needs.
Blocknative Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_r2AOQnNVS8hTVOpsBxtTmhWn6jPoZpIpgPq4J1Jj/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Blocknative capabilities are ready to use.
{
"mcpServers": {
"blocknative-ethereum-mempool-api-mcp": {
"url": "https://edge.vinkius.com/vk_preview_r2AOQnNVS8hTVOpsBxtTmhWn6jPoZpIpgPq4J1Jj/mcp"
}
}
}Get the current Ethereum gas price tiers from the mempool.
Based on the current mempool data, what gas fee should I use for a high priority transaction?
Compare the current low, medium, and high gas price tiers.
Is the mempool currently congested enough to justify a higher gas fee?
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Blocknative once, then ask.
You only need to link the MCP once. Your credentials stay encrypted, and you can immediately start asking your agent for gas updates.
Connect Blocknative to your AIFAQ
How this task behaves
- 01
Can the AI send my transaction to the blockchain?
No. The AI only provides gas price data. You must manually sign and send your transaction using your own wallet or tool.
- 02
Does the AI update gas prices automatically?
The AI only fetches the most recent data when you ask it to. It does not push live updates to you without a prompt.
- 03
Can the AI change my wallet settings?
No. This MCP only reads mempool data. It has no access to your private keys or wallet configurations.
- 04
How accurate are these gas estimates?
The estimates are based on real-time mempool data provided by Blocknative, but network conditions change every second.
- 05
Can I use this for Layer 2 networks?
No. This specific tool is designed for Ethereum mainnet mempool data.
More questions about Blocknative? See everything the Blocknative Connector can do
Connect Blocknative to Claude, Cursor, ChatGPT & more
