Skip to content
MCP server

Lightning Enable MCP Server

Give an AI agent a Lightning wallet to pay invoices, call L402 APIs and set budgets

Runs locallyStatus and history
Pricing
Freemium
Platforms
Windows, macOS, Linux
Runs
Locally
Version
2.4.0
Listing updated
3 days ago

About Lightning Enable MCP Server

Lightning Enable MCP Server is a freemium MCP server for finance and payments. It runs locally on your machine and is started by your AI client.

Wallet selection is automatic when several are configured, in the order LND, NWC, Strike, then OpenNode. That order favours L402 because LND and NWC always return preimages, and OpenNode is noted as direct payments only. Credentials come from environment variables such as STRIKE_API_KEY or NWC_CONNECTION_STRING, and a setup_wallet tool walks a first-time user through connecting one.

A tool profile setting controls how many tools the server advertises: lite (pay, check wallet, budget, receipts, setup), standard (the default, action-based tools) and full (adds deprecated pre-consolidation names, removed in v3.0.0). Wallet, invoice, L402, budget and API-discovery tools work with just a wallet. Producer tools for selling access via L402 and Agent Service Agreement tools over Nostr unlock with an Agentic Commerce subscription, or through create_lightning_enable_account, which pays about 100 sats to self-provision a key.

It installs as a .NET tool, a Python package (including uvx) or a Docker image, and the project is MIT licensed.

Install

Run in a terminal

claude mcp add lightning-enable-mcp --env STRIKE_API_KEY='<STRIKE_API_KEY>' --env NWC_CONNECTION_STRING='<NWC_CONNECTION_STRING>' --env LND_MACAROON_HEX='<LND_MACAROON_HEX>' --env OPENNODE_API_KEY='<OPENNODE_API_KEY>' --env LIGHTNING_ENABLE_API_KEY='<LIGHTNING_ENABLE_API_KEY>' -- uvx lightning-enable-mcp

Add to claude_desktop_config.json

{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<LIGHTNING_ENABLE_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<LIGHTNING_ENABLE_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "lightning-enable-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<LIGHTNING_ENABLE_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<LIGHTNING_ENABLE_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "lightning-enable-mcp": {
      "command": "uvx",
      "args": [
        "lightning-enable-mcp"
      ],
      "env": {
        "STRIKE_API_KEY": "<STRIKE_API_KEY>",
        "NWC_CONNECTION_STRING": "<NWC_CONNECTION_STRING>",
        "LND_MACAROON_HEX": "<LND_MACAROON_HEX>",
        "OPENNODE_API_KEY": "<OPENNODE_API_KEY>",
        "LIGHTNING_ENABLE_API_KEY": "<LIGHTNING_ENABLE_API_KEY>"
      }
    }
  }
}

Configuration

  • STRIKE_API_KEYStrike API key for Lightning payments (recommended wallet)
  • NWC_CONNECTION_STRINGNostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)
  • LND_REST_HOSTLND REST API host (e.g., localhost:8080)
  • LND_MACAROON_HEXLND admin macaroon in hex format
  • OPENNODE_API_KEYOpenNode API key (direct payments only, no L402 support)
  • OPENNODE_ENVIRONMENTOpenNode environment: production or dev (testnet)
  • LIGHTNING_ENABLE_API_KEYLightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.
  • LIGHTNING_ENABLE_TOOL_PROFILEHow many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).
  • AGENT_RELAY_URLNostr relay URL for agent events (default: wss://agents.lightningenable.com)
  • STRIKE_API_KEYStrike API key for Lightning payments (recommended wallet)
  • NWC_CONNECTION_STRINGNostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)
  • LND_REST_HOSTLND REST API host (e.g., localhost:8080)
  • LND_MACAROON_HEXLND admin macaroon in hex format
  • OPENNODE_API_KEYOpenNode API key (direct payments only, no L402 support)
  • LIGHTNING_ENABLE_API_KEYLightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.
  • LIGHTNING_ENABLE_TOOL_PROFILEHow many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).
  • AGENT_RELAY_URLNostr relay URL for agent events (default: wss://agents.lightningenable.com)
  • STRIKE_API_KEYStrike API key for Lightning payments (recommended wallet)
  • NWC_CONNECTION_STRINGNostr Wallet Connect URI (for NWC wallets like CoinOS, CLINK, Alby Hub)
  • LND_REST_HOSTLND REST API host (e.g., localhost:8080)
  • LND_MACAROON_HEXLND admin macaroon in hex format
  • OPENNODE_API_KEYOpenNode API key (direct payments only, no L402 support)
  • LIGHTNING_ENABLE_API_KEYLightning Enable API key (unlocks producer + ASA tools). Optional: no key? The create_lightning_enable_account tool self-provisions one for ~100 sats over Lightning — no card, no subscription required.
  • LIGHTNING_ENABLE_TOOL_PROFILEHow many tools to advertise: lite (the wallet-setup and spend/read basics), standard (default), or full (adds the deprecated legacy names), or full (adds the pre-consolidation tool names).
  • AGENT_RELAY_URLNostr relay URL for agent events (default: wss://agents.lightningenable.com)

Tools this server provides (6)

Taken from the project documentation; the running server may differ.

setup_wallet
Reports the configured wallet and walks through connecting one.
pay_invoice
Pays a BOLT11 Lightning invoice.
access_l402_resource
Pays an L402 challenge to access a paid API resource.
get_balance
Checks the wallet balance.
create_lightning_enable_account
Pays about 100 sats over L402 and returns a merchant API key.
renew_lightning_enable_subscription
Renews the Lightning Enable subscription.

What it does

Pay invoices
Sends Bitcoin over Lightning to a BOLT11 invoice.
L402 access
Automatically pays L402 challenges to reach paid APIs.
API discovery
Searches the L402 API registry by keyword or category.
Spending controls
Budget limits, a durable receipt log and balance checks.
Four wallet types
Works with LND, NWC, Strike and OpenNode wallets.
Sell via L402
Producer tools price routes and verify payer tokens, with a subscription.
Tool profiles
Lite, standard and full profiles limit how many tools are advertised.

Good for

  • Let an agent pay for metered APIs per request
  • Cap an agent's spending with budgets and keep receipts
  • Find paid APIs in the L402 registry
  • Put your own API behind L402 and charge agents
  • Create invoices to receive payments

Pricing

Freemium, from $49 a month

Server is MIT and free; producer subscription listed at $49/mo with a 30-day trial

Prices change. Check docs.lightningenable.com before you buy.

Lightning Enable MCP Server FAQ

Which wallets are supported?

LND, Nostr Wallet Connect, Strike and OpenNode; OpenNode supports direct payments only, without L402.

Is it free?

The server is free and open source under MIT; producer and Agent Service Agreement tools need an Agentic Commerce subscription.

How do I install it?

Via `dotnet tool install -g LightningEnable.Mcp`, `pip install lightning-enable-mcp`, `uvx`, or the Docker image.

What does the self-serve signup cost?

The `create_lightning_enable_account` tool pays an activation fee of about 100 sats over Lightning.

Is Lightning Enable MCP Server free?

Lightning Enable MCP Server has a free plan, with paid plans for more usage or features. Paid plans start at $49 a month.

How do I add Lightning Enable MCP Server to Claude Code?

Run this command in your terminal: claude mcp add lightning-enable-mcp --env STRIKE_API_KEY='<STRIKE_API_KEY>' --env NWC_CONNECTION_STRING='<NWC_CONNECTION_STRING>' --env LND_MACAROON_HEX='<LND_MACAROON_HEX>' --env OPENNODE_API_KEY='<OPENNODE_API_KEY>' --env LIGHTNING_ENABLE_API_KEY='<LIGHTNING_ENABLE_API_KEY>' -- uvx lightning-enable-mcp

What are the best alternatives to Lightning Enable MCP Server?

The closest alternatives to Lightning Enable MCP Server are Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker, Quantivex Research and Provyan.

Alternatives to Lightning Enable MCP Server

  1. Remote MCP server exposing the Vybe Solana API to AI clients and code editors

    • 44 tools
    • Remote
    • 2.8K GitHub stars
    • Finance and payments
  2. Indian NSE and BSE stock market data for AI assistants through 48 MCP tools

    • 17 tools
    • Remote
    • Freemium
    • 150 GitHub stars
    • Finance and payments
  3. Budget Tracker

    MCP server

    Local MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling

    • 14 tools
    • Remote
    • Freemium
    • 2 GitHub stars
    • Finance and payments
  4. Stock scores, what a price assumes, earnings quality and quiet profit revisions

    • 11 tools
    • Remote
    • Free
    • Finance and payments
  5. Provyan

    MCP server

    Backtested crypto signal results on 94 coins, with luck odds and sources

    • 4 tools
    • Remote
    • Free
    • Finance and payments
  6. TribuJus

    MCP server

    Read-only access to UK bank accounts, cards and transactions via TrueLayer Open Banking

    Not checked yet
    • 5 tools
    • Remote
    • Open source
    • Legal and government