Prototype · Preview: every server in the official registry, synced every 30 minutes. Reviews and accounts come in a later step.
PopNx MCPMCP servers for people who use AI · explained in plain words

Base Gas MCP

by memosrversion 0.3.2i★ –iRuns on your computer
Registry nameio.github.memosr/base-gas-mcp

Install

Overview

Description from the maker (original English)

Live Base gas, tx cost in USD, 4-chain comparison and gas history. Paid per call in USDC via x402.

PopNx MCP’s three pillars

These three are never merged into one score: opinions, measurements and popularity are different things.

What you can do with it

We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.

  • Connection: Runs on your computer
  • Transport: stdio
  • Category: Other
  • You need to fill in: BUYER_PRIVATE_KEY

Install

Pick the AI app you use, then copy the settings.

Before you install

  • Basic checks: 1 of 1 passed
  • Runs on your computer with your user’s permissions (files, network, apps).
  • You fill in yourself: BUYER_PRIVATE_KEY, MAX_USD_PER_CALL

Values marked secret are keys to your account. Never share them or paste them into a chat.

You need

  • npmNode.js installed (for the npx command)

Which app do you use?

Pick your app above. We remember it, so next time the button says “Install in …”.

Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json

{
  "mcpServers": {
    "base-gas": {
      "command": "npx",
      "args": [
        "-y",
        "base-gas-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY": "your-value",
        "MAX_USD_PER_CALL": "your-value"
      }
    }
  }
}

Run this in your terminal

claude mcp add base-gas --env BUYER_PRIVATE_KEY=your-value --env MAX_USD_PER_CALL=your-value -- npx -y base-gas-mcp

Fill in the empty values before running it.

Open in Cursor

Or copy the settings yourself

Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json

{
  "mcpServers": {
    "base-gas": {
      "command": "npx",
      "args": [
        "-y",
        "base-gas-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY": "your-value",
        "MAX_USD_PER_CALL": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

Open in VS Code

Or copy the settings yourself

Paste into .vscode/mcp.json in your project

{
  "servers": {
    "base-gas": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "base-gas-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY": "your-value",
        "MAX_USD_PER_CALL": "your-value"
      }
    }
  }
}

Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.

This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.

Your choice stays on this device in a cookie; no account needed.

Values you fill in

  • BUYER_PRIVATE_KEY secret required env
    Private key of a Base mainnet wallet holding a little USDC. Pays $0.002 to $0.02 per call. Use a separate wallet with small funds.
  • MAX_USD_PER_CALL env
    Refuse any single payment above this many USD. Default 0.05.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 8, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account memosr, which owns the repo

  • … Not checked yet

    Still maintained

    We have not read this repo from GitHub yet

  • … Not checked yet

    Has a licence

    We have not read this repo from GitHub yet

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Compared with others in Otheri

  • More stars than 0% of the other 18436 servers in this category
  • Published to the registry more recently than 68% of the other 18436 servers in this category
  • Basic checks equal to or better than 100% of the other 18436 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Base Gas MCP safe?

It passed 1 of 1 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: BUYER_PRIVATE_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed –, and the latest version (0.3.2) reached the registry 20 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Spec Driven Development, Remote Desktop Commander, Tethered Trust

Alternatives

Servers in the same category from other makers, sorted by stars.

Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Spec Driven Development

by formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

Runs on your computer★ 440MITUpdated 14 months ago
Install

Remote Desktop Commander

by desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

Runs in the cloud★ 211Updated 3 days ago
Install

Tethered Trust

by tetheredtrust.com

Fit, compatibility and recall checks for AI agents before they buy: verdicts, evidence, receipts.

Runs in the cloudUpdated today
Install

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

base-gas-mcp

An MCP server for live Base gas data, paid per call in USDC over the x402 payment protocol. No API key and no account: the agent pays a fraction of a cent from a wallet you control.

It answers the questions an RPC call cannot: what a transaction costs in dollars, which chain is cheapest right now, whether gas is high or low, and which hours to avoid.

Tools

ToolPriceWhat it returns
get_base_gas~$0.002Base fee, low/medium/high priority fees, the cost of a transaction in USD, ETH and gwei, and ready-to-sign maxFeePerGas / maxPriorityFeePerGas (wei). Optional gasLimit.
compare_gas_costs~$0.01The same transaction on Base, OP Mainnet, Arbitrum One and Ethereum, in USD, cheapest first. Optional gasLimit.
get_gas_history~$0.01Base gas over the last hours (default 24): min/max/average/median and whether gas is cheap, normal, expensive or flat now.
get_cheapest_window~$0.02From 7 days of history: hours to avoid, cheapest hour (UTC), and the saving in percent and USD.
get_service_statusfreeWhether the service is up and how much history it has collected. Needs no wallet.

Prices are set by the endpoint and published in its OpenAPI document. Every paid result includes the settlement transaction hash.

gasLimit guide: 21000 ETH transfer (default), ~65000 ERC-20 transfer, ~85000 NFT mint, ~180000 Uniswap swap, ~1500000 contract deploy.

Safety

  • The server only ever pays one origin, set by you (BASE_GAS_ORIGIN, defaulting to the live base-gas-x402 API). No tool takes a URL, so text the model reads cannot redirect your wallet to another paid endpoint.
  • Per-payment cap. Any payment above MAX_USD_PER_CALL (default 0.05) is refused before anything is signed.
  • Payments are EIP-3009 authorizations: the wallet needs USDC only, no ETH.
  • Use a separate wallet holding a few dollars. The key is read from the environment to sign payments and is never logged or returned.

The paid data source is a companion project: base-gas-x402.

Installation

Requirements

  • Node.js 18 or newer (built-in fetch is required)
  • A Base mainnet wallet holding a little USDC (no ETH needed)
git clone https://github.com/memosr/base-gas-mcp.git

cd base-gas-mcp npm install

Pass BUYER_PRIVATE_KEY through your MCP client's config (see below). The server does not read a .env file.

Or run the published package directly with npx base-gas-mcp (see the config blocks below).

Getting a buyer key

BUYER_PRIVATE_KEY is the private key of a Base mainnet wallet. Create a fresh wallet (for example in MetaMask, Coinbase Wallet, or with cast wallet new), export its private key, and fund it on Base with a few dollars of USDC.

Warning: this is a real private key that controls real funds.

Use a separate, disposable wallet holding only small amounts. Never reuse a key from a wallet with significant funds, never commit it to git, and never paste it into chat. The server reads it only to sign payments and never logs or returns it.

Environment variables
VariableRequiredDescription
BUYER_PRIVATE_KEYYes32-byte hex private key (64 hex chars, 0x prefix optional) of a funded Base mainnet wallet.
MAX_USD_PER_CALLNoRefuse any single payment above this many USD. Default 0.05.
BASE_GAS_ORIGINNoThe only origin the server pays. Defaults to https://base-gas-x402-production.up.railway.app.
BUILDER_CODENoBase Builder Code attached to the payment payload for attribution. Defaults to bc_lhfd8zad.

Configuration

Claude Desktop

Add to claude_desktop_config.json (macOS: ~/Library/Application Support/Claude/claude_desktop_config.json, Windows: %APPDATA%\Claude\claude_desktop_config.json), then restart Claude Desktop:

{

"mcpServers": { "base-gas": { "command": "npx", "args": ["-y", "base-gas-mcp"], "env": { "BUYER_PRIVATE_KEY": "0xYOUR_FUNDED_BASE_MAINNET_PRIVATE_KEY" } } } }

To run from a local clone instead, point command at Node and use the absolute path to the server:

{

"mcpServers": { "base-gas": { "command": "node", "args": ["/absolute/path/to/base-gas-mcp/src/server.js"], "env": { "BUYER_PRIVATE_KEY": "0xYOUR_FUNDED_BASE_MAINNET_PRIVATE_KEY" } } } }

Claude Code
claude mcp add base-gas \

--env BUYER_PRIVATE_KEY=0xYOUR_FUNDED_BASE_MAINNET_PRIVATE_KEY \ -- npx -y base-gas-mcp

Or from a local clone:

claude mcp add base-gas \

--env BUYER_PRIVATE_KEY=0xYOUR_FUNDED_BASE_MAINNET_PRIVATE_KEY \ -- node /absolute/path/to/base-gas-mcp/src/server.js

The server reads its settings only from the environment the client passes. It does not load a .env file (since 0.3.1), so a .env in whatever folder the client opens cannot change where the wallet pays.

Example usage

Once configured, ask your agent:

  • "What does a Uniswap swap on Base cost right now, in dollars?" (get_base_gas with gasLimit 180000)
  • "Is Base or Arbitrum cheaper for a token transfer at the moment?" (compare_gas_costs)
  • "Is Base gas high right now, or should I wait?" (get_gas_history)
  • "When should I schedule a batch of transactions on Base?" (get_cheapest_window)

Each of these is one paid call. Check get_service_status first for free.

Tech stack

  • Node.js (ESM), served over stdio transport
  • @modelcontextprotocol/sdk for the MCP server
  • @x402/fetch, @x402/evm, and @x402/extensions for the payment-wrapped fetch, the EIP-3009 exact payment scheme, and builder-code attribution
  • viem for account handling and signing
  • zod for input validation

License

MIT, copyright (c) 2026 memosr.

Ask PopNx