npm imagedimensions-mcpstdioMITupdated 25d ago
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.
Was kannst du mit imagedimensions mcp machen?
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"]
}
}
}
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 (defaulthttps://imagedimensions.com).
License
MIT
Installation
imagedimensions mcp zu deinem Client hinzufügen. Wähl den, den du nutzt.
claude mcp add imagedimensions-mcp -- npx -y imagedimensions-mcpcodex mcp add imagedimensions-mcp -- npx -y imagedimensions-mcpamp mcp add imagedimensions-mcp -- npx -y imagedimensions-mcp{
"mcpServers": {
"imagedimensions-mcp": {
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}Add to `claude_desktop_config.json`, then restart Claude Desktop.
{
"mcpServers": {
"imagedimensions-mcp": {
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}Add to `~/.cursor/mcp.json`, or `.cursor/mcp.json` for a single project.
code --add-mcp '{"name":"imagedimensions-mcp","command":"npx","args":["-y","imagedimensions-mcp"]}'Or add the block manually to `.vscode/mcp.json` under `servers`.
{
"mcpServers": {
"imagedimensions-mcp": {
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}Add to `~/.codeium/windsurf/mcp_config.json`.
{
"mcpServers": {
"imagedimensions-mcp": {
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}Add to `cline_mcp_settings.json` via the MCP Servers panel.
{
"mcpServers": {
"imagedimensions-mcp": {
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}Add to `~/.gemini/settings.json`.
{
"mcpServers": {
"imagedimensions-mcp": {
"type": "local",
"command": "npx",
"args": [
"-y",
"imagedimensions-mcp"
],
"tools": [
"*"
]
}
}
}Add to `~/.copilot/mcp-config.json`, or run `/mcp add` inside the CLI.
{
"context_servers": {
"imagedimensions-mcp": {
"command": {
"path": "npx",
"args": [
"-y",
"imagedimensions-mcp"
]
}
}
}
}Add to your Zed `settings.json`.
npx -y imagedimensions-mcpRun `goose configure`, choose **Add Extension → Command-line Extension**, and paste this command.
Score
39 / 100
Unvollständig
- Dokumentation18/25
- Pflege19/25
- Vertrauen13/20
- Funktionsumfang0/15
- Installation12/15
- Documents what it does and how to connect
- Has a resolvable package or endpoint
- Exposes at least one tool, prompt or resource
- README has substantive content
- Includes a code example
- Documents its configuration
- Mentions credentials or security posture
- Last commit 17 days ago
- Has a release history
- Repository is not archived
- Licensed MIT
- Namespace verified in the official MCP registry
- Claimed by its owner
- Published under an organisation
- 0 tool(s) documented
- Provides prompt templates
- Provides resources
- 12 documented install method(s)
- Published to a package registry
- Offers a hosted endpoint — no local install
Versionsverlauf
| Versionen | Veröffentlicht |
|---|---|
| 0.1.2Aktuell | 14. Aug. 2026 |
| 0.1.1 | 27. Juni 2026 |