Precise Math
No more hallucinated calculations. Evaluate complex expressions with mathjs, compute statistics, all deterministic.
Deterministic math, cryptographic randomness, accurate date arithmetic, encoding, hashing, and more
LLMs are incredible at natural language understanding, but terrible at things that require precision.
| AI alone | With calc-mcp |
|---|---|
| "10 + 34 ร 341 รท 23 = 507.8" โ | 514.087 โ
(math) |
| "Here's a UUID: 550e8400-..." ๐คท fake | Cryptographically random UUID v4/v7 โ (random) |
| "100 days from now is..." ๐ค guess | 2026-05-22 โ
(date) |
| "SHA-256 of password123 is..." ๐ hallucinated | ef92b778bafe... โ
(hash) |
Calc MCP gives your AI assistant the tools to delegate these tasks to deterministic, tested code.
# Claude Code
claude mcp add -s user calc-mcp -- npx --prefix /tmp -y @coo-quack/calc-mcp@latestWorks with Claude Desktop, VS Code Copilot, Cursor, Windsurf โ see installation guides.
Just ask in natural language. The AI picks the right tool automatically:
You: What's 10 + 34 ร 341 รท 23?
AI: [uses math tool] โ 514.087
You: Generate a UUID v7
AI: [uses random tool] โ 019c4b54-aad2-7e52-8a3b-...
You: What's 100 days after 2026-02-11?
AI: [uses date tool] โ 2026-05-22
You: SHA-256 hash of "password123"
AI: [uses hash tool] โ ef92b778bafe771e89245b89ec...See more examples โ
| Category | Tools |
|---|---|
| Math | math, count, convert, base |
| Random | random (UUID, ULID, password, number, shuffle) |
| Dates | datetime, date, cron_parse |
| Text | base64, encode, hash, regex, diff, char_info |
| Validation | json_validate, luhn, semver |
| Parsing | ip, color, jwt_decode, url_parse |