Diff Anything
Compare local files, folders and API schemas through the installed Diff Anything CLI.
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@grunersoftware/diff-anything-mcpclaude mcp add diff-anything -e 'DIFF_ANYTHING_ROOTS=<DIFF_ANYTHING_ROOTS>' -e 'DIFF_ANYTHING_CLI=<DIFF_ANYTHING_CLI>' -- npx -y @grunersoftware/diff-anything-mcp@0.1.0
{
"mcpServers": {
"diff-anything": {
"command": "npx",
"args": [
"-y",
"@grunersoftware/diff-anything-mcp@0.1.0"
],
"env": {
"DIFF_ANYTHING_ROOTS": "<DIFF_ANYTHING_ROOTS>",
"DIFF_ANYTHING_CLI": "<DIFF_ANYTHING_CLI>"
}
}
}
}
Environment variables
DIFF_ANYTHING_ROOTSrequired JSON array of absolute existing directories this server may compare.DIFF_ANYTHING_CLIOptional absolute path to the installed Diff Anything executable.
Frequently asked questions
What is Diff Anything?
Compare local files, folders and API schemas through the installed Diff Anything CLI.
How do I install Diff Anything?
It runs on your machine. In Claude Code: claude mcp add diff-anything -e 'DIFF_ANYTHING_ROOTS=<DIFF_ANYTHING_ROOTS>' -e 'DIFF_ANYTHING_CLI=<DIFF_ANYTHING_CLI>' -- npx -y @grunersoftware/diff-anything-mcp@0.1.0. For other clients, paste the JSON configuration from this page into their MCP settings.
Does Diff Anything need an API key?
Yes. It expects DIFF_ANYTHING_ROOTS, which you set in its configuration.
Is Diff Anything open source?
Its code is public on GitHub, but the repository does not declare a standard license.
Who maintains Diff Anything?
It is published by MartinGryner. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.