Adds Lightning payment gating plus Depth-of-Identity scoring to MCP tools. Wraps your endpoints with L402 macaroon flows backed by LNBits invoices, then checks the caller's Nostr pubkey against the PowForge oracle to enforce a minimum composite reputation score. Ships as Express middleware or a direct tool wrapper. Solve for the sybil problem that bare L402 leaves open: paying 10 sats from a fresh wallet is trivial, but carrying a DoI score above 10 or 40 requires observable irreversible work across social, economic, and access dimensions. Config takes your LNBits URL, invoice key, sat amount, and score threshold. Returns 402 challenges on first call, verifies preimage plus score on retry, and only then runs your tool body.
claude mcp add --transport stdio zekebuilds-lab-mcp-l402-gate uvx mcp-l402-gate