Dataset Diff & Change Detector

io.github.Nero-Enginev0.1.0更新于 Sep 29, 2026

Compare two versions of a JSON row list: what was added, removed or changed, field by field.

已验证Streamable HTTP可网页运行Other

安装

在 SourceWeft 中

  1. 打开 控制台中的 Dataset Diff & Change Detector,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "dataset-diff-detector": {
      "type": "http",
      "url": "https://dataset-diff-detector.nerolabs.workers.dev/mcp"
    }
  }
}

README

Dataset Diff & Change Detector (Remote MCP Server)

Compare two versions of the same list of JSON rows and get exactly what changed. Hand it yesterday's price list and today's, last week's product feed and this week's, or two exports of the same CRM, name the field that identifies a row, and it tells you which rows were added, removed or changed, down to which fields moved on each one.

Built for AI agents. No install, no API key, no signup. Connect by URL and call it.

https://dataset-diff-detector.nerolabs.workers.dev/mcp

Free to use while in early access.

What it does

One call compares a before snapshot (oldRows) with an after snapshot (newRows):

  1. Matches rows across the two sides on keyFields, such as sku, id or email (one field or several). Without a key it matches on full row content, so an edited row shows as one removed row plus one added row.
  2. Compares every field on each matched pair, minus any ignoreFields (timestamps that always differ), or only the compareFields you name.
  3. Returns one row per difference with its status, key, oldValues, newValues and changedFields, plus a summary counting added, removed, changed and unchanged rows. Turn on includeUnchanged to get the unchanged rows back too.

Comparison is exact, so nothing is quietly glossed over: "24.99" as text and 24.99 as a number count as a change, as do "Blue" and "blue ", and null becoming a value. Nested objects compare by value, whatever order their keys are in.

It is honest about messy input. The summary warns when a key value appears twice on one side (the last row is kept and the count is reported), when rows have no key field at all, and when a field you named appears in no row, which is usually a typo.

Tools

ToolWhat it does
list_capabilitiesLists the exact matching and comparison rules, the output shape and the row limit. Processes no data.
diff_rowsCompares oldRows with newRows and returns the differences plus a summary.

Connect

Claude Code

bash
claude mcp add --transport http dataset-diff-detector https://dataset-diff-detector.nerolabs.workers.dev/mcp

Claude Desktop / claude.ai: Settings, Connectors, Add custom connector, paste the URL above.

Cursor, Windsurf, VS Code and other MCP clients

json
{  "mcpServers": {    "dataset-diff-detector": {      "url": "https://dataset-diff-detector.nerolabs.workers.dev/mcp"    }  }}

Example

Yesterday's and today's price list go in, with the scrape timestamp ignored:

json
{  "oldRows": [    {"sku": "A100", "title": "Blue Widget", "price": 19.99, "stock": 42, "scrapedAt": "2026-09-11T08:00:00Z"},    {"sku": "A101", "title": "Red Widget", "price": "24.99", "stock": 0, "scrapedAt": "2026-09-11T08:00:00Z"},    {"sku": "A102", "title": "Green Widget", "price": 15.5, "stock": 8, "scrapedAt": "2026-09-11T08:00:00Z"},    {"sku": "A104", "title": "Purple Widget", "price": 9.99, "discount": null, "scrapedAt": "2026-09-11T08:00:00Z"},    {"sku": "A105", "title": "Orange Widget", "price": 30, "stock": 3, "scrapedAt": "2026-09-11T08:00:00Z"}  ],  "newRows": [    {"sku": "A100", "title": "Blue Widget", "price": 17.99, "stock": 30, "scrapedAt": "2026-09-12T08:00:00Z"},    {"sku": "A101", "title": "Red Widget", "price": 24.99, "stock": 0, "scrapedAt": "2026-09-12T08:00:00Z"},    {"sku": "A102", "title": "Green Widget", "price": 15.5, "stock": 8, "scrapedAt": "2026-09-12T08:00:00Z"},    {"sku": "A104", "title": "Purple Widget", "price": 9.99, "discount": 0.1, "scrapedAt": "2026-09-12T08:00:00Z"},    {"sku": "A106", "title": "Yellow Widget", "price": 12, "stock": 100, "scrapedAt": "2026-09-12T08:00:00Z"}  ],  "keyFields": ["sku"],  "ignoreFields": ["scrapedAt"]}

Five differences come out. A105 was removed, A106 was added, A100 changed price and stock, A101's price turned from text into a number, and A104 gained a discount. A102 matched exactly and is counted as unchanged:

json
{  "rows": [    {"status":"removed","key":{"sku":"A105"},"oldValues":{"sku":"A105","title":"Orange Widget","price":30,"stock":3,"scrapedAt":"2026-09-11T08:00:00Z"}},    {"status":"changed","key":{"sku":"A100"},"oldValues":{"sku":"A100","title":"Blue Widget","price":19.99,"stock":42,"scrapedAt":"2026-09-11T08:00:00Z"},"newValues":{"sku":"A100","title":"Blue Widget","price":17.99,"stock":30,"scrapedAt":"2026-09-12T08:00:00Z"},"changedFields":["price","stock"]},    {"status":"changed","key":{"sku":"A101"},"oldValues":{"sku":"A101","title":"Red Widget","price":"24.99","stock":0,"scrapedAt":"2026-09-11T08:00:00Z"},"newValues":{"sku":"A101","title":"Red Widget","price":24.99,"stock":0,"scrapedAt":"2026-09-12T08:00:00Z"},"changedFields":["price"]},    {"status":"changed","key":{"sku":"A104"},"oldValues":{"sku":"A104","title":"Purple Widget","price":9.99,"discount":null,"scrapedAt":"2026-09-11T08:00:00Z"},"newValues":{"sku":"A104","title":"Purple Widget","price":9.99,"discount":0.1,"scrapedAt":"2026-09-12T08:00:00Z"},"changedFields":["discount"]},    {"status":"added","key":{"sku":"A106"},"newValues":{"sku":"A106","title":"Yellow Widget","price":12,"stock":100,"scrapedAt":"2026-09-12T08:00:00Z"}}  ],  "summary": {    "oldRecordCount": 5,    "newRecordCount": 5,    "counts": {"added": 1, "removed": 1, "changed": 3, "unchanged": 1},    "differenceCount": 5,    "returnedRowCount": 5,    "unchangedRowsIncluded": false,    "keyFieldsUsed": ["sku"],    "ignoreFields": ["scrapedAt"],    "duplicateRowsSkipped": {"old": 0, "new": 0},    "rowsMissingKeyFields": {"old": 0, "new": 0},    "warnings": []  }}

Removed rows come first, then changed rows in the order of oldRows, then added rows in the order of newRows.

Limits

Up to 500 rows per call, oldRows and newRows combined. For bigger lists, split them across several calls and keep the same key range on both sides of each call (for example SKUs A to M in one call, N to Z in the next), otherwise a row in one call looks removed while its match in another looks added. Anything larger returns a clear message rather than failing silently.

Privacy

Your rows are processed in memory and never stored. To see which tools get used, each call records the tool name, row counts, whether it succeeded, the client name your app reports, the country and a one-way hashed caller ID. Your data, your arguments and your IP address are never kept in that log.

Also available

The same engine runs on the Apify Store as Dataset Diff & Change Detector, which adds "since last run" snapshot mode (name a comparison and every run reports only what changed since the previous one, so you never supply the old side again), reads Apify datasets, CSV, Excel and JSON files and Google Sheets on either side, compares up to 100,000 rows a run, exports a CSV or Excel diff report, keeps a running change log in a named dataset, and posts each result to a webhook.

Built by Nero Labs.

来源:README.md,提交 a12ca03

工具

0
工具元数据尚未被收录。

版本历史

1
  1. v0.1.0最新Sep 16, 2026