# Code Diff Checker — REST API endpoint `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/api/code-diff-checker/
- Same tool on the other surface: https://findutils.com/mcp/code-diff-checker/

## Call the endpoint (verified example)

```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
```

## 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"
}
```

OpenAPI 3.1 spec: https://findutils.com/api/openapi.json · Interactive docs: https://findutils.com/api/docs/

## Also an MCP tool

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

Then ask the client to call `findutils:code_diff_checker`. Full MCP reference: https://findutils.com/mcp/code-diff-checker/

---
Full catalog: GET https://api.findutils.com/api/tools · https://findutils.com/api/ · https://findutils.com/llms.txt
