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 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/ More Text tools
Case Convert
Convert a string between camelCase, PascalCase, snake_case, kebab-case, SCREAMING_SNAKE, Title Case, Sentence case, lower, UPPER.
Citation Generator
Generate a reference-list citation in APA 7, MLA 9, Chicago, or Harvard style for a book, website, journal, or article.
Code Highlight Html
Returns syntax-highlighted HTML for a code snippet: HTML-escaped text wrapped in <span style="color: ..."> elements using one of six colour
Email Signature Generator
Generate an HTML email signature (table-based, inline styles, safe for Gmail/Outlook) from name, title, company, contact details and social
Html Entity Finder
Search the HTML entity catalog and return matching entities with their character, named entity, decimal code, hex code, and category.
Html Strip
Strip all HTML tags from a string, converting block tags to newlines and decoding common entities.
Html To Markdown
Convert HTML fragments to Markdown.
Levenshtein Distance
Compute the Levenshtein edit distance between two strings (minimum single-character insertions, deletions, or substitutions to transform A i