mcp-hashlib
Click on "Deploy 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-hashlib compute SHA256 hash of 'hello world'"
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-hashlib
An MCP server that exposes hashlib functionality to LLMs.
mcp-name: io.github.daedalus/mcp-hashlib
Install
pip install mcp-hashlibRelated MCP server: mcp-hash
Usage
from mcp_hashlib import mcp, mainAvailable Tools
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 properties
Development
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/Available Tools
22 toolshash_blake2bC
Compute BLAKE2b hash (512-bit)
Inputs: data (required), digest_size. Returns: result
hash_blake2sC
Compute BLAKE2s hash (256-bit)
Inputs: data (required), digest_size. Returns: result
hash_copyC
Create a copy of a hash object
Inputs: algorithm (required), data (required). Returns: result
hash_file_digestD
Compute hash of a file-like object
Inputs: data (required), algorithm. Returns: result
hash_infoC
Get information about available hash algorithms
Inputs: info_type. Returns: result
hash_md5C
Compute MD5 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_newC
Create hash object using any available algorithm
Inputs: algorithm (required), data (required), hex. Returns: result
hash_pbkdf2_hmacC
PBKDF2-HMAC key derivation
Inputs: password (required), salt (required), iterations, dklen, +1 more. Returns: result
hash_propertiesC
Get properties of a hash algorithm
Inputs: algorithm (required). Returns: result
hash_scryptD
Scrypt key derivation
Inputs: password (required), salt (required), n, r, +2 more. Returns: result
hash_sha1C
Compute SHA1 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_sha224C
Compute SHA224 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_sha256C
Compute SHA256 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_sha3_224C
Compute SHA3-224 hash
Inputs: data (required). Returns: result
hash_sha3_256C
Compute SHA3-256 hash
Inputs: data (required). Returns: result
hash_sha3_384C
Compute SHA3-384 hash
Inputs: data (required). Returns: result
hash_sha3_512C
Compute SHA3-512 hash
Inputs: data (required). Returns: result
hash_sha384C
Compute SHA384 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_sha512D
Compute SHA512 hash
Inputs: data (required), usedforsecurity. Returns: result
hash_shake_128C
Compute SHAKE-128 XOF hash (variable length)
Inputs: data (required), output_length. Returns: result
hash_shake_256C
Compute SHAKE-256 XOF hash (variable length)
Inputs: data (required), output_length. Returns: result
hash_updateC
Compute hash incrementally with multiple updates
Inputs: algorithm (required), data_parts (required), hex. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Each tool has a clearly distinct purpose: specific hash algorithms, incremental update, file digest, key derivation, and general factory. No overlapping functionality.
All tools follow a consistent 'hash_' prefix and snake_case naming, with algorithm names lowercase and verbs for operations. Perfectly uniform.
22 tools cover a broad range of hashing operations without being excessive; each tool serves a necessary function in the domain.
Includes major hash algorithms, key derivation functions, file hashing, incremental updates, and utility tools. No obvious gaps for a general-purpose hashing server.
Maintenance
Related MCP Connectors
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
Exact hashing, base64/hex/URL encoding, JWT decoding and UUIDs for AI agents. No auth required.
Utility tools for AI agents: hashing, text stats, validation, DNS, currency, GEO audits.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides a suite of deterministic tools for time calculations, math, and string manipulation that LLMs often struggle to perform accurately. It also includes utilities for secure randomness, data validation, and basic network operations like DNS lookups.6 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides cryptographic hash and HMAC computation for text, supporting algorithms like md5, sha1, sha256, sha384, and sha512. All operations are performed locally without transmitting or storing input data.117 npmMIT
- FlicenseNot gradedqualityDmaintenanceExposes hundreds of CyberChef data operations as tools for LLM agents to perform encoding, decoding, hashing, compression, encryption, and data format conversion.-
- AlicenseNot gradedqualityCmaintenanceCryptographic hash generator supporting MD5, SHA1, SHA256, SHA512, and bcrypt, with pay-per-call via x402 (USDC on Base L2) – no API key or signup required.MIT