getalby/nwc-mcp-server
by Various
Connect a bitcoin lightning wallet to your LLM using Nostr Wallet Connect and Model Context Protocol
MCP
getalby/nwc-mcp-server
Added 1 June 2026
Overview
A lightweight server that links a Bitcoin Lightning wallet to an LLM through Nostr Wallet Connect and the Model Context Protocol. It enables AI agents to make payments and query wallet balances over the Lightning Network.
Best for
Best for
Developers building AI agents that need to send or receive small Bitcoin payments
Use cases
- Enable an LLM to send micropayments for API calls or services
- Check wallet balance or transaction history via natural language
- Automate Lightning tipping or pay-per-request workflows in agents
How to use
Install
N8N_COMMUNITY_PACKAGES_ALLOW_TOOL_USAGE=true npx n8n Tested with
Claude Desktop, Cline
Example client config
{\n "mcpServers": {\n "nwc": {\n "command": "npx",\n "args": ["-y", "@getalby/nwc-mcp-server"],\n "env": {\n "NWC_CONNECTION_STRING": "YOUR NWC CONNECTION STRING HERE"\n }\n }\n }\n} Notes
A lightweight server that links a Bitcoin Lightning wallet to an LLM through Nostr Wallet Connect and the Model Context Protocol. It enables AI agents to make payments and query wallet balances over the Lightning Network.
14 stars on GitHub. Last updated 2025-06-20.
Use cases
- Enable an LLM to send micropayments for API calls or services
- Check wallet balance or transaction history via natural language
- Automate Lightning tipping or pay-per-request workflows in agents
Pros
- Direct integration between MCP agents and real Bitcoin payments
- Small codebase (TypeScript) easy to audit or extend
- Leverages open, decentralized Nostr protocol for wallet control
Cons
- Requires an Alby or compatible Lightning wallet already set up
- Very early stage with only 14 stars and limited community support
- Dependent on Nostr infrastructure which adds latency and complexity
Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.
Pros
- Direct integration between MCP agents and real Bitcoin payments
- Small codebase (TypeScript) easy to audit or extend
- Leverages open, decentralized Nostr protocol for wallet control
Cons
- Requires an Alby or compatible Lightning wallet already set up
- Very early stage with only 14 stars and limited community support
- Dependent on Nostr infrastructure which adds latency and complexity
Pairs with
Other entries in the index that connect to this one. Click through to see the chain.
Get the free Developer’s Field Guide
A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.
Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.