Mcp Python Bitcoinlib

io.github.daedalusPublished by GitHub account daedalusv0.1.0Updated Oct 24, 2026

An MCP server that exposes the python-bitcoinlib API

VerifiedSTDIODesktop onlyFinanceDeveloper Tools

Overview

AI-generated overview

An MCP server that exposes the python-bitcoinlib API so an assistant can generate Bitcoin keys and addresses, build and sign transactions, and work with…

What you can do
It wraps the python-bitcoinlib library and exposes Bitcoin tools to an assistant. The tools cover key management (generating private keys, converting between WIF and hex), address generation (P2PKH, P2SH, P2WPKH, P2WSH), transaction building and signing, script parsing and creation, and cryptography such as SHA256, RIPEMD160, Hash160, Hash256, and ECDSA signing and verification.
When to use it
Use it when an assistant needs to work with Bitcoin primitives locally: deriving addresses, converting key formats, constructing or signing transactions, or inspecting scripts and hashes. It is aimed at Bitcoin development and experimentation rather than general blockchain data lookups.
Requirements
A local Python environment with the mcp-python-bitcoinlib package installed from PyPI (pip install mcp-python-bitcoinlib). It runs as a local stdio process, so it is configured in a desktop MCP client such as Claude Desktop. No accounts, API keys, environment variables, or headers are declared.
Before you install
The server handles private keys and transaction signing, so any key material passed to it should be treated as sensitive and kept out of shared logs or transcripts. Signing and transaction-building tools can produce data that, if broadcast, moves real funds; verify outputs before use. No credentials or network access are declared.

Installation

In SourceWeft

  1. Open Mcp Python Bitcoinlib in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

mcp-python-bitcoinlib

An MCP server that exposes the python-bitcoinlib API

[PyPI] [Python] [Coverage] [Ruff]

Install

bash
pip install mcp-python-bitcoinlib

Usage

bash
mcp-python-bitcoinlib

MCP Configuration

mcp-name: io.github.daedalus/mcp-python-bitcoinlib

For Claude Desktop

Add to your claude_desktop_config.json:

json
{  "mcpServers": {    "mcp-python-bitcoinlib": {      "command": "mcp-python-bitcoinlib",      "env": {}    }  }}

Tools

The server exposes the following Bitcoin tools:

  • Key Management: Generate private keys, convert between WIF and hex
  • Address Generation: P2PKH, P2SH, P2WPKH, P2WSH addresses
  • Transaction Building: Create and sign transactions
  • Script Operations: Parse and create Bitcoin scripts
  • Cryptography: SHA256, RIPEMD160, Hash160, Hash256, ECDSA signing/verification

Development

bash
git clone https://github.com/daedalus/mcp-python-bitcoinlib.gitcd mcp-python-bitcoinlibpip install -e ".[test]"
# run testspytest
# formatruff format src/ tests/
# lintruff check src/ tests/
# type checkmcp-python-bitcoinlib src/

Source: README.md at commit 78d9301

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v0.1.0LatestSep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts