MiCompress
FreeMaintainedCompress images, PDFs, video, audio, documents & archives via micompress.com
About
Compress images, PDFs, video, audio, documents & archives via micompress.com
README
An MCP server that lets AI agents compress images, PDFs, video, audio, documents & archives. Powered by micompress.com.
Ask your assistant "compress the screenshots in ./assets" and it will — no manual upload, no separate tool. Works with any Model Context Protocol client: Claude Desktop, Claude Code, Cursor, and others.
Setup
Claude Code
claude mcp add micompress -- npx -y micompress-mcp
Claude Desktop / Cursor
Add to your MCP config (claude_desktop_config.json on Desktop):
{
"mcpServers": {
"micompress": {
"command": "npx",
"args": ["-y", "micompress-mcp"]
}
}
}
API key (optional)
Without a key the server works anonymously, within per-type size limits. For bigger
files, sign in (free) at https://micompress.com/account, copy your personal key
(mc_…) and pass it as the MICOMPRESS_API_KEY environment variable. The key stays in
the server's environment — it is never sent to the model.
claude mcp add micompress -e MICOMPRESS_API_KEY=mc_yourkey -- npx -y micompress-mcp
{
"mcpServers": {
"micompress": {
"command": "npx",
"args": ["-y", "micompress-mcp"],
"env": { "MICOMPRESS_API_KEY": "mc_yourkey" }
}
}
}
With a key, files up to 100 MB are accepted. A free account includes 50
compressions/month through the API; Plus ($9.99/mo) includes 1,000/month and Pro
($19.99/mo) 5,000/month, shared with website usage. When the allowance runs out the tool
returns API_QUOTA_REACHED (free) or USAGE_LIMIT_REACHED (paid) — see
https://micompress.com/plans.
Tools
compress_file
Compresses a file and writes the smaller version to disk.
| Input | Description |
|---|---|
path (required) |
File to compress |
output_path |
Where to write it. Defaults to the input path with a -min suffix. Pass the input path to overwrite in place. |
preset |
lossless · recommended (default) · extreme |
max_width |
Images only — resize down to this width in pixels |
Returns the size before and after, plus the output path. The file bytes are never returned to the model — only the summary, so a large file can't flood the context window.
list_supported_formats
Lists every accepted extension, grouped by category.
Supported formats
| Category | Formats |
|---|---|
| Image | jpg, png, webp, gif, bmp, tiff, avif, svg, heic, psd, dng, raw, cr2, arw, nef |
| PDF / Docs | pdf, docx, xlsx, pptx, doc, ppt, xls, epub, odt, ods, html, csv, txt, rtf |
| Video | mp4, mov, avi, mkv, webm, m4v, wmv, flv |
| Audio | mp3, wav, flac, ogg, m4a, aac, opus |
| Archive | zip, 7z, tar, gz |
Full list: https://micompress.com/all-tools
How it works
Files are uploaded over HTTPS to micompress.com and compressed
with the same engine the website uses (mozjpeg, pngquant, gifski, Ghostscript, ffmpeg, …),
then written back to disk. Anonymous use works within per-type size limits
(images 20MB, video 50MB, …); set MICOMPRESS_API_KEY for files up to 100MB.
Point it at files you're comfortable sending to a third-party service. The agent passes a path; the file's contents leave your machine.
Requirements
Node.js >= 18
License
MIT © MiCompress
Prefer a UI, or need bigger files? Use micompress.com.
Install MiCompress in Claude Desktop, Claude Code & Cursor
unyly install micompressInstalls into Claude Desktop, Claude Code, Cursor & VS Code — handles npx, uvx and build-from-source repos for you.
First time? Get the CLI: curl -fsSL https://unyly.org/install | sh
Or configure manually
Run in your terminal:
claude mcp add micompress -- npx -y micompress-mcpStep-by-step: how to install MiCompress
FAQ
Is MiCompress MCP free?
Yes, MiCompress MCP is free — one-click install via Unyly at no cost.
Does MiCompress need an API key?
No, MiCompress runs without API keys or environment variables.
Is MiCompress hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install MiCompress in Claude Desktop, Claude Code or Cursor?
Open MiCompress on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
ARA
Generate images, video and audio from any AI agent — one connector.
by ARAOmni Video
An MCP server that transforms LLM-enabled IDEs into professional video editors by pre-processing footage into text proxies, generating motion graphics via HTML/
by buildwithtazaYouTube
Transcripts, channel stats, search
by YouTubeEverArt
AI image generation using various models.
by modelcontextprotocolgpu-bridge/mcp-server
GPU inference API for LLMs, image and video generation, TTS, Whisper, embeddings, reranking and OCR, paid per use via x402 or an API key.
by gpu-bridgemerterbak/Grok-MCP
Access xAI's Grok API with agentic tool calling, image generation, vision and file support.
by merterbakSureScaleAI/openai-gpt-image-mcp
Image generation and editing with OpenAI's GPT image models.
by SureScaleAIYangLiangwei/PersonalizationMCP
Aggregate personal data from Steam, YouTube, Bilibili, Spotify, Reddit and other gaming, music, video and social platforms, with OAuth2 and token management.
by YangLiangweiAceDataCloud/MCPFlux
Flux image generation and editing from Black Forest Labs via the Ace Data Cloud API.
by AceDataCloudAceDataCloud/MCPNanoBanana
Nano Banana image generation and editing, including virtual try-on and product placement in realistic scenes.
by AceDataCloudCompare MiCompress with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All media MCPs
