
Toll402 Mcp
dev.toll402由 toll402.dev 發布官方發布者v0.5.1更新於 Oct 24, 2026
Pay-per-call tools for agents: 2,600+ APIs, OAuth connector; pay with x402 or card credits.
概覽
Toll402 是按次付費的閘道,為助理提供 2600 多個工具,涵蓋網頁讀取、PDF、企業查詢、驗證與第三方 API,依呼叫計費。
- 可以做什麼
- 擷取網頁與 PDF 並轉為 Markdown,抽取結構化 JSON,產生摘要,並依標準評判輸出。驗證電子郵件地址、查詢匯率,以及檢查內容來源或附引用的可信資料。在全球企業目錄中搜尋、核實、建立企業檔案並篩選候選企業。執行社群工具,如 GitHub 儲存庫統計、IP 地理位置、RSS、npm 套件資訊、加密貨幣價格與各國稅號/證件驗證。透過統一的 do 工具轉送請求或在目錄中尋找合適工具,並可依描述建立新工具。檢視呼叫紀錄、任務狀態與歷史。
- 適用情境
- 當助理需要多種彼此不相關的功能又不想安裝多個伺服器,且能接受按次付費時適用。適合附引用的資料研究、企業尋源與核實,以及電子郵件或稅號驗證等快速工具呼叫。
- 執行需求
- 以遠端端點執行,或透過 npx(Node.js)在本機執行。需要預付額度金鑰 TOLL402_API_KEY,或持有 Base 鏈上 USDC 的錢包私鑰 TOLL402_WALLET_KEY;宣告支援 OAuth。可選 TOLL402_MAX_USD 限制單次呼叫花費,TOLL402_URL 與 TOLL402_REF 設定閘道與推薦錢包。需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Toll402 Mcp,將其新增到工作區。
- 連接 所需的 憑證。它們會被私密儲存,絕不會在公開頁面上展示。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/dev.toll402%2Ftoll402-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。 客戶端會在首次連接時完成 OAuth 登入。
{
"mcpServers": {
"toll402": {
"type": "http",
"url": "https://toll402.dev/connector/mcp"
}
}
}README
Toll402 SDKs — pay-per-call tools for AI agents
Toll402 is a gateway where AI agents get 2,600+ tools and pay per call: web reading, PDF, email/fx, provenance (human vs synthetic), trusted lookup with citations, a 4.6M-business verified directory, 50+ national ID validators, community-forged tools, 2,400+ provider API endpoints (SEO keyword/backlink data, social profiles and posts, people/company enrichment, ads, stocks and crypto, image/video generation) and 2,800+ proxied x402 services. Two ways to pay, same prices: a wallet (USDC on Base via x402, no account) or prepaid credits bought by card at https://toll402.dev/credits (API key). Charged only on success.
Docs for agents: https://toll402.dev/llms.txt · Catalog: https://toll402.dev/v1/catalog · OpenAPI: https://toll402.dev/openapi.json · Quickstart snippets: https://toll402.dev/v1/quickstart
Install (MCP)
Standard config for Claude Code, Cursor, Claude Desktop, Windsurf, OpenClaw and any MCP client (prepaid credits key from https://toll402.dev/credits):
With a wallet instead of credits (USDC on Base, pays per call via x402):
Remote, no install (send x-toll402-key or x402 headers on the connection; ?key=tk_… in the URL for clients that cannot set headers):
Paying, in one paragraph
Two rails. Credits: the operator buys a balance by card at https://toll402.dev/credits and the agent sends the key as the x-toll402-key header; each 2xx response reports x-toll402-charged and x-toll402-balance, and GET /v1/account lists every debit. x402: POST a JSON body to any tool URL; if you get 402, the PAYMENT-REQUIRED header (base64 JSON) says the price in USDC on Base (eip155:8453) and the pay-to address; sign an EIP-3009 transferWithAuthorization for that amount and retry with a PAYMENT-SIGNATURE header. Either way you are charged only when the call returns 2xx.
With a credits key you also get: one key per agent with a daily cap (POST /v1/keys, owner key), call history with the stored answers for 24 h (GET /v1/calls), reviews that move tool ranking (POST /v1/calls/<id>/review), image and video generation as async tasks refunded if they fail (202 + GET /v1/jobs/<id>), and optional automatic top-up. Over MCP: toll402_review, toll402_job, toll402_history.
Examples
See examples/agent.ts and examples/agent.py.
The gateway itself is operated by Toll402 and is not distributed. Issues and feature requests: open an issue here.
Make your agent ask Toll402 first
- System prompt snippet:
GET https://toll402.dev/v1/system-prompt(also in llms.txt and on the landing page). - The MCP servers (stdio
npx -y toll402-mcpand remotehttps://toll402.dev/mcp) shipinstructionstelling the model to call Toll402 before guessing. - Adapters in
toll402-client:/langchain,/ai(Vercel AI SDK),/agentkit(Coinbase AgentKit action providers),/eliza(ElizaOS plugin). Python:toll402.langchain,toll402.crewai. - Crawlable pages:
https://toll402.dev/catalog(by category and platform, e.g./catalog/tiktok),https://toll402.dev/directory/<cc>/<city>/<category>andhttps://toll402.dev/tools/<name>, each with JSON-LD and an agent call block. - Discovery files:
/llms.txt,/.well-known/agent-card.json,/.well-known/mcp.json,/.well-known/ai-plugin.json,/.well-known/api-catalog,/agents.json,/openapi.json,/sitemap.xml.
Tools
16 first-party tools, 167 community-forged tools and 2,496 provider API endpoints (including image and video generation), all exposed as MCP tools (the provider endpoints through find and do). Prices are per call; charged only on success.
First-party
- read_url ($0.002): Fetch any public web page (or PDF) and return clean, LLM-ready Markdown with title, metadata and links.
- pdf_to_text ($0.005): Download a PDF from a URL and return its full text, page count and title.
- verify_email ($0.001): Validate an email address: syntax, MX/A records, disposable-domain, free-provider and role-account detection, with a 0-100 score.
- fx_rate ($0.001): Exchange rate between two ISO currencies (ECB reference rates), optionally converting an amount.
- extract_structured ($0.06): Turn a web page or raw text into JSON that matches YOUR JSON Schema.
- summarize ($0.05): Faithful summary of a URL or text in the style, length and language you choose.
- judge_output ($0.07): Independent LLM-as-judge: scores a candidate output against a task and criteria (0-100), with pass/fail, issues and suggestions.
- provenance ($0.01): Human or synthetic? Provenance evidence for a URL: archive first-capture date, domain age, authorship markup, curated source tier, AI disclosures and stylometric signals, aggregated into a calibrated 0-100 human-origin score with every piece of evidence.
- trusted_lookup ($0.01): Answer from TRUSTED sources only (Wikipedia, Wikidata, arXiv, Crossref/DOI, World Bank): returns passages with URL, reliability tier and retrieval time for citation.
- business_search ($0.005): Global business directory for agents (any city in the world; unknown cities are seeded on demand).
- business_verify ($0.01): Is this business real, and is its contact info live? Give an id, website, phone or name: matches it against the directory and runs live checks now (site up, name on site, phone on site, domain age, phone format).
- business_details ($0.08): Deep profile of a business from its OWN website: crawls up to 5 relevant pages (menu, services, prices, hours, contact, booking) and returns a machine-readable profile — summary, hours (OSM syntax), services with prices, booking channels, payments, languages, social links.
- business_shortlist ($0.25): Sourcing for agents whose principal is launching or buying something: describe the need ("opening a coffee brand in Monterrey, need packaging suppliers and a designer") and get a ranked shortlist of real businesses with a reason, fit score, best contact channel, staff size from official registries, verification level and website summary when curated.
- list_service ($1): Buy a verified listing for YOUR x402 endpoint, remote MCP server or A2A agent — paid by the agent in USDC, no humans.
- forge_tool ($0.25): Create a NEW tool from a description, an input schema and test examples.
- do ($0.02): One endpoint for everything (OpenRouter-style): describe what you need and pass the input; Toll402 picks the best tool from the whole catalog (built-in, community-forged, external x402 services) and runs it.
Community-forged (sample)
- github_repo_stats ($0.003): Stars, forks, open issues, license and last push for a GitHub repo via https://api.github.com/repos//.
- ip_geolocate ($0.002): Country, region, city, timezone and ASN for an IPv4/IPv6 address via https://ipapi.co//json/.
- hn_top ($0.005): Top N Hacker News stories (title, url, score) via https://hacker-news.firebaseio.com/v0/topstories.json and /v0/item/.json.
- rss_latest ($0.003): Parse an RSS/Atom feed URL and return the latest N items (title, link, published).
- npm_package_info ($0.003): Latest version, description, license, weekly downloads (via api.npmjs.org) and homepage for an npm package.
- text_stats ($0.001): Word/sentence/paragraph counts, reading time (200 wpm), top 10 keywords (stopwords removed) for a text.
- url_status ($0.001): HTTP status, final content-type and response size for a URL (HEAD then GET fallback).
- wikipedia_summary ($0.002): Summary extract and canonical URL for a Wikipedia topic via https://.wikipedia.org/api/rest_v1/page/summary/
- json_schema_validate ($0.001): Validate a JSON value against a JSON Schema subset (type, properties, required, enum, minimum/maximum, minLength/maxLength, items) and retur.
- crypto_price ($0.002): Spot price in USD for a crypto asset symbol using https://api.coinbase.com/v2/prices/-USD/spot.
- jsonld_extract ($0.003): Fetches a public URL, extracts all
- mst_vn_validate ($0.001): Offline structural validator for a Vietnamese Enterprise/Tax Code (Mã số thuế, MST).
- partita_iva_validate ($0.001): Offline validator for an Italian Partita IVA (VAT number): verifies the value is 11 numeric digits and recomputes the Luhn-like check digit .
- pan_in_validate ($0.001): Offline validator for an Indian PAN (Permanent Account Number): normalizes input to uppercase, checks the 10-character AAAAA9999A pattern, a.
- siren_validate ($0.001): Offline validator for a French SIREN (9-digit business identifier).
- cin_in_validate ($0.001): Offline structural validator for an Indian CIN (Corporate Identity Number, 21 characters).
- vat_fr_validate ($0.001): Offline validator for a French VAT number (TVA intracommunautaire, e.g.
- cpr_dk_validate ($0.001): Offline validator/normalizer for a Danish CPR-nummer (personal identification number, format DDMMYY-SSSS).
- cvr_dk_validate ($0.001): Offline validator for a Danish CVR-nummer (8-digit business registration number issued by the Danish Business Authority).
- rrn_be_validate ($0.001): Offline validator for a Belgian National Register Number (Rijksregisternummer / Numéro de registre national), format YYMMDDXXXCC.
…and 147 more forged tools plus 2,466 provider API endpoints (SEO, social, enrichment, ads, market data, AI generation): browse at https://toll402.dev/catalog or call find with what you need.
Get listed (paid listings, agent-native)
Own an x402 endpoint, a remote MCP server or an A2A agent? Buy a verified listing (x402 or credits), no humans, no forms: POST https://toll402.dev/v1/listings/quote (free live verification + price), then POST https://toll402.dev/v1/listings via any x402 client or with your credits key. basic $1 · featured $5 per 30 days. Listed services rank higher in /v1/find and the /v1/do router and appear in the catalog, llms.txt, the agent card and the landing. Charged only when verification passes. Current listings: GET https://toll402.dev/v1/listings.
來源:README.md,提交 81f0267
工具
0版本歷史
4- v0.5.1最新Sep 29, 2026
- v0.5.0Sep 28, 2026
- v0.4.0Sep 28, 2026
- v0.3.5Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
