MCP.Market

L402 Search MCP server

by llmops-pro·io.github.llmops-pro/l402-search-mcp·v0.1.0

No-KYC web search for AI agents, paid per query in Lightning sats (L402). Holds no keys.

A86/100grade A
What users say
No reviews yet
Be the first
Safety scan
A86/100

full report

Adoption
New

0 stars38 downloads/wk

Reviews

Write one

Nobody has reviewed L402 Search yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

L402 Search tools (2)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • search

    No-KYC web search, paid per query in Lightning sats (L402). Call with just `query` \u2192 returns a bolt11 invoice + payment_hash. Pay the invoice with your wallet tool (e.g. nwc_pay_invoice), then call again with the SAME query plus `payment_preimage` from the pay result \u2192 returns JSON results. Each payment buys exactly one search of exactly that query.

  • search_service_info

    Free: status of the configured L402 search endpoint \u2014 reachability, price, and how the payment flow works.

Public scan report

scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it

no findings
  • Code scan2 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 56 days ago12/15
  • Maintainer identityregistry namespace matches repository owner7/10
Overall 86/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

How L402 Search compares

Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.

Safety score
86/100
higher than 77% of 3,470 Web search servers
Tools
2
the typical Web search server has 5
Tools that change things
0%
typical: 0%. Fewer write tools means less an agent can break
Downloads a week
38
more than 24% of 827 Web search servers with a package

What its tools let an agent do: 2 read

Install L402 Search in Claude Code, Cursor or VS Code

Runs npx -y l402-search-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add l402-search-mcp -- npx -y l402-search-mcp
Add to Cursor

What the publisher says

From the L402 Search repository's README, as published. We do not edit it. Read it on GitHub

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:

  1. search(query) → returns a bolt11 Lightning invoice + payment_hash
  2. The agent pays the invoice with its own wallet — e.g. nwc-mcp's nwcpayinvoice, under the agent's own budget caps
  3. 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 SEARCHSERVICEURL 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 (claudedesktopconfig.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

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

Shortened. The full README is on GitHub.

Nothing above is checked by us. What we check is on the safety report.

L402 Search: common questions

Is L402 Search MCP server safe?
Yes, by our scan: it is graded A (86/100). Read the L402 Search safety report
How do I install L402 Search?
It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
Does L402 Search need an API key?
No secret keys are declared. It reads 1 setting from the environment.
Is L402 Search maintained?
The last commit was 94 days ago (2026-08-02). The latest release is v0.1.0.
What can I use instead of L402 Search?
Servers from other publishers that do the same job: Tenjin MCP server, Zotero MCP server and Perplexity API Platform (moved to ai.perplexity/mcp-server).
How does L402 Search compare with other Web search MCP servers?
safety score 86/100 (higher than 77% of 3,470 Web search servers); tools 2 (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 L402 Search

Same job from other publishers: the closest match first, then the best rated.

  • Tenjin
    Search, read & publish paid essays. Pay-per-read in USDC on Base (x402); wallet-only, no account.
    B
  • Zotero MCP
    Search, read, annotate, and add to your Zotero research library, local or web.
    B
  • Perplexity API Platform (moved to ai.perplexity/mcp-server)
    Real-time web search, reasoning, and research through Perplexity's API
    A
  • Tavily
    MCP server for advanced web search using Tavily
    A
  • Search
    MCP server for web search operations
    A

More from llmops-pro →