Lightningprox MCP logo

Lightningprox MCP

by unixlamadev-spec

Routes agent prompts and image queries through LightningProx, with Bitcoin Lightning spend-token billing and model pricing tools.

Install Lightningprox MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "unixlamadev-spec-lightningprox-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "lightningprox-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio unixlamadev-spec-lightningprox-mcp -- npx -y lightningprox-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 5 tools correctly ().

Overview

The unixlamadev-spec/lightningprox-mcp MCP server connects MCP clients to LightningProx, a pay-per-request AI gateway funded with Bitcoin Lightning. It exposes tools for text prompts, URL-based image analysis, model discovery, pricing estimates, balance checks, and invoice generation. Requests use a prepaid spend token, with charges deducted in satoshis rather than through provider API keys. Reach for it when an agent needs access to models from Anthropic, OpenAI, Together.ai, Mistral, or Google through one Lightning-funded gateway.

Use cases

  • Query multiple hosted AI models through one MCP interface
  • Analyze images from public URLs with multimodal models
  • Check token balances before making paid model calls
  • Estimate satoshi costs before sending prompts

Key features

  • Lightning-funded spend-token authentication
  • Text requests through selectable AI models
  • URL-based multimodal image analysis
  • Model listing and per-call pricing
  • Balance checks and Lightning invoice generation

Tools5

What Lightningprox MCP lets your agent do. Expand a tool for its parameters.

Verified live~639 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/27 checks healthy over the last 117d

What it can do

From the 5 tools this server returned when we ran it.

Makes changes · 2Handles credentials · 5Makes network requests · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age278 days
Maintainers1

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 16d ago via OSV.dev · lightningprox-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars2Stargazers on the source repository.
npm downloads484Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed5Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Lightningprox MCP works

What unixlamadev-spec/lightningprox-mcp MCP server does

The unixlamadev-spec/lightningprox-mcp MCP server gives an MCP client access to LightningProx AI requests. Its main request tools are ask_ai for text prompts and ask_ai_vision for prompts that include an image URL. The selected model is passed as part of the request, so an agent can choose among the models exposed by the gateway.

LightningProx uses prepaid spend tokens. Instead of configuring separate provider credentials, the client uses a token whose balance is charged in satoshis for each request. The gateway supports OpenAI-compatible chat completions and Anthropic-style messages endpoints behind the service.

How it works

A user first funds a spend token by paying a Bitcoin Lightning invoice. The token can be obtained through get_invoice, or by calling ask_ai without a token, according to the project documentation. Once funded, the token authorizes subsequent requests until its balance is exhausted.

The server can report available models with list_models, including their per-call pricing. get_pricing estimates the satoshi cost for a selected model and token count, while check_balance reports the remaining balance for a spend token. The gateway lists models from Anthropic, OpenAI, Together.ai, Mistral, and Google.

Vision requests use a publicly reachable image URL supplied to ask_ai_vision; the documented flow does not require base64 image data. The project also identifies LightningProx as providing /v1/chat, /v1/messages, /v1/models, /v1/balance, and /v1/invoice endpoints.

Setup and configuration

Install and launch the unixlamadev-spec/lightningprox-mcp MCP server with:

Terminal
npx lightningprox-mcp

For Claude Desktop, add an MCP entry whose command is npx and whose argument is lightningprox-mcp. The documented configuration files are under the Claude application support directory on macOS, Windows, and Linux. Claude Code can add the server with:

Terminal
claude mcp add lightningprox -- npx lightningprox-mcp

No environment variables or provider API keys are specified in the README. Authentication is handled with the spend token sent as the X-Spend-Token header by the gateway request.

Tools and capabilities

  • ask_ai: Send a prompt to a selected model using a spend token.
  • ask_ai_vision: Send a prompt with an image URL for multimodal analysis.
  • check_balance: Read the remaining satoshi balance on a spend token.
  • list_models: Retrieve available models and per-call pricing.
  • get_pricing: Estimate cost from a model and token count.
  • get_invoice: Create a Lightning invoice for topping up a spend token.

Limitations and notes

Billing depends on Bitcoin Lightning payments and a prepaid token balance. Requests stop being funded when the token runs out, so agents may need balance checks or a new invoice. The README names Claude Desktop and Claude Code setup paths but does not provide client-specific configuration examples for other MCP clients.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Lightningprox MCP

unixlamadev-spec/lightningprox-mcp is an MCP server that connects MCP clients to the LightningProx AI gateway. Its main tools send text prompts, analyze image URLs, list models, estimate satoshi pricing, check spend-token balances, and generate Lightning invoices for top-ups. Requests use prepaid Lightning-funded spend tokens instead of provider API keys.

Install it by running `npx lightningprox-mcp`. For Claude Desktop, add an MCP server entry using `npx` as the command and `lightningprox-mcp` as its argument. Claude Code can register it with `claude mcp add lightningprox -- npx lightningprox-mcp`.

Fund it by calling `get_invoice` or calling `ask_ai` without a token, then pay the returned Bitcoin Lightning invoice from a Lightning wallet. The resulting spend token is used for later requests until its satoshi balance is depleted.

Yes, it can analyze images through `ask_ai_vision` when you provide an image URL. The documented interface uses URL input and does not require base64 encoding. The prompt and image are sent for multimodal analysis through the selected model.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewLightningprox MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/unixlamadev-spec-lightningprox-mcp?style=directory)](https://allmcps.com/mcp/unixlamadev-spec-lightningprox-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/unixlamadev-spec-lightningprox-mcp"><img src="https://allmcps.com/api/badge/unixlamadev-spec-lightningprox-mcp?style=directory" alt="Lightningprox MCP on AllMCPs" /></a>