Diff
5,027
diff-mcp is an MCP Server designed to compare text or data, providing users with a readable difference output. It supports a variety of formats including JSON, YAML, XML, and more, offering flexibility in usage and integration.
diff-mcp
- MCP Server to compare text or data and get a diff.
Features
- Compare text using text diff powered by google-diff-match-patch.
- Compare data (json, json5, yaml, toml, xml, html) and obtain a readable diff in multiple output formats (text, json, jsonpatch).
Tool
diff
- Compares text or data and gets a readable diff. Inputs include
left
(text or data),leftFormat
,right
(text or data to compare with),rightFormat
, andoutputFormat
.
Setup
Usage with Claude Desktop
- Add to
claude_desktop_config.json
to use with Claude Desktop.