Skip to content

Calc MCP21 tools for things AI is not good at

Deterministic math, cryptographic randomness, accurate date arithmetic, encoding, hashing, and more

Calc MCP

Why Calc MCP? โ€‹

LLMs excel at natural language understanding, but can produce incorrect results for tasks that require precision.

AI aloneWith calc-mcp
"10 + 34 ร— 341 รท 23 = 507.8" โŒ514.087 โœ… (math)
"Here's a UUID: 550e8400-..." ๐Ÿคท fakeCryptographically random UUID v4/v7 โœ… (random)
"100 days from now is..." ๐Ÿค” guess2026-05-22 โœ… (date)
"SHA-256 of password123 is..." ๐Ÿ’€ hallucinated{"hash": "ef92b778bafe..."} โœ… (hash)

Calc MCP gives your AI assistant the tools to delegate these tasks to deterministic, tested code.

  • Deterministic โ€” Same input, same correct output, every time. No more "it depends on the run."
  • Secure โ€” Sandboxed math evaluation, ReDoS protection, weak hash warnings built in.
  • Private โ€” All computation runs locally. No data sent to external services.
  • No server config โ€” Install once via npx; MCP client setup required.
  • No API key โ€” No account or API key required for calc-mcp itself; requires Node.js.

Released under the MIT License.