1. Conduid
  2. Content
  3. Btc Lightning Client
MCP server · Content

Btc Lightning Client

A Bitcoin lightning client designed for Agentic workflows

Unclaimed MIT last commit a year ago content
49Fair

Scored 5 months ago · breakdown

About Btc Lightning Client

Btc Lightning Client is an MCP server published by ehallmark in the Content category: a Bitcoin lightning client designed for Agentic workflows.

The repository has 1 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/ehallmark/btc-lightning-client

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Btc Lightning Client

Powered by Claude · Grounded in docs

I know everything about Btc Lightning Client. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 3 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Bitcoin Lightning Client for Agentic Workflows

GitHub: https://github.com/ehallmark/btc-lightning-client

Motivation

This repository exists as a lightweight Python client to easily connect with a Lightning Network Daemon (lnd). This library is used by https://github.com/ehallmark/btc-lightning-mcp-server for wrapping lnd in an MCP (Model Context Protocol) server to be used with Agentic systems.

Prerequisites

  • You must have a running Lightning Network Daemon (lnd) running on your machine. For more information on lnd, visit https://github.com/lightningnetwork/lnd.
  • Python >= 3.9
  • pip, uv, or similar for package management.

Installation

# with pip
pip install lightning-client-mcp

# or with uv
uv add lightning-client-mcp

Example Usage

import os
from google.protobuf.json_format import MessageToJson
from lightning_client import LightningClient

# Initialize the client
client = LightningClient(
    rpc_port=10003,
    cert_path=os.path.expanduser('~/Library/Application Support/Lnd/tls.cert'),
    macaroon_path=os.path.expanduser('~/repos/lightning-ai/dev/charlie/data/chain/bitcoin/simnet/admin.macaroon')
)

# Call an RPC method
print(MessageToJson(client.ListChannels(client.ListChannelsRequest())))

# Output
{
  "channels": [
    {
      "active": true,
      "remotePubkey": "abc...",
      ...
    }
  ]
}

README fetched from the repository 3 days ago. The original is authoritative.

Questions

About Btc Lightning Client

How do I install Btc Lightning Client?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Btc Lightning Client safe to use with an AI agent?

Its trust score is 49 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Btc Lightning Client still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.