Getalby MCP
MCP server by getAlby Verified · npm:@getalby
Connects a bitcoin Lightning wallet to AI assistants using Nostr Wallet Connect. It is for users who want their LLM to control a Lightning wallet.
Install Getalby MCP
Built from the published package, never by AI.
claude mcp add getalby-mcp -- npx -y @getalby/mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"getalby-mcp": {
"args": [
"-y",
"@getalby/mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"getalby-mcp": {
"args": [
"-y",
"@getalby/mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"getalby-mcp": {
"args": [
"-y",
"@getalby/mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add getalby-mcp -- npx -y @getalby/mcp{
"mcpServers": {
"getalby-mcp": {
"args": [
"-y",
"@getalby/mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add getalby-mcp npx -y @getalby/mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the getalby-mcp block.
About
Alby Bitcoin Payments MCP Server connects a bitcoin Lightning wallet to an LLM using Nostr Wallet Connect (NWC). It is built with the official MCP TypeScript SDK and uses the Alby SDK and Alby Lightning Tools. It also knows about NWC, LNURL and L402.
It runs locally over STDIO by default, or as a hosted server at mcp.getalby.com over SSE or HTTP Streamable. Authentication uses the NWC connection secret as a Bearer token or query parameter. HTTP mode can be started with MODE=HTTP. It suits people who want an AI assistant to work with a Lightning wallet. The README also points to Alby CLI for agents that don't support MCP.
Written from the project's README and checked against it.
Tools it gives your assistant
fetch_l402Fetches http(s) URLs using the L402 protocol, refusing private and loopback addresses.
What you need
- A connection string from a Lightning wallet that supports NWC
- Node.js 20+ and Yarn (only when building from source)
- An MCP client that supports remote servers or STDIO
- Claude Pro subscription (for remote MCP in Claude)
Try asking
- Use fetch_l402 to retrieve the content behind this L402 paywalled URL.
- Check my Lightning wallet using the connected NWC connection.
- Send a Lightning payment from my connected wallet with the amount I give you.
Good to know
- A decent model is needed, for example Claude Sonnet 3.7, or the server will not work.
- fetch_l402 does not follow redirects, so a redirecting URL returns an error.
- The SSE endpoint is deprecated.
- The private address check is best-effort because DNS can change between lookups.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Getalby MCP
All alternatives →Connects AI assistants to Stripe through the hosted Stripe MCP server at mcp.stripe.com. It is for developers building AI-powered products and businesses on Stripe.
Gives AI assistants market data, technical analysis, backtests, options activity and news sentiment for stocks, crypto, FX and metals. Built for traders and developers using Claude, ChatGPT, Cursor or other MCP clients. Its outputs are informational, not financial advice.
CCXT is an official MCP server for market data and trading across more than 100 exchanges and prediction markets. It is aimed at developers, traders and AI agents.
Calculates over 1400 transparent financial methods from raw statements and exposes them to AI assistants through an MCP server. Suited to analysts and developers who want to see how each metric is computed.
Lets an AI assistant search x402 APIs and pay for them in USDC from a local, non-custodial wallet. Built for people and agents that need to pay APIs per call under spend caps.
Lets AI assistants explore a free database of over 300,000 symbols, including equities, ETFs, funds, indices, currencies and cryptocurrencies, categorised by sector, industry and country. It suits private investors who want to discover products rather than look up fundamentals or stock data.
Compare with mcp, TradingMCP or CCXT
Getalby MCP: common questions
How do I authenticate to the hosted Alby MCP server?
Provide the NWC connection secret as a Bearer token in the Authorization header, or as the nwc query parameter if the client does not support Bearer auth.
Can I run the Alby MCP server locally?
Yes. It runs in STDIO mode by default, and setting MODE=HTTP enables Streamable HTTP and SSE on localhost port 3000.
What should I use if my agent does not support MCP?
The README points to the Alby CLI at github.com/getAlby/cli for agents that don't support MCP.
How do I install Getalby MCP?
In Claude Code run claude mcp add getalby-mcp -- npx -y @getalby/mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Getalby MCP the official server?
Getalby MCP is published by npm:@getalby from its verified domain in the official MCP Registry.
Is Getalby MCP free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Getalby MCP safe to use?
It scores 71 of 100. Grades: maintenance B, licence A, 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 Getalby MCP?
Similar MCP servers: mcp, TradingMCP, CCXT, Finance Toolkit.
Does Getalby MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
