blockdiff

Emnolope/blockdiff
★ 0 stars Python AI/LLM Updated 12d ago
Find the paragraphs git diff lost. A cross-file move detection tool and MCP server for devs and AI agents.
View on GitHub → 🔍 Audit Wallet Slippage →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "blockdiff": {
      "command": "uvx",
      "args": [
        "blockdiff"
      ]
    }
  }
}

Or install with pip: pip install blockdiff

README Excerpt

A drop-in replacement tool for `git diff` that detects cross-file moved lines. > [!NOTE] > This project was vibe coded in an IDE by **Antigravity** (powered by **Gemini 3.0 Flash**). `git diff --color-moved` detects moved lines but only within the same file. It cannot detect when a paragraph or code block moves from `file_a.md` to `file_b.md`. Standard `git diff` shows the move as a deletion in A and an insertion in B, which is indistinguishable from actual content loss.