MCP Image Compression logo

MCP Image Compression

by InhiblabCore

Compresses images locally from URLs with configurable quality and JPEG, PNG, WebP, or AVIF output.

Install MCP Image Compression

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "inhiblabcore-mcp-image-compression": {
      "command": "npx",
      "args": [
        "-y",
        "@inhiblab-core/mcp-image-compression"
      ],
      "env": {
        "IMAGE_COMPRESSION_DOWNLOAD_DIR": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

The install command started, but didn't respond the way we expected when we tried to talk to it.

npx -y @inhiblab-core/mcp-image-compression

initialize succeeded but no response to tools/list.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked 24d ago.

Overview

InhiblabCore/mcp-image-compression MCP server provides local image compression through MCP. Its image_compression tool accepts image URLs, a quality value from 0 to 100, and an output format, then returns URLs for the compressed images. It supports JPEG, PNG, WebP, and AVIF, with batch and parallel processing described for multiple images. Use it when an agent needs to reduce image size without relying on an online compression service.

Use cases

  • Compress image URLs for web assets
  • Convert images to WebP or AVIF
  • Process multiple images in parallel
  • Set output quality for application resources

Key features

  • Local image compression
  • JPEG, PNG, WebP, and AVIF support
  • Quality values from 0 to 100
  • Batch and parallel processing
  • Compressed-image URL results

Tools3

What MCP Image Compression lets your agent do. Expand a tool for its parameters.

Self-reported~4 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

19/19 checks healthy over the last 79d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 10d ago via OSV.dev · @inhiblab-core/mcp-image-compression (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars34Stargazers on the source repository.
npm downloads45Package downloads in the last 30 days.
Last commit1y agoMost recent push to the default branch.
Install checkInconclusiveStarted but did not complete the MCP handshake in our test.
Tools exposed3Callable tools this server registers over MCP.
Directory activity4 viewsConfig copies, upvotes, and views on AllMCPs.

How MCP Image Compression works

What InhiblabCore/mcp-image-compression does

InhiblabCore/mcp-image-compression is an MCP server for compressing image resources locally. It targets common web and application formats: JPEG, PNG, WebP, and AVIF. The service is intended for workflows where reducing file size, controlling visual quality, or converting an image to another supported format is part of an agent-driven process.

The server exposes one MCP operation, image_compression. Its inputs are urls, quality, and format. urls identifies the images to process, quality sets the compression level from 0 to 100, and format selects an output such as jpeg, png, webp, or avif. The result is a URL for the compressed image or images.

This places the project in the 🎥 Multimedia Process category. It is a fit for asset preparation, image optimization, and format conversion tasks handled through an MCP-compatible client.

How it works

An MCP client invokes image_compression with the image URL or URLs and the requested settings. The service performs compression locally and returns references to the resulting files.

Multiple images can be processed in parallel according to the project documentation. That makes the server suitable for batches of assets rather than only one-off conversions. The documented workflow does not require an internet connection for the compression service, although the tool input is expressed as image URLs.

Setup and configuration

The documented setup uses NPX. Add a server entry that runs npx -y @inhiblab-core/mcp-image-compression to an MCP client configuration. The example also sets IMAGE_COMPRESSION_DOWNLOAD_DIR to the directory used for downloaded or generated image files; replace the placeholder with a path available to the local process.

A Docker image can be built with docker build -t mcp-image-compression .. The project is licensed under MIT.

Tools and capabilities

The InhiblabCore/mcp-image-compression MCP server provides:

  • image_compression for compressing images identified by URL.
  • Quality control through an integer value from 0 to 100.
  • Output conversion to JPEG, PNG, WebP, or AVIF.
  • Local, offline-oriented processing.
  • Parallel handling of multiple images, as described by the project.
  • Returned URLs for the compressed results.

The server does not document separate MCP tools for inspecting metadata, comparing file sizes, or editing image dimensions.

Limitations and notes

The InhiblabCore/mcp-image-compression MCP server documents URL-based inputs and compressed-image URLs as outputs, so callers should account for how their client and local environment resolve and store those files. Quality values and format names should therefore follow the documented ranges and examples.

The README calls the protocol “Modal Context Protocol” in one place, but the project is presented as an MCP server and configured using standard MCP server settings. No client-specific configuration is provided.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about MCP Image Compression

InhiblabCore/mcp-image-compression is an MCP server that connects an MCP client to local image compression. Its image_compression tool accepts image URLs, a quality value, and an output format, then returns compressed-image URLs for JPEG, PNG, WebP, or AVIF files.

Install it through an MCP client configuration that runs `npx -y @inhiblab-core/mcp-image-compression`. Set `IMAGE_COMPRESSION_DOWNLOAD_DIR` to a local directory, replacing the placeholder path in the documented example.

It supports JPEG, PNG, WebP, and AVIF. Pass the desired output format through the `format` input of `image_compression`.

Pass an integer from 0 to 100 through the `quality` input. This value controls the requested compression quality while the `format` input selects the output image format.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Image Compression AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/inhiblabcore-mcp-image-compression?style=directory)](https://allmcps.com/mcp/inhiblabcore-mcp-image-compression)
HTML Embed
<a href="https://allmcps.com/mcp/inhiblabcore-mcp-image-compression"><img src="https://allmcps.com/api/badge/inhiblabcore-mcp-image-compression?style=directory" alt="MCP Image Compression on AllMCPs" /></a>