B

Base Gas Mcp

MCP server · by memosr

Developer Tools npm v0.3.2

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

View source ↗ Website ↗ Generate config for multiple servers More servers

Install

registry version 0.3.2

npm
npx -y base-gas-mcp

Setup by client

Pick your client — the config below is generated for this server (local stdio). Copy respects the “Pin version” switch above.

claude_desktop_config.json

{
  "mcpServers": {
    "base-gas-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "base-gas-mcp"
      ],
      "env": {
        "BUYER_PRIVATE_KEY": "<YOUR_BUYER_PRIVATE_KEY>"
      }
    }
  }
}

Format verified against the official Claude Desktop docs ↗.

Environment variables

Defined in the server's official registry manifest. Required secrets are shown as <YOUR_…> placeholders in the configs above.

  • BUYER_PRIVATE_KEY required secret — 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 — Refuse any single payment above this many USD. Default 0.05.

About this server

Distributed as npm, listed under Developer Tools. Review our MCP security guide before granting access to real data.

Frequently asked questions

How do I install Base Gas Mcp?

Run the install command shown above, then paste the config for your client (Claude Desktop, Claude Code, Cursor, VS Code or Windsurf) into its MCP settings and restart the client.

Is Base Gas Mcp free to use?

The MCP server itself is free to install. The source is public on https://github.com/memosr/base-gas-mcp. Any third-party service it calls may require its own API key and account.

Which clients support Base Gas Mcp?

Any MCP-compatible client can use it, including Claude Desktop, Claude Code, Cursor, VS Code, Windsurf and custom agents.

Add this badge

Publish this server? Link back with a badge on your README or site — copy either snippet.

Listed on MCPNav

Markdown

[![Listed on MCPNav](https://mcpnav.net/badge/base-gas-mcp.svg)](https://mcpnav.net/server/base-gas-mcp/)

HTML

<a href="https://mcpnav.net/server/base-gas-mcp/"><img src="https://mcpnav.net/badge/base-gas-mcp.svg" alt="Listed on MCPNav" height="20"></a>