Gas Fee Predictor
Live Ethereum and L2 gas prices, forecasts and transaction cost estimates for agents
- Pricing
- Open source
- Platforms
- API, CLI
- Runs
- Locally or Remotely
- Version
- 1.0.2
- Listing updated
- 2 days ago
About Gas Fee Predictor
Gas Fee Predictor is an open-source MCP server for finance and payments. It can run locally on your machine or as a hosted remote server.
Gas Fee Predictor serves read-only gas data with no API key and no account, and every answer carries a citation string back to the source site. The hosted endpoint at api.gasfeepredictor.com/api/mcp exposes seven tools over streamable HTTP, while the npm package runs over stdio with five of them.
Beyond mainnet gas in Gwei, it compares Arbitrum, Base, Optimism and Polygon fees, adds the ETH price, and prices an ETH transfer, USDC transfer, Uniswap swap or NFT mint in USD. Forecast and history tools are hosted only. Upstream data refreshes roughly every 30 to 60 seconds.
The forecast is pattern-based and the API docs say confidence stays null until measured accuracy supports it. The project is MIT licensed.
Install
Run in a terminal
claude mcp add --transport http gasfeepredictor-mcp https://api.gasfeepredictor.com/api/mcpAdd to Settings → Connectors → Add custom connector
https://api.gasfeepredictor.com/api/mcpAdd to ~/.cursor/mcp.json
{
"mcpServers": {
"gasfeepredictor-mcp": {
"url": "https://api.gasfeepredictor.com/api/mcp"
}
}
}Add to .vscode/mcp.json
{
"servers": {
"gasfeepredictor-mcp": {
"type": "http",
"url": "https://api.gasfeepredictor.com/api/mcp"
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"gasfeepredictor-mcp": {
"serverUrl": "https://api.gasfeepredictor.com/api/mcp"
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"gasfeepredictor-mcp": {
"type": "http",
"url": "https://api.gasfeepredictor.com/api/mcp"
}
}
}Tools this server provides (7)
Taken from the project documentation; the running server may differ.
- get_current_gas
- Current Ethereum gas in Gwei, ETH price and send-now-vs-wait
- get_l2_gas
- Live Arbitrum, Base, Optimism and Polygon fees
- get_eth_price
- Current ETH/USD and 24h change
- best_time_to_transact
- Next cheaper window and expected savings
- estimate_transaction_cost
- USD cost of a transfer, swap or mint
- get_gas_forecast
- Hourly gas forecast up to 24h ahead
- get_gas_history
- Recent historical mainnet gas with min, max and average
What it does
- Live mainnet gas
- Low, average and high Gwei with the ETH price and a send-now-or-wait hint.
- L2 fee comparison
- Compare Arbitrum, Base, Optimism and Polygon wallet fees.
- Transaction cost estimates
- Estimate USD cost for transfers, swaps and NFT mints, or custom gas.
- Best time to transact
- Find the next cheaper window and expected savings.
- Forecast and history
- Hosted-only hourly forecast up to 24 hours and recent history with min, max and average.
- Cited responses
- Responses include an attribution string for agents to reuse.
Good for
- Ask whether Ethereum gas is cheap right now
- Find the cheapest L2 for a swap
- Estimate the USD cost of an NFT mint
- Decide whether to wait for a cheaper window
- Replace a retired gas API in an agent workflow
Pricing
Open source
Free API and MIT-licensed server; no key required
Prices change. Check gasfeepredictor.com before you buy.
Gas Fee Predictor FAQ
Do I need an API key?
No. It is unauthenticated and needs no account.
Which tools are hosted only?
get_gas_forecast and get_gas_history are in the hosted endpoint but not the npm package.
How do I run it locally?
Use `npx -y gasfeepredictor-mcp` with Node 18 or newer.
How fresh is the data?
The README says upstream data refreshes about every 30 to 60 seconds.
What licence is it under?
MIT.
Is Gas Fee Predictor free?
Yes. Gas Fee Predictor is open source, so you can use and self-host it for free.
How do I add Gas Fee Predictor to Claude Code?
Run this command in your terminal: claude mcp add --transport http gasfeepredictor-mcp https://api.gasfeepredictor.com/api/mcp
What are the best alternatives to Gas Fee Predictor?
The closest alternatives to Gas Fee Predictor are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.
Alternatives to Gas Fee Predictor

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 4 tools
- Remote
- Free
- Finance and payments
TribuJus
MCP serverRead-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking
Not checked yet- 5 tools
- Remote
- Open source
- Legal and government