Lightning Tools MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Lightning Tools MCP Serversend 500 sats to satoshi@getalby.com for coffee"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
⚠️ DEPRECATED ⚠️
Please use Alby MCP instead!
This repository has been deprecated in favor of Alby MCP, which includes all the NWC tools along with additional lightning tools.
Lightning Tools MCP Server
Interact with lightning addresses and use other common lightning tools with your LLM. Works well combined with NWC MCP Server
This MCP server uses the official MCP TypeScript SDK
Quick Start
Add to Claude Desktop
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"lightning-tools": {
"command": "npx",
"args": ["-y", "@getalby/lightning-tools-mcp-server"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
}
}
}
}Add to Cline
Copy the below and paste it into a cline prompt.
Add the following to my MCP servers list:
"lightning-tools": {
"command": "npx",
"args": ["-y", "@getalby/lightning-tools-mcp-server"],
"env": {
"NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
},
"disabled": false,
"autoApprove": []
}Related MCP server: NWC MCP Server
From Source
Prerequisites
Node.js 20+
Yarn
Installation
yarn installBuilding
yarn buildInspect the tools (use/test without an LLM)
yarn inspect
Supported Tools
See the tools directory
Available Tools
3 toolsfiat_to_satsB
Convert fiat amounts to sats
| Name | Required | Description | Default |
|---|---|---|---|
| currency | Yes | the fiat currency | |
| amount | Yes | amount in sats |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. It states the conversion action but lacks details on how the conversion works (e.g., source of exchange rates, accuracy, latency), whether it's read-only or has side effects, or any error handling. This leaves significant gaps for a tool that performs calculations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence with zero waste. It's front-loaded and directly communicates the core function without unnecessary elaboration, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's simplicity (2 parameters, no output schema, no annotations), the description is minimally adequate. However, it lacks context about the conversion process (e.g., rate source, timestamp), which could be important for accurate usage. Without annotations or output schema, more detail would improve completeness.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with clear documentation for 'currency' and 'amount'. The description adds no additional meaning beyond the schema, such as examples or constraints (e.g., valid currency codes, amount ranges). Since the schema does the heavy lifting, a baseline score of 3 is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Convert fiat amounts to sats' clearly states the tool's function with a specific verb ('Convert') and resources ('fiat amounts' to 'sats'), making the purpose immediately understandable. However, it doesn't differentiate from sibling tools like 'parse_invoice' or 'request_invoice', which appear to be related to Bitcoin transactions but serve different purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention any prerequisites, context for conversion (e.g., real-time rates, historical data), or exclusions, leaving the agent to infer usage based on the tool name alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parse_invoiceC
Parse a BOLT-11 lightning invoice
| Name | Required | Description | Default |
|---|---|---|---|
| invoice | Yes | the bolt11 invoice |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure but offers minimal information. It states the tool parses an invoice but doesn't describe what parsing entails (e.g., extracting amount, destination, expiry), whether it validates the invoice, what happens with invalid input, or the format of results. For a tool with zero annotation coverage, this leaves critical behavioral traits unspecified.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without any fluff or redundancy. It is appropriately sized for a simple tool and front-loaded with the core action, making it easy to scan and understand quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (parsing a structured data format), lack of annotations, and absence of an output schema, the description is insufficiently complete. It doesn't explain what parsing yields (e.g., decoded fields like amount or payee), handle edge cases (e.g., invalid invoices), or provide context for use with siblings. For a tool with no structured output documentation, the description should compensate more.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 100% description coverage, with the single parameter 'invoice' documented as 'the bolt11 invoice'. The description adds no additional semantic context beyond this (e.g., explaining BOLT-11 format requirements or examples). According to scoring rules, when schema coverage is high (>80%), the baseline is 3 even without param details in the description, which applies here.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Parse') and the target resource ('a BOLT-11 lightning invoice'), making the purpose immediately understandable. However, it doesn't explicitly differentiate from sibling tools like 'request_invoice' (which likely creates invoices) or 'fiat_to_sats' (which converts currency), leaving room for potential confusion about when to choose this specific parsing tool.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing a valid invoice string), contrast with siblings (e.g., use 'parse_invoice' to decode an existing invoice vs. 'request_invoice' to generate one), or specify typical contexts (e.g., after receiving a payment request). This lack of usage context could lead to incorrect tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
request_invoiceC
Request an invoice from a lightning address
| Name | Required | Description | Default |
|---|---|---|---|
| lightning_address | Yes | the recipient's lightning address | |
| amount | Yes | amount in sats | |
| description | No | ||
| payer_data | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It states the action ('Request an invoice') but doesn't describe what happens after the request (e.g., whether it generates a payment request, returns an invoice string, or triggers a network operation). It also lacks information about permissions, rate limits, or error conditions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that directly states the tool's purpose without unnecessary words. It's front-loaded with the core action and resource, making it easy to parse.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a tool with 4 parameters, no annotations, and no output schema, the description is insufficient. It doesn't explain what the tool returns (e.g., an invoice string, payment request object, or confirmation), behavioral traits like network effects or error handling, or how it relates to sibling tools. The lack of output schema increases the need for return value explanation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 50% (2 of 4 parameters have descriptions). The description doesn't add any parameter-specific information beyond what's in the schema. However, it implies the purpose of the parameters (lightning_address for recipient, amount for invoice value), which aligns with the schema. Baseline 3 is appropriate given the partial schema coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the action ('Request an invoice') and the target ('from a lightning address'), providing a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like 'parse_invoice' (which likely analyzes existing invoices) or 'fiat_to_sats' (which converts currency).
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. There's no mention of prerequisites, when-not-to-use scenarios, or how this differs from sibling tools like 'parse_invoice' (which might handle existing invoices) or 'fiat_to_sats' (which might be a prerequisite for determining the amount).
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
3 tool updates
v1.0.0- Changed
fiat_to_sats1 field changed- removed
Input schema / additionalPropertiesRemoved value: -false
- Changed
parse_invoice1 field changed- removed
Input schema / additionalPropertiesRemoved value: -false
- Changed
request_invoice6 fields changed- removed
Input schema / additionalPropertiesRemoved value: -false - added
Input schema / properties / description / anyOfAdded value: +[ + { + "description": "note, memo or description describing the invoice", + "type": "string" + }, + { + "type": "null" + } +] - removed
Input schema / properties / description / descriptionRemoved value: -"note, memo or description describing the invoice" - removed
Input schema / properties / description / typeRemoved value: -[ - "string", - "null" -] - changed
Input schema / properties / payer_data / anyOfPrevious value: -[ - { - "additionalProperties": true, - "description": "metadata to include with the payment such as the payer's name", - "properties": {}, - "type": "object" - }, - { - "type": "null" - } -]New value: +[ + { + "additionalProperties": {}, + "description": "metadata to include with the payment such as the payer's name", + "properties": {}, + "type": "object" + }, + { + "type": "null" + } +] - removed
Input schema / properties / payer_data / descriptionRemoved value: -"metadata to include with the payment such as the payer's name"
3 tool updates
- First observed
fiat_to_sats - First observed
parse_invoice - First observed
request_invoice
TDQS
Each tool has a clearly distinct purpose with no overlap: fiat_to_sats handles currency conversion, parse_invoice processes existing invoices, and request_invoice generates new invoices from lightning addresses. An agent can easily distinguish these functions without confusion.
All tool names follow a consistent snake_case pattern with clear verb_noun structures (e.g., parse_invoice, request_invoice). The naming is uniform and predictable across the set.
With only 3 tools, the server feels thin for a Lightning domain, as it lacks operations like sending payments, checking balances, or managing channels. However, the tools are well-scoped for basic invoice and conversion tasks, making it borderline but not severely lacking.
The tool surface is significantly incomplete for Lightning functionality; it covers invoice parsing/requesting and fiat conversion but misses core operations like pay_invoice, get_balance, list_transactions, or channel management. This will likely cause agent failures in broader workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Pay-per-action access to APIs and MCP tools over Lightning L402 and Base USDC x402.
Monetize and manage your Tip4Serv store directly from your LLM.
OpenAI-compatible LLM MCP (7 tools); chat via balance key or x402 USDC on Base
L402 MCP: 5 paid BTC/Lightning tools + fiat credits, 10-25 sats/call.
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceEnables AI models to interact with the Lightning Network by providing an MCP-compliant API to pay invoices.206MIT
- AlicenseBqualityFmaintenanceConnects a Bitcoin Lightning wallet to your LLM using Nostr Wallet Connect, enabling payment functionalities within language models like Claude.62215MIT
- AlicenseNot gradedqualityDmaintenanceEnables Bitcoin Lightning wallet integration with LLMs through Nostr Wallet Connect (NWC). Supports lightning payments, LNURL operations, and L402 authentication for AI-powered bitcoin transactions.30Apache 2.0

Breez MCP Serverofficial
AlicenseNot gradedqualityDmaintenanceEnables Lightning Network wallet operations through the Breez SDK, allowing users to check balances, send/receive payments, create invoices, and manage Bitcoin Lightning transactions via natural language.7MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/getAlby/lightning-tools-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server