Bitcoin & Lightning Network MCP Server logo

Bitcoin & Lightning Network MCP Server

by AbdelStark

A Model Context Protocol (MCP) server that enables AI models to interact with Bitcoin and Lightning Network. It allows them to generate keys, validate addresses, decode transactions, query the blockchain, and more.

View on GitHub

Last updated: N/A

What is Bitcoin & Lightning Network MCP Server?

This is a Model Context Protocol (MCP) server designed to allow AI models to interact with the Bitcoin and Lightning Network blockchains. It provides a set of tools that AI models can use to perform various tasks related to Bitcoin and Lightning Network.

How to use Bitcoin & Lightning Network MCP Server?

The server can be integrated with AI platforms like Claude and Goose. For Claude, you need to configure the Claude Desktop configuration file. For Goose, you can integrate it as a local (STDIO) or remote (SSE) extension. Detailed instructions are provided in the README.

Key features of Bitcoin & Lightning Network MCP Server

  • Key Generation

  • Address Validation

  • Transaction Decoding

  • Blockchain Queries (Latest Block, Transaction Details)

  • Lightning Network Invoice Decoding

  • Lightning Network Payment

Use cases of Bitcoin & Lightning Network MCP Server

  • Allowing AI models to generate Bitcoin addresses for users.

  • Enabling AI models to verify the validity of Bitcoin transactions.

  • Providing AI models with real-time blockchain data for analysis.

  • Integrating Bitcoin and Lightning Network payments into AI applications.

FAQ from Bitcoin & Lightning Network MCP Server

What is MCP?

MCP stands for Model Context Protocol, a standard for enabling AI models to interact with external services and data sources.

What is LNBits?

LNBits is a Lightning Network wallet and API platform used for making payments through the server.

How do I configure the Lightning Network features?

You need to provide LNBits connection details (URL, admin key, read key) in the server configuration.

What AI platforms are supported?

Currently, Claude Desktop and Goose are explicitly supported, but any platform supporting MCP can potentially integrate with this server.

Where can I find the API documentation?

The API documentation is available in the API Reference guide.