paid-mcp-metering
paid-mcp-metering
呼び出しごとに課金される従量制 MCP ツール。
探索は無料:POST /mcp は JSON-RPC 2.0 を Model Context Protocol に従って扱います(initialize、tools/list、ping)。実行は従量課金:POST /v1/t/{tool} は x402 v2 のペイウォールの背後にあります。未払いのリクエストには HTTP 402 を返して支払い情報を提示し、支払い済みのリクエストは PAYMENT-SIGNATURE ヘッダーを付け、ツールの実行前にファシリテーターを介して USDC を決済します。
ツール
ツール | 価格 | 返す内容 |
| $0.001/呼び出し | ソース URL 付きのランキング済みライブ Web 検索結果 |
| $0.01/呼び出し | 複数ソースによる調査で、統合された回答と引用ソースを返す |
アップストリームは Exa(プライマリ)と Tavily(フォールバック)です。各ハンドラーは最新のアップストリーム結果を返すか例外を投げます。固定された応答はありません。
Related MCP server: Base Intel Search
決済レール
x402 v2、USDC、そして EIP-155 ネットワークは X402_NETWORK で選択します(デフォルトは Base Sepolia テストネット、CAIP-2 eip155:84532)。ファシリテーターのデフォルトは https://x402.org/facilitator です。
環境変数 | 目的 |
| 受け取りアドレス。決済に必須。未設定の場合、402 要件のみを返す |
| CAIP-2 ネットワーク ID(デフォルトは |
| x402 ファシリテーターのエンドポイント |
| 検索アップストリームの認証情報 |
実行
npm install
npm run build
npm start # node dist/x402-server.js
npm test # build + node --test dist/test-x402.js無料の探索:
curl -s localhost:4021/mcp -H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'有料の実行:
curl -s localhost:4021/v1/t/web_search -H 'Content-Type: application/json' \
-d '{"query":"x402 protocol","max_results":3}'
# -> 402 with payment requirements; pay via an x402 client and retry with PAYMENT-SIGNATUREレジストリ
server.json は、公式の MCP レジストリで io.github.dev55acc-ai/paid-mcp-metering として指定しています。v* タグを付けると .github/workflows/publish-mcp.yml が実行されます。テスト、ビルド、npm publish(NPM_TOKEN が設定されている場合)、そして GitHub OIDC によって認証されたレジストリ公開です。保存されたレジストリ資格情報は不要です。
ライセンス
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityAmaintenancePaid web research MCP tools for autonomous agents: search, page extraction, citations, and diff monitoring through a live x402 API. Unpaid calls return the Base USDC payment requirement so agents can pay and retry safely.41MIT
- AlicenseNot gradedqualityCmaintenancePay-per-call web search for AI agents, settled in USDC on Base via the x402 protocol. No API key or subscription required; users fund a wallet and get a web_search tool.101MIT
- AlicenseBqualityCmaintenanceExposes 25 paid API endpoints as MCP tools for AI agents, with payments in USDC on Base mainnet via the x402 protocol, enabling tasks like web search, company intelligence, and crypto research.2568MIT
- AlicenseNot gradedqualityCmaintenanceMCP server that provides AI agents with pay-per-call access to a suite of tools (honeypot check, token market, DeFi yields, etc.) via USDC on Base using the x402 protocol.23MIT
Related MCP Connectors
63 pay-per-call tools for agents: vision, text, data, web, blockchain. USDC on Base via x402.
x402-paid agent tools: 18 over HTTP, 14 over stdio. USDC per call, no API key.
Pay-per-call web scraping for AI agents via x402 on Base USDC. Six tools, no signup.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/dev55acc-ai/paid-mcp-metering'
If you have feedback or need assistance with the MCP directory API, please join our Discord server