Dataset Diff & Change Detector

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

我该使用它吗

质量与安全性

A
描述质量
100%
模式完整度
65%
命名质量
90%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

基于对工具定义和协议合规性的自动分析。

上下文开销

~596token 数(工具定义)
~2.0 KB典型响应大小
对注意力的影响极小(占 128k 上下文窗口的 0.47%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

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

远程端点

https://dataset-diff-detector.nerolabs.workers.dev/mcpstreamable-http

它能做什么

工具清单

工具(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.

输入模式

{
  "type": "object",
  "properties": {},
  "additionalProperties": false
}
🟡diff_rows(oldRows, newRows, keyFields, compareFields, ignoreFields, ...)

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.

输入模式

{
  "type": "object",
  "properties": {
    "oldRows": {
      "type": "array",
      "description": "The before snapshot: a JSON array of row objects. At least one row. Keys may differ between rows.",
      "items": {
        "type": "object"
      }
    },
    "newRows": {
      "type": "array",
      "description": "The after snapshot: a JSON array of row objects, the same kind of rows as oldRows. At least one row.",
      "items": {
        "type": "object"
      }
    },
    "keyFields": {
      "type": "array",
      "description": "Field name(s) that uniquely identify a row on both sides, for example [\"sku\"] or [\"country\",\"sku\"]. Strongly recommended: without it a changed row is reported as one removed row plus one added row.",
      "items": {
        "type": "string"
      }
    },
    "compareFields": {
      "type": "array",
      "description": "Optional. Only these fields decide whether a matched row changed. Default: every field on either row.",
      "items": {
        "type": "string"
      }
    },
    "ignoreFields": {
      "type": "array",
      "description": "Optional. Fields never compared, for example [\"scrapedAt\",\"lastChecked\"], so a timestamp alone does not mark a row changed.",
      "items": {
        "type": "string"
      }
    },
    "includeUnchanged": {
      "type": "boolean",
      "description": "Optional, default false. Set true to also return matched rows with no difference (status \"unchanged\"). They are always counted in the summary."
    }
  },
  "required": [
    "oldRows",
    "newRows"
  ],
  "additionalProperties": false
}

社区

评价此服务器

证据

最近观测

已验证未记录版本2 个工具
已验证未记录版本2 个工具
已验证未记录版本2 个工具