Python Bitcoinlib MCP server
An MCP server that exposes the python-bitcoinlib API
0 stars14 downloads/wk
Reviews
Write oneNobody has reviewed Python Bitcoinlib yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Python Bitcoinlib tools (20, 3 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
address_to_scriptGet the script from an address.
create_p2pkh_scriptwrite actionCreate a P2PKH script from a public key hash.
create_p2wpkh_scriptwrite actionCreate a P2WPKH script from a public key hash.
create_transactionwrite actionCreate an unsigned Bitcoin transaction.
generate_private_keyGenerate a random private key and return it as a 32-byte hex string.
hash160_hexCompute Hash160 (SHA256 then RIPEMD160).
hash256_hexCompute double SHA256.
parse_scriptParse a script into its opcodes.
privkey_to_pubkeyGet the public key from a private key.
privkey_to_wifConvert a private key (hex) to WIF format.
pubkey_to_addressConvert a public key to an address.
pubkey_to_p2sh_p2wpkh_redeemscriptGet the P2SH-P2WPKH redeemScript for a public key.
ripemd160_hexCompute RIPEMD160 hash.
serialize_transactionSerialize and deserialize a transaction.
sha256_hexCompute SHA256 hash.
sign_messageSign a message with a private key.
sign_transactionSign a transaction input with a private key.
validate_addressValidate a Bitcoin address for a given network.
verify_signatureVerify an ECDSA signature.
wif_to_privkeyConvert a WIF-encoded private key back to hex.
Public scan report
scanner v0.1.9 · 2026-09-27 · same rubric, same numbers if you re-run it
- Code scan4 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 159 days ago8/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Python Bitcoinlib compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 82/100
- higher than 63% of 48,273 servers
- Tools
- 20
- the typical server has 7
- Tools that change things
- 15%
- typical: 0%. Fewer write tools means less an agent can break
- Downloads a week
- 14
- more than 4% of 11,915 servers with a package
What its tools let an agent do: 15 read · 5 create
Install Python Bitcoinlib in Claude Code, Cursor or VS Code
claude mcp add mcp-python-bitcoinlib -- uvx mcp-python-bitcoinlib
What the publisher says
From the Python Bitcoinlib repository's README, as published. We do not edit it. Read it on GitHub
mcp-python-bitcoinlib
An MCP server that exposes the python-bitcoinlib API
Install
pip install mcp-python-bitcoinlibUsage
mcp-python-bitcoinlibMCP Configuration
mcp-name: io.github.daedalus/mcp-python-bitcoinlib
For Claude Desktop
Add to your claudedesktopconfig.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/Nothing above is checked by us. What we check is on the safety report.
Python Bitcoinlib: common questions
- Is Python Bitcoinlib MCP server safe?
- Mostly: it is graded B (82/100). Read the Python Bitcoinlib safety report
- How do I install Python Bitcoinlib?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Python Bitcoinlib need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Python Bitcoinlib maintained?
- The last commit was 195 days ago (2026-04-21). The latest release is v0.1.0.
- How does Python Bitcoinlib compare with other MCP servers?
- safety score 82/100 (higher than 63% of 48,273 servers); tools 20 (the typical server has 7); tools that change things 15% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.