An MCP server that exposes hashlib functionality to LLMs.
mcp-name: io.github.daedalus/mcp-hashlib
pip install mcp-hashlibfrom mcp_hashlib import mcp, mainThe 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 properties
git 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/