L402 Kit MCP Server

Add Bitcoin Lightning pay-per-call to any API. 3 lines of code. ▶ Watch end-to-end demo - install → 402 → pay → 200 OK. It runs locally over stdio via the published package.

People connecting finance tools to Claude, Cursor, VS Code, or another MCP client. The project is written in TypeScript.

VERIFIED ACTIVE

LAST COMMIT 2026-05-28 · ★ 3 · #138 OF 283 MAINTAINED FINANCE · VERIFIED 2026-08-25

MIT · TypeScript servers · how we verify → /methodology

01 · Install L402 Kit

before you install - you'll need

BLINK_API_KEY

Environment variables documented in the project's README - it lists which are required and which have defaults.

Claude Code

claude mcp add shinydapps-l402-kit -- npx -y l402-kit

Claude Desktop / Cursor / VS Code - add to config

{
  "mcpServers": {
    "shinydapps-l402-kit": {
      "command": "npx",
      "args": [
        "-y",
        "l402-kit"
      ]
    }
  }
}

Same JSON for Cursor. For VS Code, rename the top-level key from `mcpServers` to `servers`.

Using another client? Same JSON, different key

Claude Desktop · mcpServers

Cursor · mcpServers

VS Code · servers

Windsurf · mcpServers

Zed · context_servers

Cline · mcpServers

Roo Code · mcpServers

Continue · mcpServers

LibreChat · mcpServers

Gemini CLI · mcpServers

Codex CLI · mcp_servers

Full setup guides: every client.

02 · Evidence

Security posture

What to check before giving this server access to your agent - from the registry, GitHub, and our own probes. We don't score safety; we show what's verifiable.

runs as local process (stdio) - runs on your machine with your user's permissions

license MIT - declared in the repository

npm package l402-kit - unscoped; check the name against the project README before installing

registry registry publisher io.github.ThiagoDataEngineer is not the repo owner (shinydapps) - the registry entry was published by someone else

03 · What L402 Kit can do

Prose above is summarized from the project's README and registry record - no invented capabilities.

Latest releases

v1.8.6 · 2026-05-08

Hotfix P0 - Macaroon expiration units (ms vs s) · All real Lightning tokens were immediately rejected because providers stored exp in Unix seconds (~1.7B) while verify.ts compared against Date.now() in milliseconds…

v1.8.2 · 2026-05-05

MCP Server · Improved descriptions for all 4 tools (l402_fetch, l402_balance, l402_spending_report, l402_set_budget) · Added side-effect warnings, flow details, when-to-use / when-NOT-to-use guidance · Bumped MCP…

v1.8.1 · 2026-04-30

04 · Who maintains L402 Kit

l402-kit is maintained by shinydapps. It's the only MCP server we track from this author; the repo dates to Apr 2026.

05 · Facts

category
finance - ranked #138 of 283 actively-maintained finance servers as of 2026-08-25.
registry
io.github.ThiagoDataEngineer/l402-kit (active, first published 2026-05-11)
packages
npm:l402-kit

06 · L402 Kit FAQ

What is L402 Kit?

Add Bitcoin Lightning pay-per-call to any API. 3 lines of code. ▶ Watch end-to-end demo - install → 402 → pay → 200 OK. It runs locally over stdio via the published package.

Is L402 Kit still maintained?

Yes - as of 2026-08-25, its last commit was 2026-05-28. We re-verify nightly.

How do I install L402 Kit?

Run `npx -y l402-kit`. The README documents one environment variable (BLINK_API_KEY) to set first. You can also paste the ready-made client config above.

Does L402 Kit run locally?

Yes - it's a stdio server: it runs on your machine (via npx) with your user's permissions. Your data stays local unless the server itself calls external APIs.

07 · Alternatives to L402 Kit