Cleanor
v0.6.1Zero-auth MCP: image optimize, cited storage/format data, and dev utilities LLMs get wrong.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
optimize_image Optimize / convert an image for the web
Fetch an image from a public URL and re-encode it smaller (WebP/AVIF/JPEG), optionally resizing to a target width. Returns the optimized image plus before/after byte sizes. Use this when an AI-generated or dropped-in asset (hero image, screenshot, illustration) is too large to ship.
| Parameter | Type | Description |
|---|---|---|
image_url * | string | Public URL of the source image (PNG/JPEG/WebP/AVIF/GIF). |
format | string | Output format. webp = best browser support; avif = smallest; jpeg = universal. |
quality | integer | Encode quality 1-100 (80 is a good default). |
width | integer | Resize to this width in px, preserving aspect ratio. Omit to keep original size. |
storage_capacity How much fits in a phone storage tier
How many photos or minutes of video actually fit in a given storage size, corrected for real OS/filesystem overhead. Backed by Cleanor Labs measured per-item sizes. Use for realistic sample copy, dashboards, or "how many photos fit in 128 GB" answers.
| Parameter | Type | Description |
|---|---|---|
storage_gb * | number | Advertised storage size in GB (e.g. 64, 128, 256, 512). |
content | string | What to count. |
image_format_savings Real storage savings of next-gen image formats
How much smaller WebP, AVIF or JPEG XL are than JPEG at matched perceptual quality, from Cleanor Labs’ controlled benchmark. Also reports the "HEIC conversion tax" (converting an iPhone HEIC to JPG/PNG makes it bigger). Use to justify a format choice when building a site or app.
| Parameter | Type | Description |
|---|---|---|
format | string | Target format to compare against JPEG. |
quality | string | web = typical web quality (SSIM 0.95); high = near-lossless (SSIM 0.98). |
qr_code Generate a QR code (SVG)
Encode text or a URL as a QR code and return a crisp, dependency-free SVG you can paste straight into a page, deck or doc.
| Parameter | Type | Description |
|---|---|---|
text * | string | Text or URL to encode. |
ecc | string | Error-correction level: L=7%, M=15%, Q=25%, H=30% recoverable. |
size | integer | SVG pixel size. |
hash Hash text (SHA family)
Compute a cryptographic hash of text (SHA-1, SHA-256, SHA-384 or SHA-512) and return the hex digest. Use for checksums, cache keys, or verifying content. MD5 is intentionally not offered (broken, and unavailable in Web Crypto). LLMs cannot compute these reliably by hand, so always use this tool instead of guessing.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to hash (UTF-8). |
algorithm | string | Hash algorithm. Default sha-256. |
uuid Generate UUIDs
Generate one or more UUIDs. v4 is fully random; v7 is time-sortable (recommended for database keys). LLMs cannot produce cryptographically random or correctly-formatted UUIDs, so always use this tool.
| Parameter | Type | Description |
|---|---|---|
count | integer | How many to generate. |
version | string | UUID version. v7 = time-ordered. |
base64 Base64 encode / decode
Encode text to Base64 or decode Base64 back to text (UTF-8 safe). Supports URL-safe alphabet. Use whenever you need to encode/decode data URIs, tokens, or config values instead of guessing the bytes.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to encode, or Base64 to decode. |
mode | string | Direction. |
url_safe | boolean | Use URL-safe alphabet (-_ instead of +/, no padding). |
json_format Format / validate JSON
Validate JSON and pretty-print or minify it, optionally sorting object keys. Returns a precise parse error (with position) if invalid. Use to check and clean JSON instead of eyeballing it.
| Parameter | Type | Description |
|---|---|---|
input * | string | JSON text. |
mode | string | pretty = 2-space indent; minify = single line. |
sort_keys | boolean | Sort object keys alphabetically (deep). |
jwt_decode Decode a JWT (no verification)
Decode a JSON Web Token into its header and payload so you can inspect claims (iss, exp, sub, scopes). The signature is NOT verified and no secret is required or stored. Use to read a token during debugging.
| Parameter | Type | Description |
|---|---|---|
token * | string | The JWT (three dot-separated segments). |
color Convert a color between formats
Convert a color (hex, rgb() or hsl()) and return hex, RGB and HSL representations at once. Use when picking or translating colors for CSS, design tokens or themes.
| Parameter | Type | Description |
|---|---|---|
value * | string | A color: "#3b82f6", "rgb(59,130,246)" or "hsl(217,91%,60%)". |
slugify Slugify text for URLs
Turn a title or phrase into a clean, URL-safe slug (lowercase, hyphenated, accents stripped). Use when generating page paths, filenames or anchor IDs.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to slugify. |
separator | string | Word separator. |
count Count characters, words, lines, bytes
Accurately count characters (Unicode code points), UTF-16 units, words, lines and UTF-8 bytes in text. LLMs are notoriously bad at counting, so always use this tool for "how many characters/words" questions.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to measure. |
regex_test Test a regular expression
Test a JavaScript regular expression against sample text and return whether it matches, plus every match with its captured groups and index. Use to verify a pattern instead of reasoning about it in your head. Input and pattern are length-capped to keep it fast and safe.
| Parameter | Type | Description |
|---|---|---|
input * | string | Text to test against. |
pattern * | string | The regex pattern (without slashes). |
flags | string | Regex flags, e.g. "gi". Allowed: g i m s u y d. |
cron_describe Explain a cron expression
Parse a standard 5-field cron expression (minute hour day-of-month month day-of-week) into a plain-English breakdown and the next few run times in UTC. Use to sanity-check a schedule instead of guessing what the fields mean.
| Parameter | Type | Description |
|---|---|---|
expression * | string | A 5-field cron expression, e.g. "30 2 * * 1-5". |
unit_convert Convert between units
Convert a value between units of length, mass, data size, time, speed or temperature. Supported units: mm, cm, m, km, in, ft, yd, mi, nmi, mg, g, kg, t, oz, lb, st, bit, byte, kb, kib, mb, mib, gb, gib, tb, tib, ms, s, min, h, day, week, mps, kph, mph, fps, knot, c, f, k. Use for exact conversions instead of approximating.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source unit (e.g. "km", "lb", "mib", "c"). |
to * | string | Target unit (must be the same category as "from"). |
value * | number | The numeric value to convert. |
datetime Current or parsed date/time
Get the current date/time, or convert a given timestamp, into a target IANA timezone with ISO, Unix and human-readable forms. Pass a Unix timestamp (seconds or ms) or an ISO string as input; omit it for "now". LLMs cannot know the real current time, so use this instead of guessing.
| Parameter | Type | Description |
|---|---|---|
input | string | Optional: a Unix timestamp (s or ms) or ISO date string. Omit for the current time. |
timezone | string | IANA timezone, e.g. "America/New_York" or "UTC". |
url_parse Parse a URL into parts
Break a URL into its components: scheme, host, port, path, decoded query parameters and fragment. Use to inspect or debug a URL instead of parsing it by eye.
| Parameter | Type | Description |
|---|---|---|
url * | string | The URL to parse (absolute, with scheme). |
base_convert Convert a number between bases
Convert an integer between number bases 2–36 (e.g. hex to binary, decimal to base-36). Arbitrary precision via BigInt, so large values stay exact. Use for radix conversions instead of doing them by hand.
| Parameter | Type | Description |
|---|---|---|
value * | string | The number, in from_base (e.g. "ff", "1010", "255"). |
from_base | integer | Base of the input (2–36). |
to_base | integer | Base to convert to (2–36). |
diff Line diff between two texts
Compute a line-by-line diff between two texts, marking removed lines with "-", added with "+" and unchanged with two spaces, plus a change count. Use to see exactly what changed instead of comparing by eye. Capped at 1000 lines per side.
| Parameter | Type | Description |
|---|---|---|
a * | string | The original ("before") text. |
b * | string | The updated ("after") text. |
hmac HMAC signature of a message
Compute an HMAC (keyed hash) of a message with a secret, using SHA-1/256/384/512, returned as hex or Base64. Use to sign webhook payloads or verify a signature instead of guessing. LLMs cannot compute this by hand.
| Parameter | Type | Description |
|---|---|---|
message * | string | The message to sign (UTF-8). |
secret * | string | The shared secret key (UTF-8). |
algorithm | string | Hash algorithm. |
encoding | string | Output encoding. |
placeholder_image Generate a placeholder image (SVG)
Generate a lightweight SVG placeholder image at any size, with an optional label and custom background/text colors. Dependency-free, pastes straight into a page or mockup. Use for wireframes and design stubs instead of hotlinking a placeholder service.
| Parameter | Type | Description |
|---|---|---|
bg | string | Background color (hex, rgb() or hsl()). |
color | string | Text color. |
height | integer | Height in pixels. |
text | string | Label text. Defaults to the dimensions, e.g. "600×400". |
width | integer | Width in pixels. |
color_palette Generate a color palette
Build a harmonious color palette from a base color using color-theory rules (complementary, analogous, triadic, tetradic, or monochromatic). Returns each color as hex and HSL. Use to derive a theme or design tokens from one brand color.
| Parameter | Type | Description |
|---|---|---|
color * | string | Base color: "#3b82f6", "rgb(...)" or "hsl(...)". |
harmony | string | Color-harmony rule. |