mcp-python-bitcoinlib
An MCP server that exposes the python-bitcoinlib API
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/
Release files for mcp-python-bitcoinlib 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mcp_python_bitcoinlib-0.1.0.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_python_bitcoinlib-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.7 kB
Release files / mcp_python_bitcoinlib-0.1.0.tar.gz
| Download URL | mcp_python_bitcoinlib-0.1.0.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdd957a51649415683ba7cb042cdc4d8fbacca476f7701060e4dbba53ec914dd
|
|
BLAKE2b-256 checksum How to use checksums |
89cb0d6f8c9eaee1a5e0abbe8abff677c378935fc014af38cdbba392ef442c6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.
Transparency logRelease files / mcp_python_bitcoinlib-0.1.0-py3-none-any.whl
| Download URL | mcp_python_bitcoinlib-0.1.0-py3-none-any.whl |
|---|---|
| Size | 7.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b880849ebf5de9669b7b803912c51771b6264d8efe35c99f8ac89d006528b91d
|
|
BLAKE2b-256 checksum How to use checksums |
334b5695bbf3a369385349c8c5017a413cd11281d634810ef510c2e2d059f711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Mar 28, 2026.
Transparency log