Purpose
imagedimensions-mcp is an MCP (Model Context Protocol) server for auditing images on any public web page. It helps AI agents (such as Claude, Cursor, Windsurf, etc.) check image performance during development, focusing on the difference between the natural dimensions and rendered dimensions of images, oversized images, and image format distribution.
Main capabilities
The server provides the scan_image_dimensions tool, which returns a text report and structured content, including:
- The total number of images, the number of visible images, and the number of CSS background images;
- The share of modern formats (WebP + AVIF);
- A breakdown of image format distribution;
- A list of oversized images (including natural dimensions → rendered dimensions, excess ratio, format, src);
- A link to the full visual report on imagedimensions.com.
How to use
By connecting through the MCP protocol to an AI agent that supports MCP (such as Claude, Cursor, Windsurf, etc.), you can call the scan_image_dimensions tool to audit images on a specified web page. Scanning runs server-side, so no local browser or Chrome installation is required.
The environment variable IMAGEDIMENSIONS_API_BASE can be used to override the API base address; the default value is https://imagedimensions.com。
Example agent usage:
- “Audit the images on https://example.com”
- “Which images on this page are oversized and hurting LCP?”
- “What % of this site's images use modern formats?”
Use cases
Suitable for front-end development, performance optimization, and website auditing scenarios, especially when it is necessary to check whether images waste bandwidth and slow down Largest Contentful Paint (LCP) because their download dimensions are much larger than their rendered dimensions. Oversizing is one of the most common mistakes in web image performance.
Limitations
The materials do not provide more information about fees, pricing, platform compatibility, specific installation commands, or performance guarantees.