Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ’ฐ Finance & Fintech
  3. Lightning Wallet MCP
Lightning Wallet MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 8:16:32 PM

Lightning Wallet MCP

User RatingsBe the first to rate and review this MCP server!
View Repository9 GitHub StarsTotal stargazers on GitHub for the source repository (9 stars).Visit Website

Bitcoin Lightning wallet MCP server with L402/X402 paid API support, operator-agent hierarchy, budget controls, and CLI.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "lightningfaucet-lightning-wallet-mcp": {
      "command": "npx",
      "args": [
        "lightning-wallet-mcp"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (35) Directory Badge Claim listing Alternatives๐Ÿ’ฐ More in Finance & Fintech

Overview

This MCP server provides AI agents with a Bitcoin Lightning wallet supporting L402 and X402 payment protocols, enabling instant payments and access to paid APIs. It includes operator and agent management with spending limits, budget controls, and transaction tracking. The server offers CLI tools and webhook notifications, suitable for integrating Lightning payments into AI agent workflows or managing multiple agents with isolated funds.

Use cases

โ€ขRegister and manage operator and agent accounts with spending budgets
โ€ขMake Lightning or USDC (Base) payments to paid APIs using L402/X402 protocols
โ€ขDecode and pay BOLT11 Lightning invoices and send keysend payments
โ€ขTrack transaction history and export analytics for agent spending
โ€ขAuthenticate and claim funds via LNURL protocols

Key features

โ€ขSupports L402 (Lightning) and X402 (USDC on Base) payment protocols with auto-detection
โ€ขOperator/agent hierarchy with budget management and agent lifecycle controls
โ€ขCLI interface for registration, balance checks, payments, and agent management
โ€ขWebhook notifications for real-time payment and event updates
โ€ขInvoice decoding, keysend payments, and Lightning address support
โ€ขTransaction export in JSON/CSV and agent-to-agent fund transfers

Capabilities & Tool Schemas (35) ~477 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by Lightning Wallet MCP.

get_info

Get service status, version, and supported features

decode_invoice

Decode a BOLT11 invoice to see amount, destination, and expiry

whoami

Get current context - shows if operating as operator or agent

check_balance

Check current Lightning balance in satoshis

get_rate_limits

Check current rate limit status and requests remaining

pay_l402_api

Access paid APIs (L402/X402) - auto-detects protocol and pays

Documentation Overview

Lightning Wallet

npm version License: MIT Glama MCP Server

Give your AI agent a Bitcoin wallet. One MCP server plus a CLI. Works with Claude Code, Cursor, Windsurf, OpenClaw, and any framework that can run a shell command.

Your agent can pay for L402 and X402 APIs, pay any Lightning invoice or Lightning address, receive payments, and hold sats, all through natural language tool calls. Custodial, so there is nothing to run: no node, no channels, no liquidity to manage.

Quick start (60 seconds)

Claude Code

Terminal
claude mcp add lightning-wallet -- npx -y lightning-wallet-mcp

Then in Claude: "Register a Lightning wallet for me with the email you@example.com".

That is it. register_operator saves your credentials to ~/.lightning-wallet/credentials.json (mode 0600) and every later session reuses them automatically. Click the verification link we email you and 100 free sats land in the wallet a few hours later (first 100 installs, one bonus per verified email, no deposit needed).

Cursor / Windsurf / any MCP host (.cursor/mcp.json, .mcp.json, or the host's MCP settings):

config.json
{
  "mcpServers": {
    "lightning-wallet": {
      "command": "npx",
      "args": ["-y", "lightning-wallet-mcp"]
    }
  }
}

Already have a key? Put it in the env block instead of registering again. The env var always wins over the saved file:

config.json
{
  "mcpServers": {
    "lightning-wallet": {
      "command": "npx",
      "args": ["-y", "lightning-wallet-mcp"],
      "env": { "LIGHTNING_WALLET_API_KEY": "lf_your_operator_key" }
    }
  }
}

CLI (any agent framework, CI, or a plain shell):

Terminal
npm install -g lightning-wallet-mcp
lw register --name "My Bot" --email you@example.com   # saves credentials locally, no export needed
lw balance
lw pay-api https://lightningfaucet.com/api/l402/fortune
lw pay <bolt11>
lw pay-address someone@getalby.com 100

What's new in v1.6

  • Credentials persist. register_operator, set_operator_key, set_agent_credentials, recover_account and rotate_api_key save to ~/.lightning-wallet/credentials.json; the server loads it on start when LIGHTNING_WALLET_API_KEY is unset. forget_credentials (tool) and lw forget delete it. LIGHTNING_WALLET_NO_PERSIST=1 disables writes.
  • Pay straight from the operator key. pay_invoice, pay_l402_api, pay_lightning_address and keysend no longer require an agent key. The backend provisions a transient default agent, funds it with exactly what the payment needs, and sweeps the remainder back, so your operator balance is your balance. Agents are now optional: create them when you want separate budgets.
  • Cheaper. Platform fee is 1% rounded down with no minimum (payments under 100 sats are free). Withdrawals start at 10 sats. The default routing reserve scales with the amount instead of a flat 100 sats.
  • Safer payments. In-flight payments are returned as pending: true (not as errors), so the model does not retry a payment that may still settle. Requests time out after 45s instead of hanging. Lightning-address payments verify the invoice amount before paying.
  • Fixes. set_budget uses the backend's set_budget action (0 = unlimited works). Partial sweep_agent no longer sweeps everything. Fee fields for pay_lightning_address and nostr_zap report the real routing and platform fees. BOLT11 inputs accept lightning: prefixes, whitespace, uppercase and signet/regtest invoices. whoami never guesses the identity type.
  • CLI. New pay-address, keysend, sweep, set-budget, recover, use-key, credentials, forget. Version is read from the package.

Tools

All 46 tools work with the operator key unless noted. Switch to an agent key with set_agent_credentials when you want per-agent budgets.

Service and identity

ToolDescription
get_infoService status, version and supported features (no key needed)
decode_invoiceDecode a BOLT11 invoice: amount, destination, expiry (no key needed)
whoamiCurrent identity (operator or agent), balance, where the key came from
check_balanceBalance in sats
get_rate_limitsRate-limit status and requests remaining
forget_credentialsDelete the saved credentials file

Paying

ToolDescription
pay_l402_apiRequest a paid API. Detects L402 (Lightning) or X402 (USDC on Base) on HTTP 402 and pays automatically
pay_invoicePay any BOLT11 invoice; returns the preimage
pay_lightning_addressPay user@domain
keysendPay a node pubkey directly, with an optional message
nostr_zapNIP-57 zap to a Nostr user or event
lnurl_authLog in to a service with LNURL-auth
claim_lnurl_withdrawPull funds from an LNURL-withdraw link

Receiving and history

ToolDescription
create_invoiceInvoice to receive sats
get_invoice_statusHas an invoice been paid
get_deposit_invoiceInvoice to fund the operator account
get_transactionsTransaction history
set_nostr_identity / get_nostr_identityNostr keypair for the agent

Operator account

ToolDescription
register_operatorCreate an account; credentials are saved locally
update_operatorSet email (sends a verification link) or display name
claim_promoClaim the install promo manually (it is also granted automatically after verification)
withdrawWithdraw to an external invoice (minimum 10 sats)
create_withdraw_linkLNURL-withdraw link to sweep into any wallet by QR
recover_accountRecover with the recovery code (rotates the key)
rotate_api_keyNew key; payments pause for 60 minutes
set_operator_key / set_agent_credentialsSwitch context and save the key

Agents (optional)

ToolDescription
create_agentAgent with its own key and optional budget
list_agentsAgents under this operator
fund_agent / transfer_to_agentMove sats to an agent
sweep_agentMove sats back to the operator (amount_sats: "all" for everything)
get_budget_status / set_budgetRead or set a spending limit (0 = unlimited)
deactivate_agent / reactivate_agent / delete_agentLifecycle

Webhooks and the board

register_webhook, list_webhooks, delete_webhook, test_webhook deliver invoice_paid, payment_completed, payment_failed, balance_low, budget_warning and more to your URL. Payloads carry an HMAC-SHA256 signature in X-Webhook-Signature (secret returned by register_webhook). board_read, board_post, board_reply, board_vote use the agent message board at lightningfaucet.com (posting costs 1 sat).

CLI reference

Code
lw register [--name "..."] [--email you@example.com]
lw use-key <api_key> [--agent]      lw credentials      lw forget      lw recover <code>
lw whoami | balance | info
lw pay <bolt11> [--max-fee 10]      lw pay-address user@domain 100 [--comment "..."]
lw pay-api <url> [--method GET] [--body '{}'] [--max-sats 1000]
lw keysend <pubkey> 100 [--message "..."]
lw deposit 1000                     lw withdraw <bolt11>     lw withdraw-link [amount]
lw create-agent "name" [--budget 5000]   lw fund-agent <id> 500   lw sweep <id> [amount|all]
lw set-budget <id> 5000             lw agents           lw transactions [--limit 10]
lw set-email you@example.com        lw claim-promo      lw decode <bolt11>

Every command prints JSON to stdout (add --human for a readable view). Errors go to stderr and exit 1.

Pricing

  • Platform fee: 1% of the amount, rounded down. Payments under 100 sats pay no fee.
  • Routing fees: charged at cost. An estimate is reserved up front (1% of the amount, at least 3 sats, at most 100) and the unused part is refunded after settlement. Pass max_fee_sats to override.
  • Deposits, receiving, same-operator agent transfers and webhooks: free.
  • Withdrawals: 1% platform fee plus routing, minimum 10 sats.
  • X402 payments: 1% platform fee plus a 1% exchange spread on the USDC conversion.

Every payment response includes platform_fee_sats, routing_fee_sats and total_cost.

Paid APIs: L402 and X402

pay_l402_api makes the request, reads the 402 challenge, pays, and retries with the token. L402 (Lightning, per the Lightning Labs v0 spec, macaroon or token header) is preferred; X402 (USDC on Base) is used when that is all the endpoint offers. Cap what one call may spend with max_payment_sats.

Try it against the demo endpoints on lightningfaucet.com:

bash
lw pay-api https://lightningfaucet.com/api/l402/fortune   # 50 sats
lw pay-api https://lightningfaucet.com/api/l402/joke
lw pay-api https://lightningfaucet.com/api/l402/quote

There are 30+ pay-per-use endpoints in the API catalog, and you can list your own L402 endpoint on the gateway to get paid by other agents.

Pre-payment policy hook

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Finance & Fintech View all alternatives
  • Myfinance MCP logoMyfinance MCP

    Personal finance by conversation: expenses, receipts, statement import, budgets, net worth.

    ๐Ÿ’ฐ Finance & Fintech2 views
    Compare vs Myfinance MCP โ†’
  • MCP Server logoMCP Server

    EUR settlement for AI agents via x402 protocol. Market data, AI tools, crypto analytics โ€” pay-per-call in USDC on Base. SEPA Instant EUR off-ramp.

    ๐Ÿ’ฐ Finance & Fintech9 views
    Compare vs MCP Server โ†’
  • Tonnode MCP logoTonnode MCP

    Direct liteserver access to The Open Network (TON) over native ADNL: GRAM balances, account state, transaction history and contract get-methods. Works with the free public config or a private/hosted endpoint. npx -y @tonnode/mcp

    ๐Ÿ’ฐ Finance & Fintech2 views
    Compare vs Tonnode MCP โ†’
  • Brazilian Central Bank (BCB) MCP logoBrazilian Central Bank (BCB) MCP
    Verified

    MCP server for the Brazilian Central Bank (Banco Central do Brasil): SGS time series (Selic, IPCA, exchange rates, GDP and 139 curated, source-verified indicators), the Focus market-expectations survey and PTAX official exchange rates. 15 tools, 3 resources and 3 prompts, with provenance metadata on every response. Runs locally via npx (stdio) or through the hosted endpoint at https://bcb.sidneybissoli.com/mcp โ€” no API key or signup required.

    ๐Ÿ’ฐ Finance & Fintech7 views
    Compare vs Brazilian Central Bank (BCB) MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
9
Stargazers on the source repository.
npm downloads
463
Package downloads in the last 30 days.
Last commit
2mo ago
Most recent push to the default branch.
Tools exposed
35
Callable tools this server registers over MCP.
Directory activity
1 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Lightning Wallet MCP

Use the CLI command 'lw register --email you@example.com' or the 'register_operator' MCP tool, then verify your email via the emailed link.

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 PreviewLightning Wallet MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/lightningfaucet-lightning-wallet-mcp?style=directory)](https://allmcps.com/mcp/lightningfaucet-lightning-wallet-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/lightningfaucet-lightning-wallet-mcp"><img src="https://allmcps.com/api/badge/lightningfaucet-lightning-wallet-mcp?style=directory" alt="Lightning Wallet MCP on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ’ฐFinance & Fintech
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
Last updatedAug 7, 2026
10/10 checks healthy over the last 31d
Views1
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars9
GitHub Star CountTotal stargazers on GitHub representing community popularity (9 stars).
Last commit2mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 2, 2026
npm downloads463/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
57Quality signal: Good ยท 57/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools26/30
Adoption & activity7/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 14d ago via OSV.dev ยท lightning-wallet-mcp (npm)

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ’ฐ Finance & Fintech โ†’Best MCP servers for Finance & Fintech โ†’Alternatives to Lightning Wallet MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code