Purpose
Cleanor MCP is an MCP server provided by Cleanor Labs for connecting image optimization and a set of deterministic development tools to AI agents. It is officially described as a zero-authentication hosted MCP server offering 22 tools, primarily solving two things: image optimization and format conversion, as well as deterministic computation-type tools where LLMs are prone to errors. Users only need to point their MCP client at a URL, and 22 tools appear, all read-only, ready to be handed to autonomous agents.
Main Capabilities
The officially listed tools fall into three categories:
- Image: optimize_image, which optimizes and converts image formats (WebP/AVIF/JPEG).
- Data: includes storage_capacity and image_format_savings, returning figures from published research by Cleanor Labs rather than model memory. The official description states that the format savings data comes from controlled benchmarks on the 24-image Kodak lossless test set under matched SSIM conditions; the storage figures come from measured single-item file sizes plus real operating system overhead. Each response links to a source page at cleanor.app/research.
- Dev: 18 development tools, officially described as operations LLMs are not good at, such as hashing, counting, base conversion, and time zones. They are pure computation, with no network and no state.
All tools come with input and output schemas, and clients can obtain typed structured content (structuredContent), not just a block of text. The official description states that except for optimize_image, the other 21 tools are pure functions of their inputs. The project also provides data/tools.csv, which lists these 22 tools in a flat, machine-readable table with their names, titles, categories (image, data, dev), summaries, required and optional parameters, and output fields; this file is generated from the Zod schema of each tool in src/tools/.
How to Use
The official description states that the hosted endpoint requires no build, installation, or key. Multiple clients are supported:
- Claude Code: after adding it, run claude mcp list to confirm the connection; see docs/add-an-mcp-server-to-claude-code.md for the full steps.
- Cursor: add the configuration in .cursor/mcp.json (per project) or ~/.cursor/mcp.json (global).
- VS Code: run code --add-mcp '{"name":"cleanor","type":"http","url":"https://mcp.cleanor.app/mcp"}',或在工作区的 Add the server in .vscode/mcp.json.
- Claude Desktop: open Settings, go to Connectors, select "Add custom connector", and paste the endpoint.
- Local stdio: you can run a local stdio server via claude_desktop_config.json; you can also use npx -y @cleanor/mcp. The official documentation states that the npm build is the same tool registry compiled for Node, using sharp (an optional dependency) for local image encoding, while the other 21 tools require no dependencies.
The endpoint uses the MCP Streamable HTTP transport and can be driven with curl or any HTTP client. There is also a plain REST interface for non-MCP callers: GET /v1/capabilities (capability detection, machine-readable tool list) and POST /v1/optimize (input one image, output optimized bytes).
Use cases
The official positioning is for invocation by AI agents, suitable for scenarios requiring image optimization/format conversion, QR code generation, storage and format data that requires citation of sources, and development tools requiring reliable hashing, UUIDs, JWT decoding, regex, etc. (the official description mentions hashes, UUIDs, JWT decoding, and regex). Any MCP client that supports Streamable HTTP can use it, such as Claude Code, Claude Desktop (custom connector), Cursor, VS Code, and agent frameworks that support MCP; clients that only support stdio can use the npm package instead. Both approaches expose the same 22 tools.
Limitations and notes
- Free to use, with no account, no API key, and no paid tiers. The hosted endpoint is rate-limited by IP: 120 requests per minute for regular use, and 30 per minute for image optimization.
- Authentication is none, which you can verify yourself in GET https://mcp.cleanor.app/v1/capabilities ; there is no registration, no OAuth, and no token rotation.
- Regarding data: only what you send to the tools is sent. Of the 22 tools, 21 are pure functions evaluated on the server; optimize_image also fetches public image URLs you provide. The official documentation says the server has no accounts, no user identifiers, and no database or object storage, and is a single Cloudflare Worker with no persistent bindings. If your data is sensitive, you can run the stdio build locally with npx -y @cleanor/mcp, and the data does not leave your machine.
- There are two self-hosting options: run locally over stdio with npx -y @cleanor/mcp (the same tool registry, with sharp responsible for image encoding rather than Cloudflare Images), or deploy the repository to your own Cloudflare account (wrangler deploy); the Worker entry point and wrangler.jsonc are both in the repository. The Dockerfile builds a stdio server for registries and scanners that prefer to start it themselves.
- Difference between hosted (Streamable HTTP) and local (stdio): the local server has the client spawn a process on the local machine, can access the file system, but requires installation, updates, and carrying dependencies; the hosted server is just a URL, requires no installation, has no version drift, and the heavy lifting runs on someone else's CPU. The official recommendation is to prefer the hosted endpoint for image optimization, because encoding is done by Cloudflare Images and there is no need to install sharp.
- Citation requirement: please cite when using Cleanor MCP or its data. The author is Cleanor Labs, ORCID 0009-0005-4623-961X. The DOI of the archived citable version is 10.5281/zenodo.21225551, which is a concept DOI that always resolves to the latest version. Machine-readable metadata is in CITATION.cff.
- License: MIT, Cleanor Labs.
Information not provided in this entry (such as specific performance metrics, other platform support details, etc.) is not yet available.