paid-mcp-metering
paid-mcp-metering
按调用次数计费的 MCP 工具。
服务发现免费:POST /mcp 遵循 Model Context Protocol 规范,采用 JSON-RPC 2.0(initialize、tools/list、ping)。执行按量计费:POST /v1/t/{tool} 位于 x402 v2 付费墙之后。未付费请求会收到 HTTP 402 及支付要求;已付费请求携带 PAYMENT-SIGNATURE 请求头,并在工具运行前通过 facilitator 完成 USDC 结算。
工具
工具 | 价格 | 返回内容 |
| $0.001/次 | 按相关性排序的实时网页结果及来源 URL |
| $0.01/次 | 多来源研究过程,返回综合答案及引用来源 |
上游为 Exa(主)和 Tavily(备)。每个处理器实时返回上游输出,否则直接抛出异常——绝无预置响应。
Related MCP server: Base Intel Search
支付轨道(Rails)
x402 v2、USDC、EIP-155 网络由 X402_NETWORK 指定(默认 Base Sepolia 测试网,CAIP-2 为 eip155:84532)。Facilitator 默认为 https://x402.org/facilitator。
环境变量 | 用途 |
| 收款地址。结算必需;未设置时仅返回 402 支付要求 |
| CAIP-2 网络 ID(默认 |
| x402 facilitator 端点 |
| 搜索上游服务的凭据 |
运行
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 Registry,标识为 io.github.dev55acc-ai/paid-mcp-metering。打上 v* 标签将触发 .github/workflows/publish-mcp.yml:测试、构建、npm 发布(设置了 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