MCP.so
Sign In
Servers

Blocknative MCP Server

@kukapay

An MCP server that provides real-time gas price predictions across multiple blockchains.

Overview

What is Blocknative MCP Server?

Blocknative MCP Server is an MCP server that provides real-time gas price predictions across multiple blockchains, powered by Blocknative. It is intended for use with MCP-compatible clients like Claude Desktop and the MCP Inspector.

How to use Blocknative MCP Server?

Install via uv sync, optionally set the BLOCKNATIVE_API_KEY environment variable for high-frequency access, then run uv run blocknative-mcp to start the server, uv run mcp dev blocknative-mcp for interactive testing, or uv run mcp install blocknative-mcp --name "Blocknative MCP Server" to integrate with Claude Desktop.

Key features of Blocknative MCP Server

  • Provides three tools: predict_gas_price, estimate_gas_cost, get_supported_chains.
  • Includes a prompt template for gas price queries.
  • Uses asynchronous HTTP requests for non-blocking performance.
  • Supports low-frequency access without an API key.
  • Defaults to Ethereum Mainnet (chain_id=1).

Use cases of Blocknative MCP Server

  • Retrieve real-time gas price predictions for Ethereum or other blockchains.
  • Estimate transaction costs before sending a transaction.
  • List all supported chains and networks for multi-chain applications.
  • Integrate gas price data into a Claude Desktop agent.
  • Build a dApp that shows current base fee and priority fee recommendations.

FAQ from Blocknative MCP Server

What is the default blockchain used by Blocknative MCP Server?

The default blockchain is Ethereum Mainnet, with chain_id=1. Other chains can be specified via the chain_id parameter.

Do I need a Blocknative API key to use Blocknative MCP Server?

No, for low-frequency access you can use the server without an API key. High-frequency access requires a free API key set as the BLOCKNATIVE_API_KEY environment variable.

What Python version is required to run Blocknative MCP Server?

Python version 3.10 or higher is required, along with the uv dependency manager.

How do I install Blocknative MCP Server?

Clone the

More from Other