Skip to main content

An MCP server that exposes the python-bitcoinlib API

Project description

mcp-python-bitcoinlib

An MCP server that exposes the python-bitcoinlib API

PyPI Python Coverage Ruff

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_python_bitcoinlib-0.1.0.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_python_bitcoinlib-0.1.0-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_python_bitcoinlib-0.1.0.tar.gz.

File metadata

  • Download URL: mcp_python_bitcoinlib-0.1.0.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mcp_python_bitcoinlib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fdd957a51649415683ba7cb042cdc4d8fbacca476f7701060e4dbba53ec914dd
MD5 e7aed4cd31df6413951ab1a9d8ccbc1c
BLAKE2b-256 89cb0d6f8c9eaee1a5e0abbe8abff677c378935fc014af38cdbba392ef442c6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_python_bitcoinlib-0.1.0.tar.gz:

Publisher: pypi-publish.yml on daedalus/mcp-python-bitcoinlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_python_bitcoinlib-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_python_bitcoinlib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b880849ebf5de9669b7b803912c51771b6264d8efe35c99f8ac89d006528b91d
MD5 93a21f5bc28fa3bf8f0b6d4214eef903
BLAKE2b-256 334b5695bbf3a369385349c8c5017a413cd11281d634810ef510c2e2d059f711

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_python_bitcoinlib-0.1.0-py3-none-any.whl:

Publisher: pypi-publish.yml on daedalus/mcp-python-bitcoinlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page