Atlas / MCP servers / abdelstark / Bitcoin Lightning Network

Bitcoin Lightning NetworkSAFE

mcp/abdelstark/bitcoin-lightning-network

Bitcoin & Lightning Network MCP Server.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
7 6r · 1w · 0d
Transport
sse · stdio
License
MIT
Stars
77
01

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

Read from source at commit 3dde0bab2e6aOBSERVED · 2026-10-07
02

Connect

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-code
claude mcp add bitcoin-mcp --env LNBITS_ADMIN_KEY=${LNBITS_ADMIN_KEY} --env LNBITS_READ_KEY=${LNBITS_READ_KEY} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "bitcoin-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "LNBITS_ADMIN_KEY": "${LNBITS_ADMIN_KEY}",
        "LNBITS_READ_KEY": "${LNBITS_READ_KEY}"
      }
    }
  }
}
03

Exposed tools (7)

6 read · 1 write · 0 destructive.

ToolRiskDescription
decode_invoicereadDecode a Lightning invoice
decode_txreadDecode a Bitcoin transaction
generate_keyreadGenerate a new Bitcoin key pair and address
get_latest_blockreadGet the latest block
get_transactionreadGet transaction details
pay_invoicewritePay a Lightning invoice
validate_addressreadValidate a Bitcoin address
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

LOWInventory / provenance · inv.hidden_file · CWE-1104
docs/static/.nojekyll
.nojekyll
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWObfuscation / stealth · obf.base64_blob · CWE-506, CWE-94
docs/docs/api/decode-tx.md:37
Can you decode this Bitcoin transaction: 0100000001c997a5e56e104102fa209c6a852dd90660a20b2d9c352423edce25857fcd3704000000004847304402204e45e16932b8af514961a1d3a1a25fdf3f4f7732e9d624c6c61548ab5fb8cd410
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
src/services/bitcoin.ts:139
const tx = bitcoin.Transaction.fromHex(rawHex);
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
docs/package.json
@mdx-js/react, clsx, prism-react-renderer, react, react-dom, typescript
Why it matters. 6 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
cors, dotenv, ecpair, express, husky, node-fetch, pino, pino-pretty
Why it matters. 29 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha 3dde0bab2e6afull audit observations/trust-audit/mcp-server/abdelstark__bitcoin-lightning-network.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-073dde0bab2e6aSAFEB89first audit
06

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.

Advertisement