Agent402: 500+ tools, metered models and finished reports for AI agents
Live at agent402.tools.
The paid door for AI agents: 500+ tools, metered models and finished reports, paid per call in USDC over x402 and MPP, or by card. The applied layer of Agentic Finance. Open source, self-hostable, MCP-native.
Operated by Havok Holdings LLC · Live · Why pay here · Receipts · Status · Security · Company
Try it in 30 seconds: claude mcp add agent402 -- npx -y agent402-mcp@0.13.22, or paste https://agent402.tools/mcp into any MCP client. The free tier needs no wallet. Verified setup blocks for Cursor, VS Code, Windsurf, Cline, Roo Code, Codex CLI, Gemini CLI, Continue, ElizaOS and AgentCore: agent402.tools/guides/agent-hosts (shortlinks agent402.sh/<host>, e.g. agent402.sh/cursor).
Who pays: agents pay per call (from $0.001; models metered under a quoted ceiling and settled at actual usage); people buy finished reports ($2 to $5) and monitors ($5 a month) by card; sites charge crawlers with the tollbooth.
What Agent402 is
Agentic Finance is software agents paying and getting paid on their own: discovering a service, paying per request from a wallet over open protocols (x402, MPP), receiving a verifiable receipt, and earning per request in return. Agent402 is its applied layer - explainer: agent402.tools/agentic-finance · glossary.
Selling an x402 API? List it on the index for free at
/sell(POST /api/index/register: self-serve, no signup, 0% take). The router sends buyers to a seller once its routes show settled payments from several independent buyers; calls priced at $0.01 or less can be tried before that, marked unproven on the buyer's receipt. Charging crawlers on your own site instead?agent402-tollboothputs a 402 gate in front of it.What makes it different: Agent402 is open-source and self-hostable - and a single integration gives a buyer three free primitives over the whole x402 ecosystem:
- Find -
/api/find?q={task}resolves a task description to the best-matching tools (route, price, schema, ready example).- Route -
POST /api/routeis the neutral Smart Order Router: rank tools across every x402 seller crawled (auto-discovered from the Coinbase CDP Bazaar), health-aware, withinclude=externalto exclude us. The response returns the top N and carriesmatchedfor how many scored.- Leaderboard -
GET /api/leaderboardis the public on-chain ranking of x402 sellers by Base USDC settled volume - calls served, totalUsd, unique buyers per seller. It returns the top N, never the whole board (25 by default, 50 the ceiling;totalSellerscarries the full count). Pipeline: Bazaar →eth_getLogs→ per-call ceiling → aggregate bypayTo. Hourly snapshot.Plus the catalog - 500+ strong: search/answer as the MCP front door, then 500+ tools and curated skill packs (multi-tool workflows callable as MCP prompts) - all runnable yourself, plus
agent402-tollbooth- an open pay-per-crawl gate for the other side of x402.Two doors, two price lists. Agents pay per call in USDC (x402 / MPP) or free via proof-of-work, and a finished report costs $0.60 to $2.00 that way. People pay by card: the same reports at agent402.tools/reports (company dossier, 13F fund report, insider flow, market brief, deep research, FDA recall, domain audit) are $2 to $5, monitors that re-run on change at /monitors are $5 a month, and a prepaid credits key pays per successful call on Agent402's own services (
Authorization: Bearer a402_…; /credits says whether packs are on sale). The card price includes payment processing. An agent paying per call pays the lower tool price for the same report.Two payment wires, one URL. Every paid endpoint accepts x402 (
PAYMENT-SIGNATURE, USDC on 12 chains or USDG on Robinhood Chain) and MPP (Machine Payments Protocol, the IETF-trackPaymentHTTP auth scheme co-authored by Tempo and Stripe): the same 402 carries both, anmppxclient pays out of the box, and MPP settles on Base and Celo (USDC), natively on Tempo (USDC.e or PathUSD via Tempo's relay), or by card over MPP (Stripestripe/charge, offered on routes priced $0.50 and up when the operator configures it). The MPP marketplace lists every MPP seller we can verify live. Details: What is MPP · live MPP settlements.
Framework adapters (drop-in tools for the major agent stacks - auto-payment underneath):
500+ strong - live web search and cited answers as the MCP front door, then ready-to-use web tools and multi-tool skill packs for your AI agent, from one server. Every one priced per call and settled on-chain. Browser
rendering, web search, PDFs, images, OCR, live financial/crypto/macro data, SEC EDGAR, deterministic stats, forecasting, and options/bond pricing (Black-Scholes, YTM), compression, and 150+ pure-CPU utilities. Run it yourself for free in 30 seconds (MCP or
plain HTTP, no API keys, no signup - the free tier and x402/MPP payments never
need a key; only a prepaid credits key is a bearer key), connect
it to Claude/ChatGPT/any MCP client, and add your own tools in a few lines.
No language model writes a utility tool's answer, and every tool CI can run
without a third-party key is re-tested against its own example before every release. The model-backed
surfaces are explicit and priced as such: the /v1 gateway (metered under a
quoted ceiling, or flat tiers) and the finished report products (/v1/research, /v1/dossier, ... below).
Optionally, the same server can charge per call over the x402 protocol (USDC on Base, Solana, Polygon, Arbitrum, Monad, Celo, Avalanche, Sei, Optimism, Arc, Stellar & Algorand, plus USDG on Robinhood Chain - 13 chains) - so the instance you self-host for free can also be a hosted, monetized one. Free mode is one setting (
FREE_MODE=true); a paid instance needs a payout wallet.
🟢 Hosted demo: agent402.tools · 📖 Wiki · 📦 npm · 🔌 MCP Registry · 🧩 Smithery
Run it yourself in 30 seconds
Pick whichever fits. They are all free and need no wallet:
1. Zero install - add the hosted connector to Claude (claude.ai → Settings → Connectors → Add custom connector):
https://agent402.tools/mcp
2. One command - run the MCP server locally (the pure-CPU tools work with no key; it pays the tiny proof-of-work for you):
npx -y agent402-mcp@0.13.22
# in Claude Code: claude mcp add agent402 -- npx -y agent402-mcp@0.13.22
3. Clone and host the whole thing (all 500+ tools as an HTTP API + MCP, free mode, no payments):
git clone https://github.com/MikeyPetrillo/Agent402 && cd Agent402
npm install
FREE_MODE=true npm start # → http://localhost:3000 (HTTP API + /mcp)
# try a tool over HTTP - no auth in free mode
curl -s -X POST localhost:3000/api/hash -H 'content-type: application/json' \
-d '{"text":"hello world","algo":"sha256"}'
4. One-click deploy to Railway (full self-hosted instance - adds optional Postgres + Redis plugins for analytics + response caching):
Boots straight from the repo's Dockerfile. Optional plugins are auto-detected via env: add Redis → REDIS_URL enables the upstream response cache (X-Cache: hit|miss), add Postgres → DATABASE_URL enables the public /api/analytics dashboard. No env vars required to boot in free mode.
Pay per call from a wallet
Every paid route answers 402 with both an x402 offer and MPP challenges, so either client pays it. No API key, no signup: the wallet is the account.
MPP (USDC.e or PathUSD on Tempo, listed first in the 402, or USDC on Base or Celo) with mppx:
import { Mppx, tempo, evm } from "mppx/client";
const account = (await import("viem/accounts")).privateKeyToAccount(process.env.AGENT_KEY);
const res = await Mppx.create({ methods: [tempo.charge({ account }), evm.charge({ account })] }).fetch("https://agent402.tools/api/uuid");
x402 (USDC on Base and other chains) with @x402/fetch:
import { wrapFetchWithPayment } from "@x402/fetch"; import { x402Client } from "@x402/core/client"; import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client(); registerExactEvmScheme(client, { signer: (await import("viem/accounts")).privateKeyToAccount(process.env.AGENT_KEY) });
const res = await wrapFetchWithPayment(fetch, client)("https://agent402.tools/api/uuid");
More: Paying with MPP · Paying with x402.
What's in the catalog (500+ tools)
Every tool earns its place: priced to market and settled on-chain, and every tool CI can run without a third-party key is tested against its own example on every CI run. CI holds a 400-entry catalog floor and verifies the “500+” claim against the running catalog (
scripts/sync-count.js --check). The catalog grows only when a tool is worth calling.
| Examples | |
|---|---|
| Browser & web | render (headless Chromium, executes JS), screenshot, extract (article→markdown), meta |
| Live search & answers | search (real web index), search-lite (a quick 5-result sample), answer (web answer with citations), search-news/search-images/search-videos variants, search-suggest, multi-search |
| PDFs & media | pdf-to-markdown, pdf-merge, pdf-extract-pages, pdf-rotate, images-to-pdf, audio-convert, audio-normalize (EBU R128, real ffmpeg) |
| Images | image-resize, image-convert, image-thumbnail, barcode-decode (jimp/zxing, pure-CPU) |
| OCR | image-ocr (text out of any image - pure-CPU, no model) |
| Geo | geo-distance (haversine, pure-CPU), geocode, reverse-geocode, place-search, geo-lookup |
| Live data | fx-rate (ECB), barcode-lookup (Open Food Facts), gov-data (data.gov), weather-forecast/weather-alerts, earthquakes (USGS) |
| Finance & crypto | stock-quote/stock-history (a licensed feed, multi-venue consolidation), crypto-price/crypto-market/crypto-history/crypto-trending/crypto-global (CoinGecko) |
| Crypto derivatives & options | perp-markets, perp-funding, perp-funding-screener, perp-basis, perp-open-interest, perp-klines, perp-orderbook (live perpetuals: mark/oracle price, funding, OI, candles, depth); options-summary, crypto-options-chain, options-ticker, options-volume (options book, IV and greeks, onchain options volume) - $0.001 to $0.005 a call, no exchange account |
| DeFi & stablecoins | defi-yields (screen pools by chain, project, TVL and stablecoin-only), defi-yield-history, defi-protocols, defi-protocol, defi-chains, defi-chain-tvl-history, defi-fees, defi-dex-volume, stablecoins, stablecoin-supply-history - $0.001 to $0.003 a call |
| Solana token intel | sol-token-pairs, sol-token-search, sol-trending, sol-price, sol-swap-quote, sol-token-lookup - markets, prices and routing for any mint |
| Crypto market coverage | crypto-news, crypto-indicators (RSI, MACD, moving averages, computed here), crypto-market-pulse, coin-profile, coin-history, coin-ohlc, coin-market-chart-range, coin-categories, coin-price-by-contract (price by token ADDRESS, no coin id needed), global-defi, exchanges, exchange-tickers, exchange-rates, coin-search, coins-list - plus tokenized real-world assets from the same CoinGecko key: rwa-list, rwa-markets, rwa-asset, rwa-issuers, rwa-issuer (tokenized stocks, ETFs and commodities with onchain market data and the issuers behind them) |
| Indexed chain data | asset-transfers (filtered transfer history), token-balances, token-allowance, tx-receipt (decoded transfers), block-receipts, token-price-history - indexed reads across the major EVM chains, no node and no key of your own |
| Farcaster social | fc-cast-search, fc-channel-feed, fc-trending, fc-user-casts, fc-cast, fc-cast-replies, fc-channel, fc-user-search, fc-cast-metrics - search, feeds and engagement metrics on the onchain social graph |
| Site crawling | site-map (enumerate a site's URLs) and site-crawl (breadth-first crawl to clean markdown, robots-respecting, hard page/depth/time budgets) - the deterministic pair behind any "read this whole site" task |
| Macro (FRED + more) | yield curve, treasury, fiscal, Fed funds, CPI, unemployment, Sahm rule, ECB FX, World Bank, FRED bulk release observations |
| SEC EDGAR | ticker→CIK, filing list, 10-K/10-Q text, XBRL frames, insider transactions, 13F holdings, IPO calendar, full-text search |
| Finished reports (cited) | research/research-pro/research-max (grounded deep research), market-brief, dossier/dossier-max (company due diligence), fund-report/fund-report-max (13F portfolio), domain-audit/domain-audit-pro (graded security + deliverability), recall-report (FDA), insider-report (Form 4 flow), token-risk/token-risk-pro (on-chain contract risk), filing-report (latest SEC filing), token-brief (Solana mint risk evidence, available while its data source answers), ticker-pack (dossier + insider flow + holders), ipo-report (S-1 + 424B4 digest, deterministic) - $0.05 to $2.00 per report over x402 / MPP, or $2 to $5 by card at /reports; see the /v1 table below |
| Network truth | dns, dns-lookup, tls-cert, whois, http-check, robots-check, email-validate, ip-info |
| Crypto & payments | usdc-balance, tx-status, gas-estimate, ens-resolve, x402-quote, x402-verify, transfer-authorization - non-custodial, multi-chain (Base/Polygon/Arbitrum/Optimism/Ethereum) |
| Agent memory | wallet-keyed KV + TTL, atomic counters, cross-wallet grants, hash-chained audit log, similarity recall |
| Stats & forecasting | stats-summary, correlation, linear-regression, moving-average, outliers; forecast-naive, forecast-ses, forecast-holt, forecast-holt-winters + forecast-eval (MAPE/RMSE backtest) |
| Finance math | black-scholes (option pricing + greeks), bond-price/bond-ytm, cagr, sharpe-ratio, annuity, npv/irr, compound-interest, loan-payment/amortization, break-even, effective-annual-rate (pure-CPU, deterministic) |
| Compression | gzip/gunzip, brotli-compress/brotli-decompress, compress-compare (algorithm shootout, pure-CPU via node:zlib) |
| HTML extraction | html-select (CSS query), html-table, html-strip, html-links, html-meta - deterministic counterpart to extract |
| Network ops | dns-lookup, dns-propagation, spf-check/dmarc-check/dkim-lookup, email-deliverability; cert-transparency, http-headers (security audit), tech-stack, asn-info (IP geo) |
| Chain reads | block-number, chain-info, block-info, contract-code, erc721-owner, event-logs - keyless JSON-RPC reads with multi-endpoint failover on Ethereum/Base/Polygon/Arbitrum/Optimism, from $0.001 |
| SQL policy | sql-guard ($0.004 - pass/warn/block verdict with named risks on a SQL statement, plus an Ed25519-signed check result when a signing key is configured), sql-cert-verify ($0.001 - verifies that signed result against the exact statement) |
