lightning-mcp-server
Skill by jiayaoqijia
Connects AI assistants to lnd Lightning nodes through Lightning Node Connect, using a pairing phrase instead of TLS certs or macaroons. It is read-only and suits people who want to query node state from Claude Code.
Install lightning-mcp-server
Built from the published package, never by AI.
git clone --depth 1 https://github.com/jiayaoqijia/cryptoskill /tmp/cryptoskill && mkdir -p ~/.claude/skills && cp -r /tmp/cryptoskill/skills/chains/lightning-mcp ~/.claude/skills/lightning-mcp-serverRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/jiayaoqijia/cryptoskill /tmp/cryptoskill && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/cryptoskill/skills/chains/lightning-mcp ~/.gemini/antigravity-cli/skills/lightning-mcp-serverAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install lightning-mcp-server in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This is an MCP server that lets AI assistants query Lightning nodes running lnd. It uses Lightning Node Connect (LNC), which routes encrypted WebSocket traffic through a mailbox relay, so the agent does not need direct gRPC access, TLS certificates, or macaroons. The user supplies a 10-word pairing phrase from Lightning Terminal, and the server keeps it in memory only.
The server runs over stdio and is added to Claude Code through a setup script, a claude mcp add command, or a manual config file. After the agent calls lnc_connect, it can use 18 read-only tools covering node info, balances, channels, invoices, payments, peers, and on-chain data. The server is read-only by default and does not expose payment or channel-changing operations. It is aimed at Lightning node operators and developers who want an AI assistant to observe their node.
Written from the project's SKILL.md and checked against it.
What it can do
- lnc_connectConnects to lnd via an LNC pairing phrase.
- lnc_disconnectCloses the active LNC connection.
- lnc_get_infoReturns node alias, version, sync status, and block height.
- lnc_get_balanceReturns on-chain wallet balance and channel balance.
- lnc_list_channelsLists active and inactive channels with capacity and balances.
- lnc_pending_channelsShows channels that are being opened or closed.
- lnc_decode_invoiceDecodes a BOLT11 invoice.
- lnc_list_paymentsShows payment history with pagination.
- lnc_list_peersLists connected peers with stats.
- lnc_estimate_feeGives fee estimates for confirmation targets.
What you need
- Lightning Terminal (litd) on the target node to generate a pairing phrase
- Claude Code as the MCP client
- Go 1.24+ to build from source
- Docker, if running the server as a container
Try asking
- Connect to my lnd node with this pairing phrase and show the node info
- List my active and inactive Lightning channels with their balances
- Show my recent payment history and decode this BOLT11 invoice
Good to know
- Read-only by default: no payment, channel, or state-changing operations are exposed
- The pairing phrase must be exactly 10 words
- Dev mode and insecure mode are for local regtest setups only
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/chains/lightning-mcp/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to lightning-mcp-server
All alternatives →Lists live launchpad token feeds and AI-detected hot topics for meme tokens on BSC, Solana and Base. Covers new, finalizing and just-migrated tokens on launchpads such as Pump.fun and Four.meme.
The okx-market skill lets an AI assistant retrieve cryptocurrency market data from the OKX V5 REST API. It is aimed at users who want spot, derivatives and index data in Python without an account.
Calculates key SaaS health metrics such as ARR, churn, LTV and CAC from raw business numbers, then gives prioritized advice. Built for founders and finance leads who share revenue or customer figures.
Fetches U.S. SEC EDGAR data for research. It resolves a ticker to its CIK, lists recent filings with primary-document URLs, and pulls XBRL financial series. Built for analysts who need free, U.S.-only filing data.
Provides free, no-auth access to Eastmoney market data for A-shares, Hong Kong stocks and US stocks. It covers fund flows, dragon-tiger lists, financial statements and stock screening.
Reads and manages a user's QuickBooks business through Intuit's official MCP server. It answers finance questions from reports, invoices, customers, products and benchmarks, and completes approved actions.
Compare with meme-rush, okx-market or saas-metrics-coach
lightning-mcp-server: common questions
Does lightning-mcp-server need TLS certificates or macaroons?
No. The source says it uses only the pairing phrase from Lightning Terminal, and no keys, certs, or macaroons are stored on disk.
Can the AI assistant send payments with this server?
No. The source says the server is read-only and does not expose payment, channel, or state-changing operations.
How does the server reach my lnd node?
It opens an encrypted WebSocket tunnel through the mailbox relay, so the agent machine does not connect directly to the node's gRPC port.
How do I install lightning-mcp-server?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is lightning-mcp-server free?
The code is published under the AGPL-3.0 licence. The service it connects to may have its own pricing.
Is lightning-mcp-server safe to use?
It scores 59 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to lightning-mcp-server?
Similar skills: meme-rush, okx-market, saas-metrics-coach, sec-edgar.
