402index MCP server
io.github.ryanthegentry/402index·v0.3.0·1 starsSearch 15,000+ paid API endpoints across the L402, x402, and MPP protocols on 402index.io
1 stars135 downloads/wk
Reviews
Write oneNobody has reviewed 402index yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
402index tools (4)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
get_directory_statsGet overall directory health and stats: total services, breakdown by protocol/health/source, and sync timestamps. Example: "How many services are in the directory?"
get_service_detailGet full details for a single service including health check history, pricing, and schema information. Includes `related_services` array with sibling payment rail details.
list_categoriesList all service categories with counts. Example: "What categories of paid APIs are available?"
search_servicesSearch and filter paid API services in the 402 Index directory. Returns services with health status, pricing, and protocol info. Includes `related_protocols` array showing other payment rails for the same URL.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan3 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 49 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How 402index compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 88/100
- higher than 80% of 3,470 Web search servers
- Tools
- 4
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 1
- more than 55% of 1,786 Web search servers
- Downloads a week
- 135
- more than 65% of 827 Web search servers with a package
What its tools let an agent do: 4 read
Install 402index in Claude Code, Cursor or VS Code
Runs npx -y @402index/mcp-server on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add 402index -- npx -y @402index/mcp-server
What the publisher says
From the 402index repository's README, as published. We do not edit it. Read it on GitHub
402 Index
Protocol-agnostic directory of paid APIs for AI agents.
What it is: a registry of HTTP 402–priced APIs across every major machine-payment protocol — L402 (Lightning), x402 (stablecoins), and MPP (Stripe/Tempo) — surfaced to AI agents via HTTP, RSS, Nostr, and MCP.
Who it's for: AI-agent developers looking for services to call, and API providers looking to get discovered by agents. The directory is community-owned: open source, MIT-licensed, no captive protocol.
Where it lives: 402index.io (production) · @402index (digest) · GitHub Issues (roadmap).
Quickstart
For agents (MCP)
One command adds 402 Index discovery + payment to any MCP host (Claude Desktop, Cursor, Cline, Windsurf):
npm install -g @402index/mcp-serverThen register it with your MCP host — see mcp-server/README.md for per-client instructions.
For agents (HTTP)
# Semantic search
curl "https://402index.io/api/v1/services?q=weather&verified=true&limit=10"
# Filter by protocol
curl "https://402index.io/api/v1/services?protocol=L402&health=healthy"Full API reference at 402index.io/api-docs.
For API providers
Register your endpoint so agents can find it:
- Self-serve: POST https://402index.io/api/v1/register with your endpoint URL. The probe validates the 402 challenge, detects L402 and/or x402 support, and lists automatically.
- Pull request: add a YAML file under listings/ — see CONTRIBUTING.md.
- Already on Bazaar, Satring, or l402apps? You're already indexed — no action needed.
For contributors
git clone https://github.com/ryanthegentry/402index.git
cd 402index
npm install
npm test # Run tests (node:test)
npm run dev # Start dev server (nodemon)
npm run poll # Pull from Bazaar + Satring manually
npm run healthcheck # Run health checks manuallyWhat's in the registry
Tens of thousands of endpoints across hundreds of verified providers, aggregated from the x402 Bazaar, Satring, l402apps.com, MPP's OpenAPI directory, and direct self-submissions — no gatekeeping by protocol.
Live numbers at 402index.io/api/v1/health.
Architecture
- Node.js + Express, SQLite via better-sqlite3, static HTML via template literals (no framework).
- Aggregators (src/aggregators/) poll Bazaar / Satring / l402apps on a schedule and upsert normalized listings.
- Health checker (src/health/checker.js) probes listings on a configurable interval, defaulting to 60 minutes (HEALTHCHECKINTERVAL_MS), with SSRF-safe fetch, records status, emits events.
- Semantic search via sqlite-vec + hybrid LIKE/vector re-rank, with circuit-breaker fallback to LIKE-only when the embeddings service is down.
- Distribution: HTTP API, MCP server, RSS, Nostr (NIP-99), webhooks (HMAC-SHA256).
- Verifier handles BOLT11 invoices (L402) and ERC-20 stablecoin challenges (x402), including x402-over-Lightning.
Deeper notes in CLAUDE.md and docs/.
Project layout
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
402index: common questions
- Is 402index MCP server safe?
- Yes, by our scan: it is graded A (88/100). Read the 402index safety report
- How do I install 402index?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does 402index need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is 402index maintained?
- The last commit was 87 days ago (2026-08-09). The latest release is v0.3.0.
- What can I use instead of 402index?
- Servers from other publishers that do the same job: Tenjin MCP server, Jshookmcp MCP server and Sui Knowledge Base (kapa.ai) MCP server.
- How does 402index compare with other Web search MCP servers?
- safety score 88/100 (higher than 80% of 3,470 Web search servers); tools 4 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to 402index
Same job from other publishers: the closest match first, then the best rated.
TenjinSearch, read & publish paid essays. Pay-per-read in USDC on Base (x402); wallet-only, no account.not reviewedEstablishedB- JshookmcpSearch-first MCP server for JavaScript reverse engineering: 735 tools across 36 domains.not reviewedEstablishedC
- Sui Knowledge Base (kapa.ai)Semantic search across Sui documentation and knowledge sources, powered by kapa.ainot reviewedEstablishedA
Free SearchNo-API-key web search, page fetching and document reading across many engines. Local-first.not reviewedEstablishedB- GEO Tracker by DigestSEOTrack brand citations across seven AI search surfaces. Free OSS; optional EUR 99 client-ready audit.not reviewedEstablishedB