mcp-server
MCP server by lightningfaucet Community
Gives AI agents a Bitcoin wallet for Lightning Network payments and L402 API access. It runs as an MCP server or CLI on a custodial account, so there is no node to operate. Aimed at developers building agents that pay and receive sats.
Install mcp-server
Built from the published package, never by AI.
claude mcp add mcp-server -- npx -y lightning-faucet-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"lightning-faucet-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"lightning-faucet-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-server": {
"args": [
"-y",
"lightning-faucet-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-server -- npx -y lightning-faucet-mcp{
"mcpServers": {
"mcp-server": {
"args": [
"-y",
"lightning-faucet-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add mcp-server npx -y lightning-faucet-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-server block.
About
Lightning Wallet is an MCP server and CLI that gives an AI agent a Bitcoin wallet. The agent can pay L402 and X402 APIs, pay Lightning invoices and Lightning addresses, receive payments, and hold sats through tool calls. The service is custodial, so there is no node, no channels and no liquidity to manage.
The package runs with Claude Code, Cursor, Windsurf, OpenClaw, and any framework that can run a shell command. Credentials are saved locally after registration, and a remote HTTP endpoint is also available. Optional agent keys allow separate budgets and spend policies. The project suits developers who want AI agents to make and take Lightning payments.
Written from the project's README and checked against it.
Tools it gives your assistant
pay_l402_apiRequests a paid API and pays automatically on HTTP 402 via L402 or X402.pay_invoicePays any BOLT11 invoice and returns the preimage.pay_lightning_addressPays a Lightning address in the form user@domain.keysendPays a node pubkey directly, with an optional message.create_invoiceCreates an invoice to receive sats.get_invoice_statusChecks whether an invoice has been paid.get_deposit_invoiceCreates an invoice to fund the operator account.check_balanceReturns the wallet balance in sats.register_operatorCreates an account and saves credentials locally.create_agentCreates an agent with its own key and optional spending budget.
What you need
- Node.js with npx or npm to run the package
- A Lightning wallet to pay the deposit invoice
Try asking
- Register a Lightning wallet for me
- Check my Lightning wallet balance
- Pay this Lightning invoice for me: <bolt11 invoice>
Good to know
- Custodial service, so the provider holds the funds.
- In-flight payments return pending: true and should not be retried.
- Without a key, the remote server offers only a read-only tool set.
- Registration and credential tools work over stdio only, not the remote server.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to mcp-server
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
mcp-server: common questions
Do I need to run a Lightning node?
No. The source says the service is custodial, so there is no node, channel or liquidity to manage.
Can the agent pay L402 APIs?
Yes. pay_l402_api detects L402 or X402 on an HTTP 402 response and pays automatically.
Does registering cost anything?
Registering is free. The first paid call needs a small deposit, which you pay from any Lightning wallet.
How do I install mcp-server?
In Claude Code run claude mcp add mcp-server -- npx -y lightning-faucet-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is mcp-server the official server?
mcp-server is a community project by lightningfaucet, not verified by a company domain.
Is mcp-server free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is mcp-server safe to use?
It scores 64 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to mcp-server?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does mcp-server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
