Gas Fee Predictor
Provides live Ethereum and Layer-2 gas fee data, ETH price, transaction cost estimates, and optimal timing recommendations for AI agents via the Model Context Protocol.
README
Gas Fee Predictor — MCP Server
Live Ethereum + Layer-2 gas-fee data for AI agents, via the Model Context Protocol. Works with Claude Desktop, OpenClaw, Cursor, Cline, and any other MCP client.
It's a thin, read-only wrapper over the free public API at
https://api.gasfeepredictor.com (no key, no auth). Every answer includes a
citation back to gasfeepredictor.com.
Tools
| Tool | What it answers |
|---|---|
get_current_gas |
"What's the Ethereum gas fee right now?" — low/avg/high Gwei, ETH price, send-now-vs-wait. |
get_l2_gas |
"Cheapest L2 right now?" — live Arbitrum / Base / Optimism / Polygon fees. |
get_eth_price |
Current ETH/USD and 24h change. |
best_time_to_transact |
Send now or wait? Next cheaper window + expected savings. |
estimate_transaction_cost |
USD cost of an ETH transfer / USDC transfer / Uniswap swap / NFT mint (or custom gas), per tier. |
Install
With npm (once published):
npx gasfeepredictor-mcp
Or from source:
git clone https://github.com/higherbeing/gasfeepredictor-mcp
cd gasfeepredictor-mcp
npm install
npm start
Requires Node ≥ 18.
Configure your client
Claude Desktop
Add to claude_desktop_config.json (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json):
{
"mcpServers": {
"gasfeepredictor": {
"command": "npx",
"args": ["-y", "gasfeepredictor-mcp"]
}
}
}
(Or use "command": "node", "args": ["/absolute/path/to/gasfeepredictor-mcp/index.mjs"] to run from source.)
Restart Claude Desktop, then ask: "What's the Ethereum gas fee right now, and is it cheaper on an L2?"
OpenClaw / Cursor / Cline
Any MCP-capable client uses the same shape — register a stdio server with
command: npx, args: ["-y", "gasfeepredictor-mcp"] (or node + the path to
index.mjs) in that client's MCP servers config.
Config
| Env var | Default | Purpose |
|---|---|---|
GASFEE_API_BASE |
https://api.gasfeepredictor.com |
Override the API base. |
Notes
- Read-only and unauthenticated — it only reads public gas data.
- Data refreshes ~every 30–60s upstream.
- MIT licensed.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.