Allows comparison of TOML data, generating diffs between TOML structures, and processing TOML content for difference analysis
Supports comparison of XML data, generating diffs between XML structures, and processing XML content for difference analysis
Enables comparison of YAML data, generating diffs between YAML structures, and processing YAML content for difference analysis
powered by jsondiffpatch
Features
- compare text (using text diff powered by google-diff-match-patch )
- compare data (json, json5, yaml, toml, xml, html) and get a readable diff in multiple output formats (text, json, jsonpatch)
Tool
diff
compare text or data and get a readable diff.
Inputs:
left
(string | unknown[] | Record<string, unknown>): left text or dataleftFormat
(string, optional): text, json, json5 (default), yaml, toml, xml, htmlright
(string | unknown[] | Record<string, unknown>): right text or data (to compare with left)rightFormat
(string, optional): text, json, json5 (default), yaml, toml, xml, htmloutputFormat
(string, optional): text (default), json, jsonpatch
Setup
Usage with Claude Desktop
Add this to your claude_desktop_config.json
:
All contributors ✨
License
This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.
Tools
compare 2 text or data (supports text diffs, json, json5, yaml, toml, xml and html). powered by jsondiffpatch
Related MCP Servers
- AsecurityAlicenseAqualityThis server provides a tool to generate unified diffs between two text strings, facilitating text comparison and analysis.Last updated -12513JavaScriptMIT License
- Python
- TypeScriptMIT License