
Agent Data Tools
io.github.Nutshell2000v1.0.0更新於 Oct 9, 2026
Pay-per-call web, AI and Base on-chain tools for agents. Paid per call in USDC via x402.
概覽
一個遠端 MCP 伺服器,按次收費提供九種工具:網頁擷取、摘要、截圖、影像生成、轉錄、影像描述、網域查詢與 Base 鏈上查詢。
- 功能
- 透過串流 HTTP 提供九種工具:網頁正文擷取、網頁摘要、網頁截圖、影像生成、音訊轉錄、影像描述、網域與 DNS 及郵件驗證查詢、Base ERC-20 代幣資訊與風險標記、Base 錢包餘額。列出工具免費;每次呼叫透過 x402 協定以 Base 上的 USDC 付費,價格從 0.002 美元到 0.02 美元不等。未付費的呼叫會回傳付款要求,失敗的呼叫不收費。
- 適用情境
- 適合助理偶爾需要網頁擷取、摘要、截圖、轉錄或 Base 鏈上資料,而不想自行執行瀏覽器、AI 模型或 RPC 基礎設施的情境。適用於已支援在 Base 上以 USDC 進行 x402 付款的代理。
- 執行需求
- 遠端 MCP 端點,不需要本機執行環境或套件。需要支援 x402 付款的 MCP 用戶端,以及 Base 上已儲值的 USDC 錢包,因為每次工具呼叫都要付費。需要能存取該端點及 Base 網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Agent Data Tools,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"agent-data-tools": {
"type": "http",
"url": "https://agent-data-tools.peterbellbring.workers.dev/mcp"
}
}
}README
Agent Data Tools
A Cloudflare Worker that sells nine tools to AI agents. Each call is paid in USDC on Base through the x402 protocol, and the money goes straight to the address in PAY_TO.
The AI endpoints run on Workers AI and /screenshot on Browser Rendering, both within Cloudflare's free daily allowance (10,000 AI "neurons" and 10 browser-minutes). When either runs out, or the browser is rate limited, the endpoint answers 503 and the caller is not charged.
Free routes: / (a web page for browsers, JSON for programs), /openapi.json, /llms.txt, /robots.txt, /health, /.well-known/x402, /.well-known/mcp/server-card.json, /.well-known/api-catalog.
MCP
The same nine tools are available as an MCP server at /mcp (streamable HTTP, stateless). Listing tools is free. Calling a tool without payment returns an x402 payment requirement; an MCP client with x402 support pays and retries. A tool call that fails is not charged.
Each tool is defined once in src/discovery.ts (name, price, parameters) and implemented once in src/tools.ts; the HTTP route, the MCP tool, the OpenAPI document and the web page are all generated from those.
Where it is listed
- Official MCP Registry: listed as
io.github.Nutshell2000/agent-data-tools. To publish a new version, raiseversioninserver.jsonand push a matchingv*tag; the workflow in.github/workflows/publish-mcp.ymldoes the rest on GitHub's servers. - 402 Index (https://402index.io): all nine endpoints registered on 8 October 2026, pending their review.
- x402scan: not yet. Needs a wallet sign-in at https://www.x402scan.com/resources/register.
- Coinbase Bazaar: not yet. See below.
An unpaid request gets HTTP 402 with a PAYMENT-REQUIRED header. Calls that fail (4xx/5xx) are not charged.
Configuration
All settings are in wrangler.jsonc:
PAY_TO: the address that receives payments.NETWORK:eip155:8453for Base mainnet.FACILITATOR_URL: the service that verifies and broadcasts payments.PAYWALL: set tooffonly for local testing.
Commands
wrangler tail streams live requests, which is the quickest way to see whether anyone is calling the service.
On Windows, wrangler dev can fail with SQLITE_CANTOPEN when the project path is long. Add --persist-to with a short folder path to fix it.
To try /screenshot without the paywall, use npx wrangler dev --remote --var PAYWALL:off. It runs on Cloudflare, so no browser is downloaded to this PC.
Listing in the Coinbase Bazaar
The default facilitator needs no account. To appear in Coinbase's x402 Bazaar, payments must go through the Coinbase CDP facilitator:
-
Create a free API key at https://portal.cdp.coinbase.com.
-
Store it as Worker secrets (you'll be prompted for each value):
-
In
wrangler.jsonc, setFACILITATOR_URLtohttps://api.cdp.coinbase.com/platform/v2/x402and deploy.
The Bazaar indexes an endpoint after its first settled payment. The CDP path has not been tested end to end, because that needs a real key.
Checking that it works
Live URL: https://agent-data-tools.peterbellbring.workers.dev
Coinbase runs a free validator. A pass shows "valid":true and "simulation":{"outcome":"accepted"}:
Incoming payments show up as USDC transfers to PAY_TO on https://basescan.org.
Limits
/extractreads at most 2 MB of a page and waits at most 8 seconds for it./tokenand/walletuse the public Base RPC, which is rate limited. SetBASE_RPC_URLto a private endpoint if volume grows.- Token capability flags are bytecode heuristics, and for a proxy they describe the proxy, not its implementation.
來源:README.md,提交 09a76de
工具
0版本歷史
1- v1.0.0最新Oct 9, 2026

