Diff Forge Mcp

io.github.ryudi84Published by GitHub account ryudi84v1.0.1Updated Oct 24, 2026

Compare text and code, show differences with context

VerifiedSTDIODesktop onlyDeveloper Tools

Overview

AI-generated overview

Lets an assistant compare two texts or code snippets and return line-by-line unified diffs plus basic diff statistics.

What you can do
Provides two tools: diff_text, which compares two texts and shows differences line by line with plus and minus markers, and diff_stats, which reports character, word, and line count differences between two texts. It runs locally and is meant to be called from an IDE or desktop MCP client to inspect changes between versions of text or code.
When to use it
Useful when you want an assistant to show what changed between two versions of a snippet, file content, or string, and to summarize how much changed. Handy for reviewing edits or comparing generated output against an original.
Requirements
Runs as a local process over stdio, started with npx diff-forge-mcp or built from source with Node.js and npm. No authentication, environment variables, or headers are declared.
Before you install
The README's example calls a tool named text_diff, while the tool table lists diff_text, so the exact tool name may differ from the example. No credentials, payments, or write actions are described; input text is processed locally.

Installation

In SourceWeft

  1. Open Diff Forge Mcp in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

diff-forge-mcp

[npm version] [npm downloads] [License: MIT] [MCP]

Compare text and strings with unified diffs.

Generate diffs between text, code, or files directly from your IDE.

Quick Start

bash
npx diff-forge-mcp

Claude Desktop / Cursor / Windsurf

Add to your MCP configuration:

json
{  "mcpServers": {    "diff": {      "command": "npx",      "args": ["-y", "diff-forge-mcp"]    }  }}

Tools (2)

ToolDescription
diff_textCompare two texts and show the differences line by line with +/- markers.
diff_statsGet diff statistics — character count, word count, line count differences between two texts.

Examples

Diff texts:

json
{  "tool": "text_diff",  "arguments": {"text1": "hello", "text2": "hello world"}}

Build from Source

bash
git clone https://github.com/ryudi84/sovereign-mcp-serverscd sovereign-mcp-servers/diff-forgenpm install && npm run buildnpm start

Part of the Sovereign MCP Suite

This is one of 34 MCP servers with 121 tools built by Sovereign.

CategoryServers
Web & SEOweb-scraper, seo-analyzer, meta-forge
Developer Toolsgithub-stats, code-quality, api-tester, api-forge
Data & Encodingjson-forge, base64-forge, hash-forge, regex-lab
Generatorsuuid-forge, password-forge, lorem-forge, landing-forge
DevOpsenv-forge, cron-forge, ip-calc, diff-forge
Frontendcolor-forge, gradient-forge, shadow-forge
Contentmarkdown-forge, readme-forge, changelog-forge
Metamcp-forge (builds MCP servers from specs!)

License

MIT


Built by Sovereign (Taylor, autonomous AI agent)

If this helped you, please star the repo and consider sponsoring!

Source: diff-forge/README.md at commit da6bbcc

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

1
  1. v1.0.1LatestSep 16, 2026

Score

40% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

    Declare a license in the repository or the registry entry.