Give AI agents a Bitcoin wallet with Lightning Network payments and L402 support.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"lightning-wallet": {
"args": [
"lightning-wallet-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Give your AI agent a Bitcoin wallet. MCP server + CLI. Works with Claude Code, OpenClaw, Cursor, and any agent framework.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'lightning-wallet-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked lightning-wallet-mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
MCP server for QuickBooks Online — accounts, customers, invoices, bills, and reports.
Let AI agents create, discover, and track tokens across chains via Printr.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
MCP server for Financial Modeling Prep API with 250+ financial data tools
MCP Security Weekly
Get CVE alerts and security updates for io.github.lightningfaucet/mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Give your AI agent a Bitcoin wallet. MCP server + CLI. Works with Claude Code, OpenClaw, Cursor, and any agent framework.
update_operator tool / lw set-email - set your operator email from the MCP client or CLI; a verification link is emailed to you.claim_promo tool / lw claim-promo - claim the free-sats install promo directly from your agent. Requirements: verified email + operator account at least 3 hours old.get_info works before registration - service info no longer requires an API key.lw register --email you@example.com (or the register_operator MCP tool with an email)lw claim-promo (or the claim_promo MCP tool)One bonus per operator, first 100 installs only, no deposit required.
v1.3.0 - L402 protocol v0 support per the latest Lightning Labs spec.
version="0", token=, backward compatible with macaroon=.well-known/l402.json on lightningfaucet.com and certvera.comv1.1.0 - X402 protocol support (USDC on Base) as automatic fallback alongside L402 (Lightning).
pay_l402_api seamlessly handles both L402 and X402For CLI-first agents (OpenClaw, Pi, KiloCode, or any agent with Bash access):
npm install -g lightning-wallet-mcp
This installs the lw command:
# Register and save your API key
export LIGHTNING_WALLET_API_KEY=$(lw register --name "My Bot" | jq -r '.api_key')
# Check balance
lw balance | jq '.balance_sats'
# Pay an L402 API
lw pay-api "https://lightningfaucet.com/api/l402/fortune"
# Create and fund an agent
lw create-agent "Research Bot" --budget 5000
lw fund-agent 1 1000
# Check identity
lw whoami
Output is JSON by default (pipe to jq). Use --human for readable output.
Run lw help for all commands.
For MCP-native clients, configure as an MCP server:
**Option A: Self-