inspect_gif
Read file size, dimensions, frame count, and animation status before making changes.
Inspect, compress, and batch optimize GIF files through MCP. Processing runs locally with Gifsicle, so your animations never need to leave your device.
Available tools
Each tool returns human-readable text and structured JSON for reliable multi-step workflows.
Read file size, dimensions, frame count, and animation status before making changes.
Compress one GIF using a quality preset, custom settings, or a target file size.
Process up to 20 local GIF files into a chosen output directory in one tool call.
Node.js 20 or newer is required. The npm package starts a local stdio MCP server and installs the appropriate Gifsicle binary for your platform.
npx -y gif-compressor-mcp{
"mcpServers": {
"gif-compressor": {
"command": "npx",
"args": ["-y", "gif-compressor-mcp"]
}
}
}Privacy by design
The MCP client launches the server locally and passes file paths—not file uploads. Gifsicle reads and writes directly on your device.
View the npm packageExample request
Compress /Users/me/demo.gif to under 8 MB and save it beside the original file.Your AI client can select compress_gif, request approval, and return the output path plus compression statistics.
FAQ
No. The MCP server runs locally and passes file paths to a local Gifsicle process.
Any client that can launch a local stdio MCP server, including coding agents and desktop AI clients.
No. The server rejects an output path that matches the input path.
Yes. Set target_mb and the tool progressively adjusts compression, palette, and scale.