No-KYC web search for AI agents, paid per query in Lightning sats (L402). Holds no keys.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by L402 Search MCP.
searchFirst call returns the invoice; the call with `payment_preimage` returns results.
search_service_infoEndpoint reachability, pending challenges, flow explainer.
No-KYC web search for AI agents β paid per query in Lightning sats, via MCP.
This is an MCP client-side server for L402-paywalled search endpoints. It gives any MCP-capable agent (Claude Desktop, Claude Code, Cursor, nostr-merchant, β¦) a search tool that costs sats instead of an API key:
search(query) β returns a bolt11 Lightning invoice + payment_hashnwc-mcp's nwc_pay_invoice, under the agent's own budget capssearch(query, payment_preimage) β JSON resultsNo account. No API key. No KYC. Each payment buys exactly one search.
By default it points at https://llmops-search.fly.dev (50 sats/search, run by us), but SEARCH_SERVICE_URL works with any endpoint speaking the same L402 dialect.
This server holds NO keys. Not a wallet connection, not an nsec, nothing. Payment happens in the agent's wallet, where the agent's own budget caps, allowlists, and audit logs apply. l402-search-mcp only:
payment_hash (so the agent only handles the preimage its wallet already returned),Worst-case compromise of this process leaks pending search queries β never money.
Claude Code (project scope):
Claude Desktop (claude_desktop_config.json):
Pair it with a wallet server (e.g. nwc-mcp) so the agent can actually pay.
| Tool | Price | What it does |
|---|---|---|
search | sats (set by the endpoint; 50 on the default) | First call returns the invoice; the call with payment_preimage returns results. |
search_service_info | free | Endpoint reachability, pending challenges, flow explainer. |
Everything is optional β the defaults work. Set in the environment or a .env next to the install (never read from cwd):
The macaroon never round-trips through the LLM β the agent only sees the invoice and hands back the preimage its wallet returned. sha256(preimage) = payment_hash recovers the rest.
NDJSON, one line per event: startup, challenge_received, results_received, unknown_preimage, endpoint_error. Same shape as the other servers in the kit.
nwc-mcp (wallet) Β· nostr-ops-mcp (NOSTR identity/publishing) Β· marketplace-mcp (storefront) Β· albyhub-admin-mcp (node admin) Β· paywall-mcp (sell YOUR tools for sats) Β· l402-search-mcp (buy search with sats)
MIT. Built by LLMOps.Pro Β· β‘ sovereigncitizens@getalby.com
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/l402-search-mcp)<a href="https://allmcps.com/mcp/l402-search-mcp"><img src="https://allmcps.com/api/badge/l402-search-mcp?style=directory" alt="L402 Search MCP on AllMCPs" /></a>