Back to Directory/Developer Tools

io.github.daedalus/mcp-hashlib

An MCP server that exposes hashlib functionality

Developer ToolsPythonv0.1.2

mcp-hashlib

An MCP server that exposes hashlib functionality to LLMs.

PyPI Python Ruff

mcp-name: io.github.daedalus/mcp-hashlib

Install

pip install mcp-hashlib

Usage

from mcp_hashlib import mcp, main

Available Tools

The MCP server exposes the following hashlib functions:

  • hash_md5 - MD5 hash
  • hash_sha1 - SHA1 hash
  • hash_sha256 - SHA256 hash
  • hash_sha512 - SHA512 hash
  • hash_sha224 - SHA224 hash
  • hash_sha384 - SHA384 hash
  • hash_sha3_224 - SHA3-224 hash
  • hash_sha3_256 - SHA3-256 hash
  • hash_sha3_384 - SHA3-384 hash
  • hash_sha3_512 - SHA3-512 hash
  • hash_blake2b - BLAKE2b hash (512-bit)
  • hash_blake2s - BLAKE2s hash (256-bit)
  • hash_shake_128 - SHAKE-128 XOF hash
  • hash_shake_256 - SHAKE-256 XOF hash
  • hash_pbkdf2_hmac - PBKDF2-HMAC key derivation
  • hash_scrypt - Scrypt key derivation
  • hash_file_digest - Hash file-like object
  • hash_new - Create hash with any available algorithm
  • hash_info - Get algorithm info
  • hash_update - Incremental hashing
  • hash_copy - Copy hash object
  • hash_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/

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-hashlib

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-daedalus-mcp-hashlib": {
      "command": "uvx",
      "args": [
        "mcp-hashlib"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-hashlibpypi

Compatible MCP Clients

io.github.daedalus/mcp-hashlib works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More