Bitcoin Lightning NetworkSAFE
Bitcoin & Lightning Network MCP Server.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://mseep.ai/app/abdelstark-bitcoin-mcp)
Documentation
Try with Claude
Try with Goose
Overview
A Model Context Protocol (MCP) server that enables AI models to interact with Bitcoin and Lightning Network, allowing them to generate keys, validate addresses, decode transactions, query the blockchain, and more.
🎮 Demo
3dde0bab2e6aOBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add bitcoin-mcp --env LNBITS_ADMIN_KEY=${LNBITS_ADMIN_KEY} --env LNBITS_READ_KEY=${LNBITS_READ_KEY} -- npx -y [email protected]{
"mcpServers": {
"bitcoin-mcp": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"LNBITS_ADMIN_KEY": "${LNBITS_ADMIN_KEY}",
"LNBITS_READ_KEY": "${LNBITS_READ_KEY}"
}
}
}
}Exposed tools (7)
6 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
decode_invoice | read | Decode a Lightning invoice |
decode_tx | read | Decode a Bitcoin transaction |
generate_key | read | Generate a new Bitcoin key pair and address |
get_latest_block | read | Get the latest block |
get_transaction | read | Get transaction details |
pay_invoice | write | Pay a Lightning invoice |
validate_address | read | Validate a Bitcoin address |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (5 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (5)
.nojekyll
Can you decode this Bitcoin transaction: 0100000001c997a5e56e104102fa209c6a852dd90660a20b2d9c352423edce25857fcd3704000000004847304402204e45e16932b8af514961a1d3a1a25fdf3f4f7732e9d624c6c61548ab5fb8cd410
const tx = bitcoin.Transaction.fromHex(rawHex);
@mdx-js/react, clsx, prism-react-renderer, react, react-dom, typescript
cors, dotenv, ecpair, express, husky, node-fetch, pino, pino-pretty
Gates applied: no_behavioural_pass.
3dde0bab2e6afull audit observations/trust-audit/mcp-server/abdelstark__bitcoin-lightning-network.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | 3dde0bab2e6a | SAFE | B | 89 | first audit |
Questions
What is the Bitcoin Lightning Network MCP server?
Bitcoin & Lightning Network MCP Server.
What tools does Bitcoin Lightning Network expose?
7 in total: 6 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Bitcoin Lightning Network safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Bitcoin Lightning Network need?
It reads LNBITS_ADMIN_KEY and LNBITS_READ_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Bitcoin Lightning Network run?
It speaks sse and stdio, so it runs as a local process your client starts. It is published on npm as bitcoin-mcp at 0.0.6.
How current is this page?
The grade is for one exact copy of the source (3dde0bab2e6a), read on 2026-10-07. The repository is watched and re-audited when it changes.