MCP server
Diff
MCP server for computing text diffs, comparing strings, and generating unified diff…
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.3
- Listing updated
- today
About Diff
Diff is an open-source MCP server. It runs locally on your machine and is started by your AI client.
MCP server for computing text diffs, comparing strings, and generating unified diff output.
Install
Run in a terminal
claude mcp add diff -- npx -y diff-forge-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"diff": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"diff": {
"command": "npx",
"args": [
"-y",
"diff-forge-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Diff FAQ
Is Diff free?
Yes. Diff is open source, so you can use and self-host it for free.
How do I add Diff to Claude Code?
Run this command in your terminal: claude mcp add diff -- npx -y diff-forge-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.