Structura JSON Diff
Developer utility for comparing two strict JSON documents.
使うべきか
品質と安全性
A
ツール定義とプロトコルへの準拠に関する自動分析に基づいています。
コンテキストコスト
~447トークン数(ツール定義)
~4.1 KB一般的なレスポンスサイズ
注意への影響は最小限(128k コンテキストの 0.35%)
これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。
インストール
ワンクリックインストール
これを `claude_desktop_config.json` ファイルに追加してください:
{
"mcpServers": {
"json-diff": {
"url": "https://json-diff.zovo.one/mcp"
}
}
}リモートエンドポイント
https://json-diff.zovo.one/mcpstreamable-httpできること
ツール一覧
ツール(1)
🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢compare_json(before, after)
Use this when you want to compare two JSON documents, find changed JSON paths, or distinguish type changes from value changes. Ignores object key order, preserves array order, and compares decimal numbers without float rounding. Limits: 20,000 characters per document, depth 64, 4,000 values, 500 differences. Does not compare source code, YAML, JSON5, or duplicate-key documents.
入力スキーマ
{
"type": "object",
"properties": {
"before": {
"type": "string",
"minLength": 1,
"maxLength": 20000,
"description": "Strict JSON before the change, e.g. {\"count\":1,\"enabled\":true}. Do not include passwords or secrets."
},
"after": {
"type": "string",
"minLength": 1,
"maxLength": 20000,
"description": "Strict JSON after the change, e.g. {\"count\":2,\"enabled\":\"true\"}."
}
},
"required": [
"before",
"after"
],
"$schema": "http://json-schema.org/draft-07/schema#"
}出力スキーマ
{
"type": "object",
"properties": {
"equal": {
"type": "boolean"
},
"change_count": {
"type": "number"
},
"counts": {
"type": "object",
"properties": {
"added": {
"type": "number"
},
"removed": {
"type": "number"
},
"type_changed": {
"type": "number"
},
"value_changed": {
"type": "number"
}
},
"required": [
"added",
"removed",
"type_changed",
"value_changed"
],
"additionalProperties": false
},
"preview": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"kind": {
"type": "string"
},
"before_type": {
"type": "string"
},
"after_type": {
"type": "string"
},
"before": {
"type": "string"
},
"after": {
"type": "string"
}
},
"required": [
"path",
"kind"
],
"additionalProperties": false
}
},
"preview_note": {
"type": "string"
},
"downloads": {
"type": "object",
"properties": {
"report": {
"type": "string"
}
},
"required": [
"report"
],
"additionalProperties": false
}
},
"required": [
"equal",
"change_count",
"counts",
"preview",
"preview_note",
"downloads"
],
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false
}コミュニティ
エビデンス
最近の観測
検証済みバージョンは記録されていませんツール 1 件