npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

gasfeepredictor-mcp

v1.0.1

Published

MCP server exposing live Ethereum + L2 gas fee data from Gas Fee Predictor (gasfeepredictor.com) to AI agents — Claude Desktop, OpenClaw, Cursor, Cline, and any MCP client.

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.