MCP Server
Lightning Tools MCP Server
Enables interaction with lightning addresses and common lightning tools via your LLM, providing Lightning Network functionality through natural language.
1
GitHub Stars
8/23/2025
Last Updated
MCP Server Configuration
1{
2 "name": "lightning-tools",
3 "command": "npx",
4 "args": [
5 "-y",
6 "@getalby/lightning-tools-mcp-server"
7 ],
8 "env": {
9 "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"
10 }
11}
JSON11 lines
README Documentation
⚠️ 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": []
}
From Source
Prerequisites
- Node.js 20+
- Yarn
Installation
yarn install
Building
yarn build
Inspect the tools (use/test without an LLM)
yarn inspect
Supported Tools
See the tools directory
Quick Install
Quick Actions
Key Features
Model Context Protocol
Secure Communication
Real-time Updates
Open Source