Diffgrab logo

Diffgrab

Tracks web pages, stores SQLite snapshots, and returns structured text and optional visual diffs through MCP.

Install Diffgrab

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "diffgrab": {
      "command": "uvx",
      "args": [
        "diffgrab"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio diffgrab -- uvx diffgrab

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

We couldn’t confirm it starts correctly

We hit an unexpected error while testing this listing automatically.

uvx diffgrab

Rate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

The Diffgrab MCP server tracks web pages and reports content changes using structured text diffs, section analysis, and optional screenshot comparison. It uses markgrab for page extraction, stores snapshots in SQLite, and can use snapgrab for visual diffs. Five MCP tools cover URL registration, change checks, snapshot diffs, history lookup, and removal. Reach for it when an agent needs to monitor pages over time rather than fetch a page only once.

Use cases

  • Monitor documentation pages for text changes
  • Compare selected snapshots of a tracked URL
  • Review which page sections changed
  • Store and inspect page version history
  • Check multiple tracked URLs for updates

Key features

  • URL change detection with content hashing
  • Unified and section-level diffs
  • Human-readable change summaries
  • SQLite snapshot history
  • Optional screenshot comparison
  • Five MCP tools

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

26/27 checks healthy over the last 117d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 12d ago via OSV.dev · diffgrab (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

Last commit7mo agoMost recent push to the default branch.
Install checkInconclusiveWe hit an unexpected error running the automated check.

How Diffgrab works

What Diffgrab MCP server does

The Diffgrab MCP server monitors URLs and compares later captures with an initial baseline. It detects changes using content hashes, then produces a DiffResult containing whether the page changed, added and removed line counts, changed Markdown sections, a standard unified diff, a readable summary, and the IDs and timestamps of the compared snapshots.

The extracted content comes from markgrab, which supports HTML, YouTube, PDF, and DOCX extraction. This allows tracking to operate on normalized content rather than only raw page markup. An optional visual-diff path uses snapgrab to compare screenshots and page metadata, but that capability requires the visual extra.

Snapshots are kept in SQLite, making it possible to inspect earlier versions and compare selected snapshots instead of only comparing the newest capture with the previous one.

How it works

Registering a URL takes an initial snapshot and stores it as the baseline. A later check fetches the current page and first compares content hashes. Unchanged content produces no change result; changed content is processed into a structured comparison with line-level and heading-level information.

The MCP interface exposes five operations:

  • track_url registers a URL for monitoring.
  • check_changes checks tracked URLs for updates.
  • get_diff compares two snapshots, or retrieves a diff for a tracked URL.
  • get_history lists stored snapshots for a URL.
  • untrack_url removes a URL from tracking.

The same behavior is available through the Python DiffTracker class, convenience functions such as track, check, and history, and the diffgrab command-line interface.

Setup and configuration

Install the base package with pip install diffgrab. Add diffgrab[mcp] to install the MCP server dependencies, or install diffgrab[all] for the available CLI, visual-diff, and MCP extras. The server command is diffgrab-mcp.

A Claude Code configuration can launch the Diffgrab MCP server directly with a stdio command:

config.json
{
  "mcpServers": {
    "diffgrab": {
      "command": "diffgrab-mcp",
      "args": []
    }
  }
}

Snapshot data is automatically stored at ~/.local/share/diffgrab/diffgrab.db. Python users can provide a different SQLite file with DiffTracker(db_path="/path/to/custom.db").

Tools and capabilities

The Diffgrab MCP server is suitable for recurring monitoring workflows, historical review, and agent-assisted change inspection. Tracking accepts an interval in the Python API and CLI, including commands such as diffgrab track URL --interval 12. Checks can cover every tracked URL or a specified URL.

The CLI also supports diff, history, and untrack commands. A history query can limit the number of returned snapshots, while a diff can identify explicit older and newer snapshot IDs. Human-readable summaries report additions, removals, and affected sections, and the unified diff remains available when line-level detail is needed.

Limitations and notes

The material describes a local SQLite storage model and does not document a hosted synchronization service, authentication, scheduling daemon, or remote database. Tracking therefore depends on running checks; registering a URL alone does not describe an external monitoring service.

Visual comparison is optional and depends on snapgrab and the visual extra. The standard content comparison depends on extracted page content, so changes that are not represented in the extracted result may not appear in the text diff.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Diffgrab

Diffgrab is an MCP server that connects AI clients to tracked web pages through markgrab extraction and optional snapgrab screenshots. Its main tools register URLs, check for changes, compare snapshots, browse history, and stop tracking URLs. Results include structured diffs, changed sections, line counts, and readable summaries.

Install it with `pip install 'diffgrab[mcp]'`, then configure the `diffgrab-mcp` command in your MCP client. The README also provides a `uvx` configuration using `uvx --from diffgrab[mcp] diffgrab-mcp`.

Diffgrab stores snapshots in `~/.local/share/diffgrab/diffgrab.db` by default. Python users can select another SQLite file by passing a `db_path` value to `DiffTracker`.

Yes, visual diffs are available through the optional snapgrab integration. Install the visual extra with `pip install 'diffgrab[visual]'`; the standard content diff remains available without that extra.

It also shows an alternative configuration that launches the MCP server through `uvx`.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewDiffgrab AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/diffgrab?style=directory)](https://allmcps.com/mcp/diffgrab)
HTML Embed
<a href="https://allmcps.com/mcp/diffgrab"><img src="https://allmcps.com/api/badge/diffgrab?style=directory" alt="Diffgrab on AllMCPs" /></a>