
AgentPay (all tools)
io.github.noah-silverv1.1.0更新于 Oct 1, 2026
Pay-per-call web extract, DNS/WHOIS/IP lookup, PDF/RSS/sitemap tools. x402 USDC on Base/Algorand.
概览
远程 MCP 服务器,让助手按次付费完成网页正文提取、DNS/WHOIS/IP 查询,以及 PDF、订阅源和站点地图解析。
- 功能
- 提供八个付费工具:extract_page 将任意 URL 转为干净的 markdown 及元数据和链接;lookup_dns、lookup_whois、lookup_ip 和 lookup_domain_report 返回 DNS 记录、RDAP 注册信息、IP 归属以及合并的域名报告;tools_pdf_text、tools_feed 和 tools_sitemap 返回 PDF 逐页文本、规范化后的 RSS/Atom/JSON 订阅条目和站点 URL 列表。列出工具免费,每次工具调用按请求计费。
- 适用场景
- 适合助手需要实时网页内容、域名或网络情报,或需要解析文档与订阅源,而不想自行搭建抓取和查询客户端的场景。也适合调用量不大、按次付费比订阅更划算的用途。
- 运行要求
- 使用远程 Streamable HTTP 端点,无需本地运行时或安装包。需要具备 x402 支付能力的客户端并在 Base 或 Algorand 上持有 USDC 钱包,或使用预付费额度 API 密钥,通过 Authorization 请求头以 Bearer 方式发送。需要能访问 AgentPay 的主机。
安装
在 SourceWeft 中
- 打开 控制台中的 AgentPay (all tools),将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"agentpay-bundle": {
"type": "http",
"url": "https://agentpay.agentpay-apis.workers.dev/mcp"
}
}
}README
AgentPay — pay-per-call APIs and MCP tools for AI agents
Web extraction, domain/network intelligence, and document tools that agents can use without signing up. Pay per request with x402 in USDC on Base or Algorand, or prepay credits for an API key. Every product is available as a REST API and as a remote MCP server.
Machine-readable docs: /llms.txt ·
/openapi.json ·
/.well-known/x402
Endpoints and pricing
Same price on Base and Algorand. Invalid input is rejected before payment, and x402 payments are only settled if the call succeeds — failed calls cost nothing.
Paying
x402 (no account)
Call any endpoint. You get 402 Payment Required with a base64 PAYMENT-REQUIRED header (x402 v2) offering:
- Base —
eip155:8453, USDC0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, exact scheme (EIP-3009) - Algorand —
algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k, USDC ASA31566704, exact scheme
Any x402 v2 client handles this automatically:
Full example for both networks: examples/x402-client.mjs.
Prepaid credits (fastest for repeated use)
GET https://agentpay.agentpay-apis.workers.dev/credits/buy?usd=5 (paid once via x402) returns { "apiKey": "ak_…" }.
Send Authorization: Bearer ak_… on any endpoint or MCP server. Failed calls are refunded automatically.
Balance: GET /credits/balance. Algorand holders can also pay by transfer: examples/buy-credits.mjs.
Using the MCP servers
Remote MCP over Streamable HTTP. Listing tools is free; tool calls are paid via x402
(params._meta["x402/payment"], per the x402 MCP transport) or with a credits key header.
Claude Code
Cursor / Claude Desktop / any client with remote MCP support
Example responses
GET /lookup/v1/whois?domain=anthropic.com
GET /lookup/v1/ip?ip=1.1.1.1
Data sources
DNS over HTTPS (Cloudflare 1.1.1.1), IANA RDAP bootstrap → authoritative registry RDAP servers, and the regional internet registries. Web, PDF, feed and sitemap tools fetch the URL you provide at request time.
Support
Open an issue in this repository.
来源:README.md,提交 5df9d36
工具
0版本历史
1- v1.1.0最新Oct 1, 2026
