原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Base Gas MCP

作者:memosr版本 0.3.2i★ –i在你的电脑上运行
注册名称io.github.memosr/base-gas-mcp

安装

概览

作者提供的说明(英文原文)

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

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 其他
  • 你需要填写:BUYER_PRIVATE_KEY

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: BUYER_PRIVATE_KEY, MAX_USD_PER_CALL

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 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"
      }
    }
  }
}

在终端中运行这条命令

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

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

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

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • BUYER_PRIVATE_KEY 机密 必填 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.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月8日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 memosr 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“其他”中的其他服务器比较i

  • 星标数多于此分类中其他 18444 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 18444 个服务器的 68% 更新
  • 基础检查结果等于或优于此分类中其他 18444 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Base Gas MCP 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:BUYER_PRIVATE_KEY

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.3.2)于20天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Spec Driven Development, Remote Desktop Commander, Tethered Trust

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Spec Driven Development

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

作者:formulahendry起步阶段↓ 66/周★ 44014个月前更新

在你的电脑上运行

Remote Desktop Commander

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

作者:desktop-commander正在增长★ 2113天前更新

在云端运行✓ desktopcommander.app

Tethered Trust

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

作者:tetheredtrust.com非常新今天更新

在云端运行✓ tetheredtrust.com

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

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.

问 PopNx