@coo-quack/calc-mcp 1.9.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +6 -6
  2. package/dist/index.js +105 -105
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -35,7 +35,7 @@ npx --prefix /tmp -y @coo-quack/calc-mcp@latest
35
35
  | "10 + 34 × 341 ÷ 23 = 507.8" ❌ | `514.087` ✅ (math) |
36
36
  | "Here's a UUID: 550e8400-..." 🤷 fake | Cryptographically random UUID v4/v7 ✅ (random) |
37
37
  | "100 days from now is..." 🤔 guess | `2026-05-22` ✅ (date) |
38
- | "SHA-256 of password123 is..." 💀 hallucinated | `ef92b778bafe...` ✅ (hash) |
38
+ | "SHA-256 of password123 is..." 💀 hallucinated | `{"hash": "ef92b778bafe..."}` ✅ (hash) |
39
39
 
40
40
  - **Deterministic** — Same input, same correct output, every time
41
41
  - **Secure** — Sandboxed math, ReDoS protection, weak hash warnings
@@ -65,8 +65,8 @@ Ask in natural language — your AI assistant selects the appropriate tool.
65
65
  | URL-encode "hello world" | `hello%20world` | encode |
66
66
  | URL-decode "hello%20world" | `hello world` | encode |
67
67
  | HTML-decode `&lt;script&gt;` | `<script>` | encode |
68
- | SHA-256 hash of "password123" | `ef92b778bafe...` | hash |
69
- | HMAC-SHA256 of "message" with key "secret" | `8b5f48702995...` | hash |
68
+ | SHA-256 hash of "password123" | `{"hash": "ef92b778bafe..."}` | hash |
69
+ | HMAC-SHA256 of "message" with key "secret" | `{"hash": "8b5f48702995..."}` | hash |
70
70
 
71
71
  ### Date & Time
72
72
 
@@ -103,7 +103,7 @@ Ask in natural language — your AI assistant selects the appropriate tool.
103
103
  | IP range of 192.168.1.0/24? | `192.168.1.1 – .254 (254 hosts)` | ip |
104
104
  | Edit distance: "kitten" → "sitting" | `3` | diff |
105
105
  | Unicode info for "€" | `U+20AC, Currency Symbols` | char_info |
106
- | Is `{"name":"test"}` valid JSON? | `valid, object` | json_validate |
106
+ | Is `{"name":"test"}` valid JSON? | `valid, object` | format_validate |
107
107
 
108
108
  ### Decode & Parse
109
109
 
@@ -127,12 +127,12 @@ Ask in natural language — your AI assistant selects the appropriate tool.
127
127
  | `regex` | Test, match, matchAll, replace |
128
128
  | `base` | Number base conversion (2–36) |
129
129
  | `diff` | Line diff, Levenshtein distance |
130
- | `json_validate` | Validate JSON, CSV, XML, YAML |
130
+ | `format_validate` | Validate JSON, CSV, XML, YAML |
131
131
  | `cron_parse` | Human-readable cron + next runs (weekday/month names supported) |
132
132
  | `luhn` | Validate / generate check digits |
133
133
  | `ip` | IPv4/IPv6 info, CIDR contains check, range calculation |
134
134
  | `color` | HEX ↔ RGB ↔ HSL (alpha channel supported) |
135
- | `convert` | 8 categories, 72 units: length, weight, temperature, area (tsubo, tatami), volume, speed, data, time |
135
+ | `convert` | 8 categories, 146 unit names: length, weight, temperature, area (tsubo, tatami), volume, speed, data, time |
136
136
  | `char_info` | Unicode code point, block, category |
137
137
  | `jwt_decode` | Decode header + payload (no verification) |
138
138
  | `url_parse` | Protocol, host, path, params, hash |