Lightningprox
FreeMaintainedDescription: Pay-per-request access to Claude and GPT models via Bitcoin Lightning using prepaid spend tokens. No accounts, no API keys — just sats.
About
Description: Pay-per-request access to Claude and GPT models via Bitcoin Lightning using prepaid spend tokens. No accounts, no API keys — just sats.
README
MCP server for LightningProx — pay-per-request AI via Bitcoin Lightning. No accounts, no API keys. Load a spend token, start querying.
Install
npx lightningprox-mcp
What LightningProx Is
LightningProx is an AI gateway that accepts Bitcoin Lightning payments instead of API keys. You load a prepaid spend token, pass it in the X-Spend-Token header, and each request is deducted from your balance in sats. No signup, no monthly plan, no credentials to manage.
19 models across 5 providers:
| Provider | Models |
|---|---|
| Anthropic | claude-opus-4-6, claude-sonnet-4-6, claude-haiku-4-5 |
| OpenAI | gpt-4o, gpt-4-turbo, gpt-4o-mini |
| Together.ai | llama-4-maverick, llama-3.3-70b, deepseek-v3, mixtral-8x7b |
| Mistral | mistral-large-latest, mistral-medium, mistral-small, codestral, devstral, magistral |
| gemini-2.5-flash, gemini-2.5-pro |
Vision / multimodal: Pass image_url directly in your request. URL mode only — no base64 encoding required.
Setup
Claude Desktop
{
"mcpServers": {
"lightningprox": {
"command": "npx",
"args": ["lightningprox-mcp"]
}
}
}
Config location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
Claude Code
claude mcp add lightningprox -- npx lightningprox-mcp
Tools
| Tool | Description |
|---|---|
ask_ai |
Send a prompt to any model, authenticated via spend token. Pass model to select (e.g. gemini-2.5-flash, mistral-large-latest, claude-sonnet-4-6). |
ask_ai_vision |
Send a prompt with an image URL for multimodal analysis |
check_balance |
Check remaining sats on a spend token |
list_models |
List available models with per-call pricing |
get_pricing |
Estimate cost in sats for a given model and token count |
get_invoice |
Generate a Lightning invoice to top up a spend token |
Spend Token Auth
Every request authenticates via the X-Spend-Token header:
curl -X POST https://lightningprox.com/v1/chat \
-H "Content-Type: application/json" \
-H "X-Spend-Token: lnpx_your_token_here" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{"role": "user", "content": "What is the Lightning Network?"}]
}'
For vision requests, include image_url in the message content — no base64 needed:
curl -X POST https://lightningprox.com/v1/chat \
-H "Content-Type: application/json" \
-H "X-Spend-Token: lnpx_your_token_here" \
-d '{
"model": "claude-sonnet-4-6",
"messages": [{
"role": "user",
"content": [
{"type": "image_url", "image_url": {"url": "https://example.com/chart.png"}},
{"type": "text", "text": "Describe this chart"}
]
}]
}'
Getting a Spend Token
- Call
get_invoice(orask_aiwithout a token) to receive a Lightning invoice - Pay the invoice from any Lightning wallet
- Your spend token is returned — use it for all subsequent requests until balance runs out
Endpoints
| Endpoint | Description |
|---|---|
POST /v1/chat |
Chat completions — OpenAI-compatible format |
POST /v1/messages |
Anthropic messages format |
GET /v1/models |
List available models with pricing |
GET /v1/balance |
Check spend token balance |
POST /v1/invoice |
Generate Lightning invoice |
Links
- Gateway: lightningprox.com
- Docs: lightningprox.com/docs
- AIProx agent registry: aiprox.dev
Built by LPX Digital Group LLC
Install Lightningprox in Claude Desktop, Claude Code & Cursor
unyly install lightningprox-mcpInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add lightningprox-mcp -- npx -y lightningprox-mcpStep-by-step: how to install Lightningprox
FAQ
Is Lightningprox MCP free?
Yes, Lightningprox MCP is free — one-click install via Unyly at no cost.
Does Lightningprox need an API key?
No, Lightningprox runs without API keys or environment variables.
Is Lightningprox hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install Lightningprox in Claude Desktop, Claude Code or Cursor?
Open Lightningprox on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Changes
Versions and requested access over time.
- New version published
- New version published
Related MCPs
Fetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
MCPHub
Website to list high quality MCP servers and reviews by real users. Also provide online chatbot for popular LLM models with MCP server support.
MCP Servers Rating and User Reviews
Website to rate MCP servers, write authentic user reviews, and [search engine for agent & mcp](http://www.deepnlp.org/search/agent)
mkinf
An Open Source registry of hosted MCP Servers to accelerate AI agent workflows.
Compare Lightningprox with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
