Code Diff Checker

Text REST API MCP

Returns a line-by-line diff of two code snippets: each line marked added, removed or unchanged with its original and modified line numbers, plus addition/deletion counts and a unified patch text. Can ignore whitespace and letter case when comparing.

This page documents the MCP tool findutils:code_diff_checker. See the REST reference →

Call it over MCP

Tool name findutils:code_diff_checker · no API keys · 120 requests/min per IP

Claude Code

claude mcp add findutils --transport http https://mcp.findutils.com/

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "code_diff_checker",
      "arguments": {
        "original": "a\nb\nc",
        "modified": "a\nx\nc"
      }
    }
  }'

Input schema

Argument Type Required Description
original string yes The original code.
modified string yes The modified code.
ignore_whitespace boolean no Collapse runs of whitespace and trim lines before comparing. Default: false. Default: false.
ignore_case boolean no Compare lines case-insensitively. Default: false. Default: false.

Example arguments (verified)

{
  "original": "a\nb\nc",
  "modified": "a\nx\nc"
}

Also a REST endpoint

The same tool answers plain HTTP at POST /api/tools/code-diff-checker/execute — no key, 60 requests/min.

Open the REST reference for Code Diff Checker →

More Text tools