# com.pulsemcp/image-diff (npm · @pulsemcp/image-diff-mcp-server)

MCP server for programmatic image comparison and visual diff generation.

- Trust score: 62/100 (medium)
- Change this week: +20
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@pulsemcp/image-diff-mcp-server`: 62/100 (this document), [markdown](https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server.md), [page](https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server)

## Channel facts

- Registry: `npm`
- Package: `@pulsemcp/image-diff-mcp-server`
- Version: `0.1.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 70/100
  - No malware found by supply-chain analysis.
  - CVE check failed: a known high-severity CVE affects sharp 0.33.5, a direct dependency. A fixed version is available.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (126 of 130), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 49 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 64/100
  - AI-judged instruction clarity (excellent).
  - Context-footprint check failed: tool/resource definitions use about 564 tokens (~564/item across 1 items; 1 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add com-pulsemcp-image-diff -- npx -y @pulsemcp/image-diff-mcp-server
```

### Codex

```bash
codex mcp add com-pulsemcp-image-diff -- npx -y @pulsemcp/image-diff-mcp-server
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "com-pulsemcp-image-diff": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@pulsemcp/image-diff-mcp-server"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add com-pulsemcp-image-diff --command npx --arg -y --arg @pulsemcp/image-diff-mcp-server
```

### Hermes

```yaml
mcp_servers:
  com-pulsemcp-image-diff:
    command: "npx"
    args: ["-y", "@pulsemcp/image-diff-mcp-server"]
```

### Other

```json
{
  "mcpServers": {
    "com-pulsemcp-image-diff": {
      "command": "npx",
      "args": [
        "-y",
        "@pulsemcp/image-diff-mcp-server"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-03 (score 62, +4)

- [functional improvement] Stability: unverified → 0.27

### 2026-08-02 (score 58, +41)

- [security regression] GHSA-f88m-g3jw-g9cj affects this package: high
- [security regression] Provenance: unverified → fail
- [security regression] Known CVEs: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Malware scan: unverified → pass
- [security] Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window).
- [functional improvement] License: unverified → pass
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Schema quality: unverified → excellent
- [functional] Licence: MIT

### 2026-08-01 (score 17, −7)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-31 (score 24, −18)

- [security regression] Malware scan: pass → unverified

### 2026-07-27 (score 42)

First indexed and scored.

## MCP tools (1)

### `get_diff_of_images` (~564 tokens)

Compare two images pixel-by-pixel and identify visual differences.

Returns structured diff data including:
\- Overall diff percentage and pixel counts
\- Clusters of different regions with bounding box coordinates (x, y, width, height)
\- Severity rating per cluster (trivial/minor/moderate/major)
\- Clustering metadata with the gap used and suggestions for tuning
\- File paths to generated heatmap images showing diff intensity

\**Clustering**: By default, nearby diff regions are automatically grouped using a natural-breaks algorithm that finds the optimal merge distance. This produces a manageable number of clusters where each represents a distinct problem area. To override, set cluster_gap explicitly (0 = no merging, or a specific pixel distance).

\**Heatmap output**: A PNG image where diff regions are colored from yellow (subtle difference) to red (major difference). A composite version overlays this on the source image for easy comparison.

\**Use cases:**
\- Compare a design mock screenshot against actual UI implementation
\- Compare a Figma mock of a single component against a full-page screenshot (auto-aligned)
\- Detect visual regressions between two versions of a page
\- Verify CSS/layout changes only affect intended areas

\**Requirements:**
\- Images must be accessible as local file paths
\- Images can have different dimensions — the smaller image is automatically aligned within the larger one using template matching

\**Note:** Anti-aliased pixels (font smoothing, rounded corners) are excluded by default to reduce false positives. Set include_aa=true to include them.

Input parameters:

- `cluster_gap` (integer): Maximum pixel distance between cluster bounding boxes to merge them into a single cluster. When omitted, an optimal gap is auto-computed using natural breaks in cluster distances. Set to 0 to disable…
- `include_aa` (boolean): Whether to count anti-aliased pixels (font smoothing, rounded corners) as differences. Default false excludes them to reduce noise.
- `min_cluster_size` (integer): Minimum number of connected diff pixels to report as a cluster. Filters out isolated pixel noise. Default 4.
- `source_image` (string, required): Absolute file path to the source/reference image (e.g. the design mock). Supports PNG, JPEG, WebP, TIFF.
- `target_image` (string, required): Absolute file path to the target/comparison image (e.g. the actual UI screenshot). Supports PNG, JPEG, WebP, TIFF.
- `threshold` (number): Color matching sensitivity from 0 to 1. Lower values detect subtler differences. 0.1 is a good default for UI comparison. Use 0.05 for strict comparison or 0.2 for lenient.

## Diagnostics

Captured diagnostic sections: Provenance, Vulnerabilities, Dependencies. The full working is on the page: https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server#diagnostics

## Score history

- 2026-08-03: 62
- 2026-08-02: 58
- 2026-08-01: 17
- 2026-07-31: 24
- 2026-07-29: 42
- 2026-07-28: 42
- 2026-07-27: 42

## Links

- npm package: https://www.npmjs.com/package/@pulsemcp/image-diff-mcp-server
- Socket report: https://socket.dev/npm/package/@pulsemcp/image-diff-mcp-server
- Repository: https://github.com/pulsemcp/mcp-servers
- Changelog RSS feed: https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server/changelog.json
- HTML version of this page: https://verifymcp.io/servers/com-pulsemcp-image-diff/pulsemcp-image-diff-mcp-server
