Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
Read-only table diffs with segment attribution: which slice of your data changed.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
DATADIFFER_CONFIG你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"datadiffer": {
"command": "uvx",
"args": [
"datadiffer"
],
"env": {
"DATADIFFER_CONFIG": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add datadiffer --env DATADIFFER_CONFIG=your-value -- uvx datadiffer运行前请先填写空着的值。
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"datadiffer": {
"command": "uvx",
"args": [
"datadiffer"
],
"env": {
"DATADIFFER_CONFIG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"datadiffer": {
"type": "stdio",
"command": "uvx",
"args": [
"datadiffer"
],
"env": {
"DATADIFFER_CONFIG": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
DATADIFFER_CONFIG env这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 gauthierpiarrette 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.1.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
同一分类中有:Spec Driven Development, Remote Desktop Commander, 好縮 Short
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
Smart URL shortener: create, tag and track short links on s.gooo.name.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
Diff two tables. See what changed, and which slice of your data it's concentrated in.
98.6% of modified rows have country = 'DE' (8.87x over-represented)
datadiffer compares two tables (dev vs. prod, PR vs. main, source vs. destination) and tells you what changed and where it's concentrated: rows added / removed / modified, per-column change rates, and segment attribution.
Built for the era when agents write your pipelines and someone has to check their work. A maintained, MIT-licensed successor to the archived data-diff.
No credentials, no config, no account. It generates its own data:
uvx datadiffer demo
datadiffer-demo/orders_prod.parquet vs datadiffer-demo/orders_dev.parquet
key: order_id (inferred from *_id naming) rows: +800 added -250 removed ~432 modified 49318 unchanged ┏━━━━━━━┳━━━━━━━━━━━━━━┳━━━━━━━━━━━━━┓ ┃column ┃ changed rows ┃ % of matched┃ ┡━━━━━━━╇━━━━━━━━━━━━━━╇━━━━━━━━━━━━━┩ │amount │ 432 │ 0.87%│ └───────┴──────────────┴─────────────┘ -> 98.6% of modified rows have country = 'DE' (8.87x over-represented) 93.2% of added rows have plan = NULL (63.19x over-represented) sample changes: [order_id=0] amount: 5.0 -> 7.1 [order_id=1] amount: 6.37 -> 6.38 [order_id=117] amount: 32.4 -> 34.5 [order_id=234] amount: 59.8 -> 61.9 [order_id=351] amount: 87.2 -> 89.3 DIFF FOUND
That last block is the point. A diff tells you 432 rows changed; datadiffer tells you they're almost all German orders, which is the difference between "something moved" and "the VAT change landed."
pip install datadiffer # local files: Parquet, CSV, DuckDB
pip install 'datadiffer[snowflake]' # + Snowflake pip install 'datadiffer[postgres]' # + Postgres pip install 'datadiffer[mcp]' # + MCP server for AI agents
# local files
datadiffer diff prod.parquet dev.parquet
datadiffer diff prod.duckdb:orders dev.duckdb:orders
datadiffer diff orders orders_v2 --source "postgresql://user@host:5432/db"
datadiffer init first)datadiffer diff wh::analytics.orders wh::analytics_dev.orders
datadiffer diff wh::orders orders_snapshot.parquet
datadiffer diff a.parquet b.parquet --format json
Exit codes follow the GNU diff convention: 0 no differences, 1 differences found, 2 operational error.
Useful flags: --key (inferred when omitted), --where, --columns / --exclude-columns, --sample-limit, --no-attribution, -q.
datadiffer-action posts the report as a sticky PR comment:
### datadiffer:
ANALYTICS.ORDERSvsANALYTICS_PR_482.ORDERS: differences found ❌
+800 added · −250 removed · ~432 modified · 49,318 unchanged (2.96% of base rows affected)
Policy: max-changed-rows-pct exceeded: 2.96% > 0.5%
| Column | Changed rows | % of matched |
|---|---:|---:|
|
amount| 432 | 0.87% |
> Where it's concentrated: 98.6% of modified rows have
country = 'DE'(8.87× over-represented)
> 93.2% of added rows have
plan = NULL(63.19× over-represented)
- uses: gauthierpiarrette/datadiffer-action@v1
with: config: datadiffer.toml # holds the warehouse connection table-a: wh::ANALYTICS.ORDERS schema-map: "ANALYTICS=ANALYTICS_PR_${PR_NUMBER}" max-changed-rows-pct: "0.5" env: SNOWFLAKE_PRIVATE_KEY: ${{ secrets.SNOWFLAKE_PRIVATE_KEY }}
Running dbt? docs/dbt-ci.md turns dbt ls --select state:modified into one diff per changed model, each with its own comment.
Let a coding agent verify its own data changes:
datadiffer init # scaffold datadiffer.toml, then add the server to your client
{ "mcpServers": { "datadiffer": { "command": "datadiffer", "args": ["mcp"] } } }
Any MCP client works. datadiffer init prints the server entry to paste, including a uvx form for clients that prefer no global install.
Four read-only tools: list_connections, schema_diff, diff_summary (cheap preflight), diff_tables (full report). Credentials never pass through the model. Tools take connection *names* from your local datadiffer.toml, never DSNs. Over-cap requests come back as structured refusals with a remedy, so the agent can self-correct instead of failing.
Most diff tools answer *whether* two tables match. datadiffer answers *what changed and where*: which columns moved, and which slice of the data the change is concentrated in.
| Tool | Use it instead when |
|---|---|
| Datafold | You need billion-row cross-database reconciliation, a collaboration UI, lineage/impact analysis, and a support contract. |
SQLMesh table_diff | You already run SQLMesh and diff within a single gateway (cross-database diffing is a Tobiko Cloud feature). |
| Recce | You want a dbt-native PR review UI and your whole workflow is dbt. |
| Google DVT | You're validating a migration across 17 warehouse types and want pass/fail validation with YAML configs. |
| datacompy | You're comparing two pandas/Spark/Polars DataFrames inside one process. |
datadiffer is for the case in between: one command, no platform, works from your terminal, your CI, or your agent, and it explains itself.
Same job, different flags:
| data-diff / reladiff | datadiffer |
|---|---|
data-diff DB1 table1 DB2 table2 | datadiffer diff (locators or --source/--target) |
-k, --key-columns | --key (repeatable, or comma-separated) |
-c, --columns | --columns |
-w, --where | --where (validated: single boolean expression, no subqueries) |
--json | --format json (stable schema v1) |
-l, --limit | --sample-limit |
Differences worth knowing: keys are inferred from declared constraints or *_id conventions when you omit --key; unknown column names in filters are an error, never silently ignored; and exit code 1 means "diff found" (2 is reserved for operational errors), so CI can tell them apart.
Not yet ported: checksum-bisection hashdiff for very large cross-database diffs, which is reladiff's headline capability, plus MySQL, Oracle, ClickHouse, Trino and the rest of its connector list. If you need those today, use reladiff; the bisection port is the top item on our v0.2 roadmap and will credit its author.
Full command mapping and behavior differences: [docs/migrating-from-data-diff.md](docs/migrating-from-data-diff.md).
--where. Pushing the comparison into the warehouse, and lifting that cap with checksum bisection, are the next two pieces of work.execution.snapshot); Snowflake pulls are a single consistent SELECT.MIT, no CLA, no telemetry. The report schema is frozen at v1 and contract-tested, so pipelines and agents that parse it keep working across releases. Dependencies are deliberately few: DuckDB, PyArrow, sqlglot, click, rich.
BigQuery, then checksum-bisection hashdiff so large cross-database diffs stop needing a row cap (ported with credit to reladiff), then more connectors. Tracked in issues. Comment on the one you need and it moves up.
git clone https://github.com/gauthierpiarrette/datadiffer && cd datadiffer
uv sync --group dev uv run pytest -q # warehouse tests skip unless credentials are set uv run ruff check .
Prior art gratefully acknowledged: data-diff and reladiff (Erez Shinan), whose checksum-bisection design v0.2 will port; Adtributor (Microsoft Research) for the attribution scoring; and DuckDB, which makes all of this fast enough to be boring.
MIT