get_current_gas
Get the current Ethereum mainnet gas price (low / average / high, in Gwei) plus the live ETH/USD price and a send-now-vs-wait recommendation. Use this to answer "what is the gas fee right now".
无需输入参数。
io.github.higherbeing由 GitHub 账号 higherbeing 发布v1.0.2更新于 Oct 24, 2026
Live Ethereum and L2 gas fees: current gas, cheapest L2, forecast, ETH price, cost estimates.
只读 MCP 服务器,让助手获取以太坊与 L2 实时 Gas 费用、ETH 价格、成本估算和 Gas 预测。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。
阅读 https://sourceweft.com/mcp/io.github.higherbeing%2Fgasfeepredictor-mcp/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"gas-fee-predictor": {
"type": "http",
"url": "https://api.gasfeepredictor.com/api/mcp"
}
}
}Live Ethereum + Layer-2 gas-fee data for AI agents, via the Model Context Protocol. Read-only, no API key, no account. Every answer carries a citation back to gasfeepredictor.com.
There are two ways to connect. Prefer the hosted one — there is nothing to install.
If your client supports remote MCP servers — ChatGPT and Claude connectors, Cursor, VS Code, and most current clients do — paste this URL and you are done:
Streamable HTTP, unauthenticated, no install, no config file, nothing to keep updated.
It exposes 7 tools — two more than the npm package (get_gas_forecast and
get_gas_history).
Verify it yourself:
For clients that speak stdio only. Requires Node ≥ 18.
Claude Desktop keeps that file at
~/Library/Application Support/Claude/claude_desktop_config.json on macOS.
Restart the client, then ask: "What's the Ethereum gas fee right now, and is it
cheaper on an L2?"
api.gasfeepredictor.com, not the apex, so automated clients are not
challenged by the CDN's bot protection.1.1.0 — get_current_gas and estimate_transaction_cost now fall back to
/api/eth-price when the dashboard payload returns ethPrice: null (upstream price
cooldown). Previously they rendered ETH ≈ $undefined or failed outright while the
price endpoint was serving fine.
来源:README.md,提交 f9c8ae4
Get the current Ethereum mainnet gas price (low / average / high, in Gwei) plus the live ETH/USD price and a send-now-vs-wait recommendation. Use this to answer "what is the gas fee right now".
无需输入参数。
Compare live Layer-2 gas fees across Arbitrum, Base, Optimism, and Polygon (Gwei and the estimated wallet fee in USD for a standard transfer), and identify the cheapest right now. Use for "cheapest L2" / "L2 gas fees" questions.
无需输入参数。
Get the current ETH/USD spot price and its 24-hour change.
无需输入参数。
Find out whether to send a transaction now or wait — returns the current recommendation, expected savings, and when the next cheaper gas window is predicted.
无需输入参数。
Estimate the current USD gas cost of a specific Ethereum mainnet action (ETH transfer, ERC-20/USDC transfer, Uniswap swap, or NFT mint), or a custom gas-units amount, at the chosen priority tier.
tieraction必填gas_unitsGet the forward-looking hourly Ethereum gas forecast (up to 24 hours ahead) with the predicted cheapest window. Use for "when will gas be cheaper", "should I wait until tomorrow", or planning a transaction.
hoursGet recent historical Ethereum mainnet gas prices over a chosen window, with min/max/average. Use to answer "what has gas been doing", "was gas cheaper yesterday", or to compare the current price against a recent baseline.
range已满足适用检查项的 100%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
https://api.gasfeepredictor.com/api/mcp{ "mcpServers": { "gasfeepredictor": { "type": "streamable-http", "url": "https://api.gasfeepredictor.com/api/mcp" } }}curl -s -X POST https://api.gasfeepredictor.com/api/mcp \ -H 'Content-Type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'{ "mcpServers": { "gasfeepredictor": { "command": "npx", "args": ["-y", "gasfeepredictor-mcp"] } }}