Line Dedupe

Text REST API MCP

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

This page documents the MCP tool findutils:line_dedupe. See the REST reference →

Call it over MCP

Tool name findutils:line_dedupe · no API keys · 120 requests/min per IP

Claude Code

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

Claude Desktop — claude_desktop_config.json

{
  "mcpServers": {
    "findutils": {
      "url": "https://mcp.findutils.com/"
    }
  }
}

Raw JSON-RPC (any MCP client) — verified example

curl -X POST https://mcp.findutils.com/ \
  -H "Content-Type: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "line_dedupe",
      "arguments": {
        "text": "a\nb\na"
      }
    }
  }'

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 a REST endpoint

The same tool answers plain HTTP at POST /api/tools/line-dedupe/execute — no key, 60 requests/min.

Open the REST reference for Line Dedupe →

More Text tools