Skip to main content
Glama

imagedimensions-mcp

An MCP server that audits the images on any public web page — natural vs. rendered dimensions, oversized-image detection, and format breakdown — so AI agents (Claude, Cursor, Windsurf, etc.) can check image performance during development.

Powered by imagedimensions.com. The scan runs server-side, so no local browser or Chrome install is required.

Install / run

// Claude Desktop / any MCP client config
{
  "mcpServers": {
    "imagedimensions": {
      "command": "npx",
      "args": ["-y", "imagedimensions-mcp"]
    }
  }
}

Related MCP server: Website Auditor MCP

Tool

scan_image_dimensions

Param

Type

Description

url

string (required)

Public URL of the page to audit.

oversizedThreshold

number (optional)

Area-overshoot ratio to flag as oversized. Default 4 (≈2× per dimension).

Returns a text report plus structured content:

  • total / visible image counts and CSS-background count

  • modern-format share (WebP + AVIF)

  • format breakdown

  • the list of oversized images (natural → rendered, overshoot ratio, format, src)

  • a link to the full visual report on imagedimensions.com

Example agent uses: "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?"

Why "oversized" matters

An image downloaded much larger than the box it renders into wastes bandwidth and slows Largest Contentful Paint — the most common image-performance mistake on the web. See the writeup.

Config

  • IMAGEDIMENSIONS_API_BASE — override the API base (default https://imagedimensions.com).

License

MIT

Available Tools

1 tool
scan_image_dimensionsScan image dimensionsA

Audit the images on any public web page. Returns each image's natural vs rendered dimensions, flags oversized images (downloaded much larger than displayed — a common Largest Contentful Paint problem), and breaks down formats (WebP/AVIF adoption). Useful for web performance and image-optimization work.

Inputs: url (required), oversizedThreshold.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 1 tool

    Disambiguation5/5

    Only one tool exists, so there is no possibility of confusion with other tools.

    Naming Consistency5/5

    The single tool name is descriptive and follows a clear verb_noun pattern.

    Tool Count5/5

    The server has exactly one tool for its focused purpose, which is appropriate for the narrow domain.

    Completeness5/5

    The tool fully covers its stated purpose: auditing image dimensions on public web pages with detailed output.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Lets any AI agent audit any website for SEO, GEO/AEO, and speed problems, reporting issues and recommendations without modifying the site.
      4
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Provides AI-visibility scoring and site auditing capabilities for websites, enabling agents to check how sites appear in AI engines like ChatGPT and Perplexity, run full SEO/security audits, and monitor changes over time.
      20
      464 npm
      1
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables AI agents to audit a web page in one call — title, meta description, canonical, robots, Open Graph, headings, JSON-LD, security headers and page delivery — returning each finding with its evidence and a ready patch to apply. It also compares a deploy preview against production to surface only regressions, keeps audited pages in tabs with history and daily watches, and runs Lighthouse lab tests via PageSpeed Insights.
      1
      MIT No Attribution