Live Ethereum and L2 gas fees for AI agents: current gas, cheapest L2, ETH price, cost estimates.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
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.
| 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. |
With npm (once published):
Or from source:
Requires Node β₯ 18.
Add to claude_desktop_config.json (macOS:
~/Library/Application Support/Claude/claude_desktop_config.json):
(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?"
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.
| Env var | Default | Purpose |
|---|---|---|
GASFEE_API_BASE | https://api.gasfeepredictor.com | Override the API base. |
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/gasfeepredictor-mcp)<a href="https://allmcps.com/mcp/gasfeepredictor-mcp"><img src="https://allmcps.com/api/badge/gasfeepredictor-mcp?style=directory" alt="Gasfeepredictor MCP on AllMCPs" /></a>