# MiCompress > MiCompress (micompress.com) compresses images, PDFs, video, audio, Office documents, EPUB books and archives in the browser, through a REST API, and through an MCP server for AI agents. No account is needed; a free personal API key raises the size limits. Compression presets: `lossless` keeps quality identical, `recommended` balances size and quality, `extreme` gives the smallest file. Compressed files are kept for 24 hours; uploaded originals are deleted within about 10 minutes. ## For AI agents - [MCP server](https://micompress.com/mcp-server): hosted Streamable HTTP endpoint `https://micompress.com/mcp`, no sign-in. Tools: `compress_file_from_url`, `get_compression_result`, `list_supported_formats`. For files on the local disk, run `npx -y micompress-mcp`. - [MCP Registry entry](https://registry.modelcontextprotocol.io/v0/servers?search=com.micompress/mcp): `com.micompress/mcp` - [Claude plugin and Gemini CLI extension](https://github.com/micompress/micompress-mcp): `/plugin install micompress --marketplace micompress/micompress-mcp`, `gemini extensions install https://github.com/micompress/micompress-mcp` ## API - [OpenAPI specification](https://micompress.com/openapi.json): compress endpoints, job read-back, downloads, error codes - [Capabilities](https://micompress.com/api/v1/capabilities): supported formats, the endpoint for each extension, and the caller's size limits - [API key](https://micompress.com/account): personal `mc_…` key, sent as `X-API-Key` ## Client libraries and integrations - [Command line (npm)](https://www.npmjs.com/package/micompress-cli): `npx micompress-cli photo.jpg` - [Python](https://pypi.org/project/micompress/): `pip install micompress` - [GitHub Action](https://github.com/marketplace/actions/micompress): compress assets in CI - [Docker](https://hub.docker.com/r/huuhuybn/micompress) ## Tools on the website - [All compression tools](https://micompress.com/all-tools) - [Compression benchmark](https://micompress.com/compression-benchmark): measured savings per format on real uploads - [Plans and limits](https://micompress.com/plans) ## Policies - [Privacy policy](https://micompress.com/privacy): what is stored and for how long; section 10 covers AI assistants - [Terms of service](https://micompress.com/terms)