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"] } }}