MCP server for real-time gas price predictions and transaction cost estimates across supported blockchains.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent — or use 1-click editor setup below.
One-click editor setup isn’t available for this listing yet — we don’t have a confirmed install command, and we’d rather show nothing than point your editor at the wrong package or host. Follow the project’s own setup instructions, linked above.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Blocknative MCP.
An MCP server that provides real-time gas price predictions across multiple blockchains, powered by Blocknative.
predict_gas_price: Fetches gas price predictions for a specified chain (default: Ethereum Mainnet, chain_id=1), including base fee and a table with confidence levels, price, max priority fee, and max fee.estimate_gas_cost: Estimates transaction costs based on gas limit, confidence level, and chain ID, returning costs in Gwei and ETH.get_supported_chains: Lists supported blockchains in a table with chain ID, system, and network.gas_price_query: A prompt template for querying gas prices at a specific confidence level and chain ID.httpx for non-blocking HTTP requests to Blocknative's Gas Price and Chains APIs.BLOCKNATIVE_API_KEY.Clone the Repository:
Set Up the Project with uv:
Set the Blocknative API Key (Optional):
The server provides three tools and one prompt, accessible via the FastMCP framework. You can run the server in development mode, execute it directly, or integrate it with Claude Desktop.
Development Mode with MCP Inspector:
This opens the MCP Inspector, a web interface for testing tools and prompts interactively.
Direct Execution:
Claude Desktop Integration:
This installs the server for use with Claude Desktop.
predict_gas_price(chain_id: int = 1) -> str:
Fetches gas price predictions for a chain (default: Ethereum Mainnet). Returns base fee and a Markdown table with confidence levels, price, max priority fee, and max fee.
estimate_gas_cost(gas_limit: int, confidence: int = 99, chain_id: int = 1) -> str:
Estimates transaction costs based on gas limit, confidence level, and chain ID. Returns costs in Gwei and ETH.
get_supported_chains(ctx: Optional[Context] = None) -> str:
Lists supported chains in a Markdown table with chain ID, system, and network.
gas_price_query(confidence: int, chain_id: int = 1) -> List[base.Message]:
A prompt template for querying gas prices at a specific confidence level and chain ID.
This project is licensed under the MIT License. See the LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks — not a rating.
No reviews yet — be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/kukapay-blocknative-mcp)<a href="https://allmcps.com/mcp/kukapay-blocknative-mcp"><img src="https://allmcps.com/api/badge/kukapay-blocknative-mcp?style=directory" alt="Blocknative MCP on AllMCPs" /></a>