Lightning trust + audit oracle. Score, pay, and audit L402 endpoints with Ed25519 receipts.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
Lightning trust oracle for AI agents on L402. Bitcoin-pure.
POST /api/intent (paid 2 sats via L402): an agent passes a category + budget + SLA, gets back the top-K endpoints with full Bayesian breakdown.Doc surfaces:
Functional API (nine routes β POST /api/intent is the only L402-gated one):
Deposit macaroons let an agent pre-pay N sats once and use the bearer
preimage across many /api/intent calls without a Lightning round-trip
per call. Authorization: L402 deposit_<id>:<preimage_hex>.
Three tools for any MCP-compatible AI runtime (Claude Code, Cursor, Codex, n8n):
Install in Claude Code:
Self-hosters point SATRANK_API_BASE at their own deployment.
14 source files + 4 doc surfaces (3 HTML pages + OpenAPI spec). Read top-to-bottom in 30 minutes.
For paid probes + paid /api/intent gate, set LND_REST_URL + LND_MACAROON_HEX + L402_MACAROON_SECRET. For Nostr trust assertions, set NOSTR_PRIVATE_KEY.
For each (endpoint, stage), maintain a Beta(Ξ±, Ξ²) posterior with Ξ±β = Ξ²β = 1 (uniform prior). On every observation:
Stage mean: Ξ± / (Ξ±+Ξ²). 95% credible interval via Wilson (closed-form). End-to-end success: β stage_means across the 5 stages, assuming stage independence.
is_meaningful is true iff the challenge stage has at least MEANINGFUL_N_OBS_MIN observations. The challenge stage is observed on every probe (free or paid), so its n_obs converges fastest. p_e2e remains the honest end-to-end product separately.
AGPL-3.0
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/satrank-lightning-trust-audit-oracle)<a href="https://allmcps.com/mcp/satrank-lightning-trust-audit-oracle"><img src="https://allmcps.com/api/badge/satrank-lightning-trust-audit-oracle?style=directory" alt="SatRank β Lightning trust + audit oracle on AllMCPs" /></a>