Dataset Diff & Change Detector

io.github.Nero-Engine由 GitHub 账号 Nero-Engine 发布v0.1.0更新于 Oct 24, 2026

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

已验证Streamable HTTP可网页运行开发者工具数据与分析

概览

AI 生成的概览

一个远程 MCP 服务器,用于比较同一份 JSON 行列表的两个版本,并逐字段报告哪些行被新增、删除或修改。

可以做什么
按一个或多个键字段匹配前后两份 JSON 行快照,返回每条差异的状态、键、新旧值和变更字段。可忽略时间戳等字段,或只比较指定字段,也可选择返回未变更的行。获得新增、删除、修改和未变更行数的汇总,以及重复键、缺少键字段和字段名不存在等警告。在比较前查询精确的匹配与比较规则、输出结构和行数上限。
适用场景
适合助手需要核对同一列表的两份导出(如昨日与今日价格表、每周产品源或两份 CRM 导出)并准确报告变化的情况。适用于需要精确到字段比较的中小型快照。超过单次调用行数上限的列表需拆分,否则不适用。
运行要求
需要远程 streamable HTTP 端点;无需安装、API 密钥或注册。README 称早期访问期间免费。需要网络访问,每次调用两侧快照合计最多 500 行。
安装前请注意
数据行会发送到第三方远程服务;README 称数据仅在内存中处理、不会存储,日志只记录工具名、行数、是否成功、客户端名称、国家和经过单向哈希的调用方标识。比较是精确的,文本与数字等类型差异也会被报告为变更。每次调用两侧合计最多 500 行,拆分较大列表时若两侧键范围不一致,会产生误导性的新增/删除结果。

安装

在 SourceWeft 中

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

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

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.Nero-Engine%2Fdataset-diff-detector/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

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

{
  "mcpServers": {
    "dataset-diff-change-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

工具

2

list_capabilities

Returns the exact matching and comparison rules diff_rows uses, the shape and order of its output rows, and the maximum rows per call. Call this first if you are unsure how values are compared. Free, processes no data.

无需输入参数。

diff_rows

Compares two versions of the same list of JSON rows (a before and an after snapshot, such as yesterday's and today's price list, product feed or CRM export) and returns one row per difference: status added, removed or changed, the key, the old and new values, and changedFields naming exactly which fields moved. Set keyFields to the field(s) that identify a row (sku, id, email); without it rows match on full content and an edited row shows as removed plus added. Comparison is exact: "19.99" (text) and 19.99 (a number) differ, as do "Blue" and "blue " and null and a missing field; nested objects compare by value. Put always-changing fields such as timestamps in ignoreFields. The summary counts added, removed, changed and unchanged rows and warns about duplicate keys, rows missing a key, and field names found in no row. oldRows and newRows together are limited per call (list_capabilities gives the number); larger calls are refused with a message saying how to split them.

输入参数newRows必填oldRows必填keyFieldsignoreFieldscompareFieldsincludeUnchanged

版本历史

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

评分

已满足适用检查项的 65%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。