Diff Anything

Official registry Other

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).

NPM package @grunersoftware/diff-anything-mcp
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
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "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_ROOTS required JSON array of absolute existing directories this server may compare.
  • DIFF_ANYTHING_CLI Optional 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.