Skip to main content
ClaudeWave

Pay-per-query LLM MCP server over Lightning (L402). Tools: chat. Also exposes OpenAI-compatible chat completions.

MCP ServersOfficial Registry0 stars0 forksJavaScriptUpdated today
ClaudeWave Trust Score
62/100
· OK
Passed
  • Actively maintained (<30d)
  • Clear description
  • Documented (README)
Flags
  • !No standard license detected
Last scanned: 9/11/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/pyfile-toolkit/l402-llm-mcp
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "l402-llm-mcp": {
      "command": "node",
      "args": ["/path/to/l402-llm-mcp/dist/index.js"],
      "env": {
        "LNBOT_API_KEY": "<lnbot_api_key>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/pyfile-toolkit/l402-llm-mcp and follow its README for install instructions.
Detected environment variables
LNBOT_API_KEY
Use cases

MCP Servers overview

# l402-llm-mcp

Pay-per-query LLM access over Lightning (L402), exposed as an MCP server.

## What it is

A single Node.js server that serves two things:

- **MCP endpoint** `POST /mcp` (streamable HTTP, tool: `chat`)
- **OpenAI-compatible** `POST /v1/chat/completions`

Payment is enforced by the L402 protocol: every request returns a Lightning invoice
(10 sats short, 50 sats long). Models are proxied to a free LLM backend
(`gemini-3.6-flash`, `gpt-oss-120b`).

## Endpoints

| Path | Method | Price | Description |
|---|---|---|---|
| `/mcp` | POST | 10 sats | MCP streamable-HTTP, tool `chat` |
| `/v1/chat/completions` | POST | 10-50 sats | OpenAI-compatible chat |
| `/v1/models` | GET | free | model list |
| `/.well-known/l402.json` | GET | free | L402 manifest |

## Run

```bash
export LNBOT_API_KEY=... WALLET_ID=...
node server.js
```

## Discovery

Listed in the 402 Index and 402.pub (Nostr kind 31402).

What people ask about l402-llm-mcp

What is pyfile-toolkit/l402-llm-mcp?

+

pyfile-toolkit/l402-llm-mcp is mcp servers for the Claude AI ecosystem. Pay-per-query LLM MCP server over Lightning (L402). Tools: chat. Also exposes OpenAI-compatible chat completions. It has 0 GitHub stars and its last recorded update is dated 2026-09-10.

How do I install l402-llm-mcp?

+

You can install l402-llm-mcp by cloning the repository (https://github.com/pyfile-toolkit/l402-llm-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is pyfile-toolkit/l402-llm-mcp safe to use?

+

Our security agent has analyzed pyfile-toolkit/l402-llm-mcp and assigned a Trust Score of 62/100 (tier: OK). See the full breakdown of passed checks and flags on this page.

Who maintains pyfile-toolkit/l402-llm-mcp?

+

pyfile-toolkit/l402-llm-mcp is maintained by pyfile-toolkit. The last recorded GitHub activity is dated 2026-09-10, with 0 open issues.

Are there alternatives to l402-llm-mcp?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy l402-llm-mcp to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: pyfile-toolkit/l402-llm-mcp
[![Featured on ClaudeWave](https://claudewave.com/api/badge/pyfile-toolkit-l402-llm-mcp)](https://claudewave.com/repo/pyfile-toolkit-l402-llm-mcp)
<a href="https://claudewave.com/repo/pyfile-toolkit-l402-llm-mcp"><img src="https://claudewave.com/api/badge/pyfile-toolkit-l402-llm-mcp" alt="Featured on ClaudeWave: pyfile-toolkit/l402-llm-mcp" width="320" height="64" /></a>

More MCP Servers

l402-llm-mcp alternatives