Gives Claude direct access to Python's hashlib for cryptographic operations. You get all the standard hashing algorithms like MD5, SHA family (including SHA3), BLAKE2, and SHAKE, plus key derivation functions like PBKDF2-HMAC and scrypt. The server exposes 22 tools covering everything from basic string hashing to incremental updates, file digests, and algorithm introspection. Reach for this when you need Claude to compute checksums, verify file integrity, or handle password hashing workflows without writing custom tooling. It's a straightforward wrapper over hashlib with stdio transport, so integration is simple.
An MCP server that exposes hashlib functionality to LLMs.
mcp-name: io.github.daedalus/mcp-hashlib
pip install mcp-hashlib
from mcp_hashlib import mcp, main
The MCP server exposes the following hashlib functions:
hash_md5 - MD5 hashhash_sha1 - SHA1 hashhash_sha256 - SHA256 hashhash_sha512 - SHA512 hashhash_sha224 - SHA224 hashhash_sha384 - SHA384 hashhash_sha3_224 - SHA3-224 hashhash_sha3_256 - SHA3-256 hashhash_sha3_384 - SHA3-384 hashhash_sha3_512 - SHA3-512 hashhash_blake2b - BLAKE2b hash (512-bit)hash_blake2s - BLAKE2s hash (256-bit)hash_shake_128 - SHAKE-128 XOF hashhash_shake_256 - SHAKE-256 XOF hashhash_pbkdf2_hmac - PBKDF2-HMAC key derivationhash_scrypt - Scrypt key derivationhash_file_digest - Hash file-like objecthash_new - Create hash with any available algorithmhash_info - Get algorithm infohash_update - Incremental hashinghash_copy - Copy hash objecthash_properties - Get algorithm propertiesgit clone https://github.com/daedalus/mcp-hashlib.git
cd mcp-hashlib
pip install -e ".[test]"
# run tests
pytest
# format
ruff format src/ tests/
# lint
ruff check src/ tests/
# type check
mypy src/