Skip to content
MCP server

TinyPNG MCP by usefulapi

Compress, resize and convert images with TinyPNG by URL, and check this month's…

Install
Runs
Remotely
Version
1.27.0
Listing updated
4 days ago

About TinyPNG MCP by usefulapi

TinyPNG MCP by usefulapi is an MCP server. It runs as a hosted remote server, so there is nothing to install locally.

Compress, resize and convert images with TinyPNG by URL, and check this month's compression count.

Install

Run in a terminal

claude mcp add --transport http tinypng https://tinypng.usefulapi.io/mcp

Add to Settings → Connectors → Add custom connector

https://tinypng.usefulapi.io/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "tinypng": {
      "url": "https://tinypng.usefulapi.io/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "tinypng": {
      "type": "http",
      "url": "https://tinypng.usefulapi.io/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "tinypng": {
      "serverUrl": "https://tinypng.usefulapi.io/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "tinypng": {
      "type": "http",
      "url": "https://tinypng.usefulapi.io/mcp"
    }
  }
}

Tools this server provides (4)

Read directly from the server.

tinypng_compress_image
WRITE (uses quota): ask TinyPNG (Tinify) to fetch a public image by URL and compress it (JPEG, PNG, WebP, AVIF or JPEG XL). Returns the output_url (Tinify's Location address of the compressed image), the compressed size and type, the savings when the input size is known, and the Compression-Count header (compressions used this month). The image is stored by Tinify for about 48 hours; output_url ne
tinypng_transform_image
WRITE (uses quota): apply a resize, a format conversion and/or metadata preservation to an image compressed earlier (the output_url from tinypng_compress_image, valid about 48 hours). Returns the resulting type, byte size, width, height and Compression-Count; the image itself is returned too when include_image is true and it is under 1 MB. Resize: method scale (give width OR height), or fit / cove
tinypng_download_image
Fetch the compressed image of an earlier tinypng_compress_image (its output_url, valid about 48 hours) and return it as an image with its type, byte size, width and height. Images over 1 MB are described but not returned inline. Downloading does not use extra compression quota. GET /output/{id}.
tinypng_get_usage
How many compressions your Tinify API key has used this calendar month (the Compression-Count header), and whether the key is valid. The check sends an empty request that Tinify refuses, so nothing is compressed and no quota is used. Compare with your Tinify plan (the free plan includes 500 per month). POST /shrink with no body.

TinyPNG MCP by usefulapi FAQ

How do I add TinyPNG MCP by usefulapi to Claude Code?

Run this command in your terminal: claude mcp add --transport http tinypng https://tinypng.usefulapi.io/mcp