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 HTTP endpoint POST /api/tools/code-diff-checker/execute. See the MCP reference →

Call it over REST

POST https://api.findutils.com/api/tools/code-diff-checker/execute · no API keys · 60 requests/min per IP

Execute — verified arguments

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 for this endpoint

curl https://api.findutils.com/api/tools/code-diff-checker

Interactive docs · OpenAPI 3.1 spec · All REST tools

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 an MCP tool

Claude, Cursor, and any MCP client can call this tool as findutils:code_diff_checker after one connect command.

Connect once

claude mcp add findutils --transport http https://mcp.findutils.com/
Open the MCP reference for Code Diff Checker →

More Text tools