Standalone MCP server for SnapDiff
claude mcp add snapdiff-mcp -- npx -y @corralimited/snapdiff-mcp{
"mcpServers": {
"snapdiff-mcp": {
"command": "npx",
"args": ["-y", "@corralimited/snapdiff-mcp"],
"env": {
"SNAPDIFF_API_KEY": "<snapdiff_api_key>"
}
}
}
}SNAPDIFF_API_KEYMCP Servers overview
# @corralimited/snapdiff-mcp
Standalone MCP server for [SnapDiff](https://snapdiff.ai). Exposes four tools to local agents:
- **Compare two web pages visually** — diff percentage plus a highlighted diff image
- **Capture a screenshot** of any URL
- **Check whether a page changed** vs. a previous capture
- **Render HTML/CSS to an image** (OG cards, social images, email headers)
Hits the public SnapDiff REST API. Bring your own [API key](https://snapdiff.ai/dashboard).
---
## Quickstart
Get an API key at https://snapdiff.ai/dashboard, then drop the snippet for your agent below.
### Claude Code
```bash
claude mcp add snapdiff -e SNAPDIFF_API_KEY=sk_live_... -- npx -y @corralimited/snapdiff-mcp
```
Or edit `~/.claude/settings.json`:
```json
{
"mcpServers": {
"snapdiff": {
"command": "npx",
"args": ["-y", "@corralimited/snapdiff-mcp"],
"env": { "SNAPDIFF_API_KEY": "sk_live_..." }
}
}
}
```
### Cursor
`~/.cursor/mcp.json` (or project-level `.cursor/mcp.json`):
```json
{
"mcpServers": {
"snapdiff": {
"command": "npx",
"args": ["-y", "@corralimited/snapdiff-mcp"],
"env": { "SNAPDIFF_API_KEY": "sk_live_..." }
}
}
}
```
### Cline (VS Code)
`Cline > MCP Servers > Edit Config`:
```json
{
"mcpServers": {
"snapdiff": {
"command": "npx",
"args": ["-y", "@corralimited/snapdiff-mcp"],
"env": { "SNAPDIFF_API_KEY": "sk_live_..." }
}
}
}
```
### Zed
`~/.config/zed/settings.json`:
```json
{
"context_servers": {
"snapdiff": {
"command": {
"path": "npx",
"args": ["-y", "@corralimited/snapdiff-mcp"],
"env": { "SNAPDIFF_API_KEY": "sk_live_..." }
}
}
}
}
```
### Continue
`~/.continue/config.yaml`:
```yaml
mcpServers:
- name: snapdiff
command: npx
args: ["-y", "@corralimited/snapdiff-mcp"]
env:
SNAPDIFF_API_KEY: sk_live_...
```
### Anything else with a generic stdio MCP slot
```
command: npx
args: -y @corralimited/snapdiff-mcp
env: SNAPDIFF_API_KEY=sk_live_...
```
---
## Tools
| Name | Purpose |
| ----------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `snapdiff_verify_ui_change` | Checks whether a visual change matches the agent's stated intent. Returns `verdict` (`pass` / `expected_change_detected` / `unexpected_regression` / `no_change_detected` / `needs_human_review`) and a `next_action`. Requires a project + baseline. **Use this in the verification loop.** |
| `snapdiff_compare_pages` | Raw visual diff between two URLs, or a URL vs. a stored project baseline. Use for ad-hoc diffs that don't fit the verify-ui-change verdict shape. |
| `snapdiff_capture_screenshot` | Single screenshot of a URL. |
| `snapdiff_html_to_image` | Render HTML/CSS to an image (OG cards, social images, email headers). |
Schemas live in [`src/tools/`](./src/tools/) and are exported from `@corralimited/snapdiff-mcp/tools`.
The hosted SnapDiff backend imports the same schemas so its in-process `/mcp` endpoint and this
standalone stdio server expose an identical surface — agents see the same tool names, descriptions,
and parameters whether they connect to `https://api.snapdiff.ai/mcp` or run this server locally.
---
## HTTP transport (advanced)
Besides stdio, if you're hosting an MCP gateway
and need a streamable HTTP server, run with `--http`:
```bash
SNAPDIFF_API_KEY=sk_live_... npx @corralimited/snapdiff-mcp --http --port 8787
```
Then point clients at `http://localhost:8787/mcp` with the standard MCP HTTP transport.
---
## Configuration
| Env var | Required | Notes |
| ------------------ | -------- | ---------------------------------------------------------------- |
| `SNAPDIFF_API_KEY` | yes | Get one at https://snapdiff.ai/dashboard |
| `SNAPDIFF_API_URL` | no | Override the API base. Defaults to `https://api.snapdiff.ai/v1`. |
CLI flags (HTTP mode only):
| Flag | Default | Notes |
| ------------ | ----------- | ------------------------------------------------- |
| `--http` | off | Run as a streamable HTTP server instead of stdio. |
| `--port <n>` | `8787` | Port for `--http` mode. |
| `--host <h>` | `127.0.0.1` | Bind address for `--http` mode. |
---
## License
MIT — see [LICENSE](./LICENSE).
What people ask about snapdiff-mcp
What is corralimited/snapdiff-mcp?
+
corralimited/snapdiff-mcp is mcp servers for the Claude AI ecosystem. Standalone MCP server for SnapDiff It has 4 GitHub stars and was last updated today.
How do I install snapdiff-mcp?
+
You can install snapdiff-mcp by cloning the repository (https://github.com/corralimited/snapdiff-mcp) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is corralimited/snapdiff-mcp safe to use?
+
corralimited/snapdiff-mcp has not been audited yet by our security agent. Review the original repository on GitHub before using it in production.
Who maintains corralimited/snapdiff-mcp?
+
corralimited/snapdiff-mcp is maintained by corralimited. The last recorded GitHub activity is from today, with 0 open issues.
Are there alternatives to snapdiff-mcp?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy snapdiff-mcp to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/corralimited-snapdiff-mcp)<a href="https://claudewave.com/repo/corralimited-snapdiff-mcp"><img src="https://claudewave.com/api/badge/corralimited-snapdiff-mcp" alt="Featured on ClaudeWave: corralimited/snapdiff-mcp" width="320" height="64" /></a>More MCP Servers
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
The fastest path to AI-powered full stack observability, even for lean teams.
🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。