mcp-python-bitcoinlib
Provides tools for Bitcoin key management, address generation, transaction building, script operations, and cryptography, interacting with the Bitcoin blockchain via the python-bitcoinlib API.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-python-bitcoinlibGenerate a new Bitcoin private key in WIF format"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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 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/Maintenance
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/daedalus/mcp-python-bitcoinlib'
If you have feedback or need assistance with the MCP directory API, please join our Discord server