MCP.Market

Python Bitcoinlib MCP server

by daedalus·io.github.daedalus/mcp-python-bitcoinlib·v0.1.0

An MCP server that exposes the python-bitcoinlib API

B82/100grade B
What users say
No reviews yet
Be the first
Safety scan
B82/100

full report

Adoption
New

0 stars14 downloads/wk

Reviews

Write one

Nobody 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 posts

Read from the package source without running it. The installed server may list more.

  • address_to_script

    Get the script from an address.

  • create_p2pkh_scriptwrite action

    Create a P2PKH script from a public key hash.

  • create_p2wpkh_scriptwrite action

    Create a P2WPKH script from a public key hash.

  • create_transactionwrite action

    Create an unsigned Bitcoin transaction.

  • generate_private_key

    Generate a random private key and return it as a 32-byte hex string.

  • hash160_hex

    Compute Hash160 (SHA256 then RIPEMD160).

  • hash256_hex

    Compute double SHA256.

  • parse_script

    Parse a script into its opcodes.

  • privkey_to_pubkey

    Get the public key from a private key.

  • privkey_to_wif

    Convert a private key (hex) to WIF format.

  • pubkey_to_address

    Convert a public key to an address.

  • pubkey_to_p2sh_p2wpkh_redeemscript

    Get the P2SH-P2WPKH redeemScript for a public key.

  • ripemd160_hex

    Compute RIPEMD160 hash.

  • serialize_transaction

    Serialize and deserialize a transaction.

  • sha256_hex

    Compute SHA256 hash.

  • sign_message

    Sign a message with a private key.

  • sign_transaction

    Sign a transaction input with a private key.

  • validate_address

    Validate a Bitcoin address for a given network.

  • verify_signature

    Verify an ECDSA signature.

  • wif_to_privkey

    Convert 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

no findings
  • 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
Overall 82/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

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
Add to Cursor

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-bitcoinlib

Usage

mcp-python-bitcoinlib

MCP 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.

More from daedalus →