Sats4AI
Sats4AI is a remote MCP server providing 25+ AI-powered tools via Bitcoin Lightning micropayments — no signup, API keys, or KYC required.
AI Generation
🖼️ Generate images from text prompts (Flux, Stable Diffusion, etc.)
🎬 Generate videos from text prompts (async)
🎞️ Animate images into videos
💬 Generate text with AI language models (262K context, file attachments, vision support)
🎵 Generate music with AI vocals and optional lyrics
🧊 Convert photos to 3D GLB models
🖊️ Edit images with AI instructions
Audio & Speech
🗣️ Text-to-speech with multiple AI voices
📝 Transcribe audio to text in 13 languages
🎤 Clone a voice from an audio sample
📚 Convert books (EPUB/PDF/TXT) to AI-narrated audiobooks
Vision & Documents
👁️ Analyze image content using AI vision models
📄 OCR — extract text from PDFs and images
🔄 Convert files between 200+ formats
📎 Merge multiple PDFs into one
Communication
📧 Send emails to any address
📱 Send SMS worldwide
📞 Place automated phone calls with TTS or audio playback
Utility & Payment Management
📋 List available AI models and pricing
⚡ Create Lightning invoices for services
✅ Check payment status for a given payment ID
🔄 Check job status for async operations (video, 3D)
📦 Retrieve results from completed async jobs
Enables AI agents to interact with the Bitcoin Lightning Network to create and verify micropayments, facilitating programmatic access to various pay-as-you-go AI services.
sats4ai-mcp
30+ AI tools paid with Bitcoin Lightning. No signup, no API keys, no KYC.
A remote MCP (Model Context Protocol) server that gives AI agents access to image generation, video creation, text generation, speech, translation, image processing, OCR, audiobook conversion, email, SMS, voice cloning, and more — all paid per-use with Lightning Network micropayments.
Quick Setup
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"sats4ai": {
"url": "https://sats4ai.com/api/mcp"
}
}
}Claude Code
claude mcp add sats4ai --transport http https://sats4ai.com/api/mcpCursor
Add to your MCP settings:
{
"mcpServers": {
"sats4ai": {
"url": "https://sats4ai.com/api/mcp"
}
}
}stdio proxy (legacy MCP clients)
For clients that don't support remote HTTP servers, use the bundled stdio proxy:
npx sats4ai-mcpOr in your config:
{
"mcpServers": {
"sats4ai": {
"command": "npx",
"args": ["sats4ai-mcp"]
}
}
}Any MCP Client
The server URL is:
https://sats4ai.com/api/mcpThis is a remote HTTP server — no local process, no dependencies, no installation needed.
Available Tools
AI Generation
Tool | Description | Price |
| Generate images from text prompts | 100-200 sats |
| Generate videos from text prompts | 50 sats/unit |
| Animate a still image into video | 100 sats/sec |
| Chat with AI language models (262K context) | ~1 sat/100 chars |
| Translate text across 119 languages | ~1 sat/1000 chars |
| Generate songs with AI vocals | 100 sats |
| Convert a photo to a 3D GLB model | 350 sats |
Audio & Speech
Tool | Description | Price |
| Text to speech (467 voices, 29 languages) | 300 sats |
| Speech to text (13 languages) | 10 sats/min |
| Clone a voice from an audio sample | 7,500 sats |
| Convert books (EPUB/PDF/TXT) to AI-narrated audiobooks | 500+ sats |
Image Processing
Tool | Description | Price |
| Remove background from any image (BiRefNet, SOTA) | 5 sats |
| Upscale images 2x/4x with Real-ESRGAN | 5 sats |
| Restore blurry/damaged faces (CodeFormer) | 5 sats |
| Colorize B&W photos (DDColor, ICCV 2023) | 5 sats |
| Remove camera-shake blur (NAFNet, ECCV 2022) | 20 sats |
| Classify image safety (normal/suggestive/explicit) | 2 sats |
| Detect objects with bounding boxes (Grounding DINO) | 5 sats |
| Remove objects by description — no mask needed | 15 sats |
| Edit images with AI instructions | Dynamic |
Vision & Documents
Tool | Description | Price |
| Analyze and describe image content | 21 sats |
| Extract text from PDFs and images | 10 sats/page |
| Receipt to structured JSON | 50 sats |
| Convert between 200+ file formats | 100 sats |
| Merge multiple PDFs into one | 100 sats |
| HTML/Markdown to PDF | 50 sats |
Communication
Tool | Description | Price |
| Send email to any address | 200 sats |
| Send SMS worldwide | Dynamic |
| Place automated phone calls | Dynamic |
| AI voice agent phone calls (async) | Dynamic |
Helper Tools
Tool | Description |
| Browse available AI models and pricing |
| Get pricing for a specific model |
| Create a Lightning invoice for a service |
| Check if payment was received |
| Poll async jobs (video, 3D, audiobook) |
| Get completed job results |
| Request a refund for a failed service |
| Upvote or downvote a planned service |
| See upcoming services and vote |
How It Works
Agent calls
list_modelsto discover available models and pricingAgent calls
create_payment— gets a Lightning invoicePayment is made via the agent's Lightning wallet (e.g., lightning-wallet-mcp)
Agent calls the tool (e.g.,
image,text) with thepaymentIdResult is returned — base64 image, text, URL, etc.
No API keys. No accounts. No rate limits tied to identity. Just Bitcoin and AI.
Error Handling & Refunds
When a paid tool fails after payment, the JSON-RPC error response includes refund information:
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32603,
"message": "Image generation failed",
"data": {
"refund": {
"charge_id": 12345,
"refund_amount": 200,
"lnurl_withdraw": "lnurl1dp68gurn8ghj7..."
}
}
}
}Claim the refund using any LNURL-compatible wallet or the claim_lnurl_withdraw tool from lightning-wallet.
Payment via Agent Wallets
Pair with a Lightning wallet MCP server so your agent can pay autonomously:
{
"mcpServers": {
"sats4ai": {
"url": "https://sats4ai.com/api/mcp"
},
"lightning-wallet": {
"command": "npx",
"args": ["lightning-wallet-mcp"]
}
}
}The agent uses lightning-wallet to pay invoices from sats4ai, enabling fully autonomous AI tool usage.
L402 API
For direct HTTP integration without MCP, use the L402 API:
# Step 1: Request -> get 402 + Lightning invoice
curl -X POST https://sats4ai.com/api/l402/generate-image \
-H "Content-Type: application/json" \
-d '{"input": {"prompt": "a cat in space"}}' -i
# Step 2: Pay the invoice with any Lightning wallet
# Step 3: Re-send with proof
curl -X POST https://sats4ai.com/api/l402/generate-image \
-H "Content-Type: application/json" \
-H "Authorization: L402 <macaroon>:<preimage>" \
-d '{"input": {"prompt": "a cat in space"}}'Full L402 docs: sats4ai.com/l402 | Code examples: sats4ai-l402-examples
Service Discovery
Machine-readable endpoints for agent discovery:
# Full service catalog with pricing, quality benchmarks, and performance metadata
GET https://sats4ai.com/.well-known/l402-services
# MCP tool catalog with latency (p50/p95), reliability, and failure modes
GET https://sats4ai.com/api/mcp/discovery
# Semantic search — find tools by capability
GET https://sats4ai.com/api/discover?q=translate
# Per-service metadata with enums and input schemas
GET https://sats4ai.com/api/l402/{service}Every paid tool includes performance metadata (latency p50/p95, reliability rating, known failure modes) so agents can make informed decisions about which tools to call and how long to wait.
Programmatic Usage
const { SERVER_URL, TOOLS, getClaudeConfig } = require("sats4ai-mcp");
console.log(SERVER_URL); // "https://sats4ai.com/api/mcp"
console.log(TOOLS); // ["image", "video", "text", ...]
console.log(getClaudeConfig()) // { mcpServers: { sats4ai: { url: "..." } } }Links
Website: sats4ai.com
MCP Docs: sats4ai.com/mcp
L402 API Docs: sats4ai.com/l402
L402 Code Examples: github.com/cnghockey/sats4ai-l402-examples
Service Discovery: sats4ai.com/.well-known/l402-services
Semantic Search: sats4ai.com/api/discover
License
MIT
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cnghockey/sats4ai'
If you have feedback or need assistance with the MCP directory API, please join our Discord server