Wraps the python-bitcoinlib library so you can work with Bitcoin primitives directly from Claude. You get key management (WIF and hex conversions), address generation across formats (P2PKH, P2SH, P2WPKH, P2WSH), transaction building and signing, script parsing, and the usual crypto operations like SHA256, RIPEMD160, and ECDSA. Reach for this when you need to prototype Bitcoin workflows, debug transaction structures, or experiment with script construction without switching contexts. It's essentially the full python-bitcoinlib API surface exposed as MCP tools, so if you're already familiar with that library, you'll know exactly what you're getting.
An MCP server that exposes the python-bitcoinlib API
pip install mcp-python-bitcoinlib
mcp-python-bitcoinlib
mcp-name: io.github.daedalus/mcp-python-bitcoinlib
Add to your claude_desktop_config.json:
{
"mcpServers": {
"mcp-python-bitcoinlib": {
"command": "mcp-python-bitcoinlib",
"env": {}
}
}
}
The server exposes the following Bitcoin tools:
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/