mcp-python-bitcoinlib

daedalus/mcp-python-bitcoinlib
0 starsMITCommunity

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

An MCP server that exposes the python-bitcoinlib API

README.md

mcp-python-bitcoinlib

An MCP server that exposes the python-bitcoinlib API

![PyPI](https://pypi.org/project/mcp-python-bitcoinlib/) ![Python](https://pypi.org/project/mcp-python-bitcoinlib/) ![Coverage](https://codecov.io/gh/daedalus/mcp-python-bitcoinlib) ![Ruff](https://github.com/astral-sh/ruff)

Install

pip install mcp-python-bitcoinlib

Usage

mcp-python-bitcoinlib

MCP Configuration

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

For Claude Desktop

Add to your claude_desktop_config.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

git clone https://github.com/daedalus/mcp-python-bitcoinlib.git
cd mcp-python-bitcoinlib
pip install -e ".[test]"

# run tests
pytest

# format
ruff format src/ tests/

# lint
ruff check src/ tests/

# type check
mcp-python-bitcoinlib src/

Related MCP servers

Browse all →