L402 Search MCP
Overview
Description from the maker (original English)
No-KYC web search for AI agents, paid per query in Lightning sats (L402). Holds no keys.
PopNx MCP’s three pillars
These three are never merged into one score: opinions, measurements and popularity are different things.
- User voiceiNo reviews yetReviews open together with accounts in a later step
- Our basic checksi2 of 2 passedChecked from public information; code not scanned yet
- UsageiVery new↓ 55/wk · ★ 0
What you can do with it
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
- Connection: Runs on your computer
- Transport: stdio
- Category: Search & AI memory
Install
Pick the AI app you use, then copy the settings.
Before you install
- Basic checks: 2 of 2 passed
- Runs on your computer with your user’s permissions (files, network, apps).
- You fill in yourself:
SEARCH_SERVICE_URL
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"l402-search": {
"command": "npx",
"args": [
"-y",
"l402-search-mcp"
],
"env": {
"SEARCH_SERVICE_URL": "your-value"
}
}
}
}Run this in your terminal
claude mcp add l402-search --env SEARCH_SERVICE_URL=your-value -- npx -y l402-search-mcpFill in the empty values before running it.
Or copy the settings yourself
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"l402-search": {
"command": "npx",
"args": [
"-y",
"l402-search-mcp"
],
"env": {
"SEARCH_SERVICE_URL": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Or copy the settings yourself
Paste into .vscode/mcp.json in your project
{
"servers": {
"l402-search": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"l402-search-mcp"
],
"env": {
"SEARCH_SERVICE_URL": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
Values you fill in
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 11, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account llmops-pro, which owns the repo
- ✓ Pass
Still maintained
Code last changed 3 months ago
- … Not checked yet
Has a licence
We have not read this repo from GitHub yet
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Compared with others in Search & AI memoryi
- More stars than 0% of the other 5862 servers in this category
- Published to the registry more recently than 17% of the other 5862 servers in this category
- Basic checks equal to or better than 100% of the other 5862 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is L402 Search MCP safe?
It passed 2 of 2 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
The registry does not list a required key, though some servers ask you to sign in on first use.
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 3 months ago, and the latest version (0.1.0) reached the registry 5 months ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.
What can I use instead?
In the same category: Ruflo, Context7, Metabase
Alternatives
Servers in the same category from other makers, sorted by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
l402-search-mcp
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_hash- The agent pays the invoice with its own wallet — e.g.
nwc-mcp'snwc_pay_invoice, under the agent's own budget caps search(query, payment_preimage)→ JSON results
No 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.
The trust model (read this)
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:
- relays the L402 challenge (invoice) to the agent,
- remembers which macaroon belongs to which
payment_hash(so the agent only handles the preimage its wallet already returned), - makes the authorized retry.
Worst-case compromise of this process leaks pending search queries — never money.
Install
npx -y l402-search-mcp
Claude Code (project scope):
claude mcp add l402-search -s project -- npx -y l402-search-mcp
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": { "l402-search": { "command": "npx", "args": ["-y", "l402-search-mcp"] } } }
Pair it with a wallet server (e.g. nwc-mcp) so the agent can actually pay.
Tools
| 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. |
Configuration
Everything is optional — the defaults work. Set in the environment or a .env next to the install (never read from cwd):
SEARCH_SERVICE_URL=https://llmops-search.fly.dev # any L402 search endpoint
CHALLENGE_TTL_SECONDS=900 # match the endpoint's macaroon TTL AUDIT_LOG_PATH=./l402-search-mcp-audit.log # NDJSON, append-only HTTP_TIMEOUT_MS=15000
The flow, end to end
agent l402-search-mcp endpoint agent's wallet
│ search("foo") │ │ │ │ ────────────────────────► │ GET /search?q=foo │ │ │ │ ───────────────────────► │ │ │ │ 402 {macaroon, invoice} │ │ │ {invoice, payment_hash} │ ◄─────────────────────── │ │ │ ◄──────────────────────── │ (macaroon cached) │ │ │ nwc_pay_invoice(invoice) │ │ │ │ ──────────────────────────┼──────────────────────────┼─────────────────────► │ │ {preimage} │ │ │ │ ◄─────────────────────────┼──────────────────────────┼────────────────────── │ │ search("foo", preimage) │ │ │ │ ────────────────────────► │ GET + Authorization: │ │ │ │ L402 macaroon:preimage │ │ │ │ ───────────────────────► │ │ │ {results} │ 200 {results} │ │ │ ◄──────────────────────── │ ◄─────────────────────── │ │
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.
Audit log
NDJSON, one line per event: startup, challenge_received, results_received, unknown_preimage, endpoint_error. Same shape as the other servers in the kit.
Part of the LLMOps.Pro agent-payments 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