# Code Diff Checker — MCP tool `findutils:code_diff_checker`

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.

- Category: text
- MCP server: https://mcp.findutils.com/ (Streamable HTTP, no API keys, 120 req/min per IP)
- REST endpoint: POST https://api.findutils.com/api/tools/code-diff-checker/execute (no API keys, 60 req/min per IP)
- Reference page: https://findutils.com/mcp/code-diff-checker/
- Same tool on the other surface: https://findutils.com/api/code-diff-checker/

## Connect

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

Claude Desktop (`claude_desktop_config.json`):

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

## Call the tool (verified example)

```bash
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):

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

## Also a REST endpoint

```bash
curl -X POST https://api.findutils.com/api/tools/code-diff-checker/execute \
  -H "Content-Type: application/json" \
  -d '{
    "original": "a\nb\nc",
    "modified": "a\nx\nc"
  }'

# Parameter schema
curl https://api.findutils.com/api/tools/code-diff-checker
```

Full REST reference: https://findutils.com/api/code-diff-checker/ · OpenAPI 3.1 spec: https://findutils.com/api/openapi.json

---
Full catalog: POST https://mcp.findutils.com/ with method `tools/list` · https://findutils.com/mcp/ · https://findutils.com/llms.txt
