プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のための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の3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: その他
  • 入力が必要なもの:BUYER_PRIVATE_KEY

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

  • 基本チェック:1項目中1項目に合格
  • あなたのパソコンで、あなたのユーザーと同じ権限(ファイル、ネットワーク、アプリ)で動きます。
  • 自分で入力するもの: BUYER_PRIVATE_KEY, MAX_USD_PER_CALL

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • npmNode.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月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント memosr で確認済みです

  • … 未チェック

    今もメンテナンスされている

    このリポジトリはまだGitHubから読み取っていません

  • … 未チェック

    ライセンスがある

    このリポジトリはまだGitHubから読み取っていません

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

その他のほかのサーバーとの比較i

  • このカテゴリのほかの18348件のうち0%よりスターが多い
  • このカテゴリのほかの18348件のうち69%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの18348件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Base Gas MCPは安全ですか?

当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:BUYER_PRIVATE_KEY

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は–、最新バージョン(0.3.2)がレジストリに届いたのは20 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Spec Driven Development, Remote Desktop Commander, 好縮 Short

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Remote Desktop Commander

作者:desktop-commander

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

クラウドで動く★ 211一昨日更新
インストール

好縮 Short

作者:gooonamee

Smart URL shortener: create, tag and track short links on s.gooo.name.

クラウドで動く今日更新
インストール

作者の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に聞く