blocknative-mcp

blocknative-mcp

2

The Blocknative MCP Server provides real-time gas price predictions across multiple blockchains, leveraging Blocknative's infrastructure. It offers tools for gas price estimation, transaction cost calculations, and supported blockchain listings, with optional async API support.

Blocknative MCP Server

An MCP server that offers real-time gas price predictions across various blockchains using Blocknative's infrastructure.

Features

  • Predict Gas Price: Estimates gas prices with confidence levels, show max fee and priority fee.
  • Estimate Gas Cost: Calculates transaction costs in Gwei and ETH.
  • Supported Chains: Lists compatible blockchain networks.
  • Async Support: Utilizes asynchronous requests.

Prerequisites

  • Python 3.10
  • Optional Blocknative API Key for high-frequency access. Sign up at Blocknative.

Installation

  1. Clone the repository and navigate to the directory.
  2. Sync the project using uv.
  3. Set up Blocknative API Key for high-frequency transactions.

Usage

Operate using FastMCP framework, supporting development, direct execution, and integration with Claude Desktop.