Text Diff

Text REST API MCP

Line-by-line diff of two strings using LCS. Returns structured chunks (equal / added / removed) plus a unified-diff-style text block and tallies.

This page documents the HTTP endpoint POST /api/tools/text-diff/execute. See the MCP reference →

Call it over REST

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

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/text-diff/execute \
  -H "Content-Type: application/json" \
  -d '{
    "a": "foo\nbar",
    "b": "foo\nbaz"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/text-diff

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
a string yes Original text.
b string yes Changed text.

Example arguments (verified)

{
  "a": "foo\nbar",
  "b": "foo\nbaz"
}

Also an MCP tool

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

Connect once

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

More Text tools