Toll402 Mcp

dev.toll402Published by toll402.devOfficial publisherv0.5.1Updated Oct 24, 2026

Pay-per-call tools for agents: 2,600+ APIs, OAuth connector; pay with x402 or card credits.

VerifiedStreamable HTTPWeb executableWeb Search & ScrapingDeveloper ToolsBusiness & Commerce

Overview

AI-generated overview

Toll402 is a paid gateway that gives an assistant 2,600+ pay-per-call tools for web reading, PDFs, business lookup, validation and provider APIs, billed per use

What you can do
Fetch and convert web pages and PDFs to Markdown, extract structured JSON, summarize, and judge outputs against criteria. Verify email addresses, look up exchange rates, and check provenance or trusted cited sources. Search, verify, profile and shortlist businesses from a global directory. Run community tools such as GitHub repo stats, IP geolocation, RSS, npm info, crypto prices and national ID/VAT validators. Route any request through a single do tool or find the right tool in the catalog, and create new tools from a description. Review calls, check job status and view call history.
When to use it
Use it when an assistant needs many unrelated capabilities without installing separate servers, and when per-call billing is acceptable. It suits research with citations, business sourcing and verification, and quick utility calls like email or VAT checks.
Requirements
Runs as a remote endpoint or locally via npx (Node.js). Requires either a prepaid credits key in TOLL402_API_KEY or a wallet private key in TOLL402_WALLET_KEY holding USDC on Base; OAuth is declared. Optional TOLL402_MAX_USD caps spend per call, and TOLL402_URL and TOLL402_REF set the gateway and referrer. Network access is required.
Before you install
Every call costs money, charged only on success; set TOLL402_MAX_USD to limit spend. TOLL402_WALLET_KEY is a private key that can move funds, so prefer a dedicated low-balance wallet or prepaid credits. TOLL402_REF names a referrer wallet that earns a share of your calls. Tools fetch third-party URLs and send data to external providers, and some tools create listings or forge tools for a fee.

Installation

In SourceWeft

  1. Open Toll402 Mcp in the dashboard and add it to a workspace.
  2. Connect the required credentials. They are stored privately and never shown on public pages.
  3. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/dev.toll402%2Ftoll402-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.

{
  "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.

PackageInstallUse
MCP servernpx -y toll402-mcpClaude Code, Cursor, Claude Desktop, OpenClaw
JavaScript SDKnpm i toll402-clientplain, LangChain, Vercel AI SDK
Python SDKpip install toll402plain, LangChain, CrewAI
OpenClaw skillclients/openclaw/SKILL.md

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):

json
{  "mcpServers": {    "toll402": {      "command": "npx",      "args": ["-y", "toll402-mcp"],      "env": {        "TOLL402_API_KEY": "tk_..."      }    }  }}

With a wallet instead of credits (USDC on Base, pays per call via x402):

json
{  "mcpServers": {    "toll402": {      "command": "npx",      "args": ["-y", "toll402-mcp"],      "env": {        "TOLL402_WALLET_KEY": "0x...",        "TOLL402_MAX_USD": "0.25"      }    }  }}

Remote, no install (send x-toll402-key or x402 headers on the connection; ?key=tk_… in the URL for clients that cannot set headers):

json
{  "mcpServers": {    "toll402": {      "url": "https://toll402.dev/mcp",      "headers": {        "x-toll402-key": "tk_..."      }    }  }}

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-mcp and remote https://toll402.dev/mcp) ship instructions telling 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> and https://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.

Source: README.md at commit 81f0267

Tools

0
This server asks you to sign in, so SourceWeft could not read its tools without an account and has not indexed them. What a connected account sees can depend on that account and its permissions.

Version history

4
  1. v0.5.1LatestSep 29, 2026
  2. v0.5.0Sep 28, 2026
  3. v0.4.0Sep 28, 2026
  4. v0.3.5Sep 16, 2026

Score

85% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts