Line Dedupe

Text REST API MCP

Remove duplicate lines, keeping the first occurrence. Optionally case-insensitive and trim-aware.

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

Call it over REST

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

Execute — verified arguments

curl -X POST https://api.findutils.com/api/tools/line-dedupe/execute \
  -H "Content-Type: application/json" \
  -d '{
    "text": "a\nb\na"
  }'

Parameter schema for this endpoint

curl https://api.findutils.com/api/tools/line-dedupe

Interactive docs · OpenAPI 3.1 spec · All REST tools

Input schema

Argument Type Required Description
text string yes Newline-separated input.
case_sensitive boolean no Case-sensitive comparison. Defaults to true. Default: true.
trim_lines boolean no Trim each line before comparing. Defaults to true. Default: true.

Example arguments (verified)

{
  "text": "a\nb\na"
}

Also an MCP tool

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

Connect once

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

More Text tools