CSV dedupe

csv-dedupe · version 1.0.0 · CSV & tables · free, no key needed

Remove duplicate CSV data rows while preserving the first occurrence.

Use when you need to: csv dedupe · csv deduplicate · remove duplicate csv rows.

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "id,name\n1,Ada\n1,Ada\n2,Lin\n"
}

Response:

{
  "result": {
    "csv": "id,name\n1,Ada\n2,Lin\n",
    "rows_in": 3,
    "rows_out": 2,
    "duplicates_removed": 1
  }
}

How to call it

MCP

Connect https://computefirst.net/mcp (setup), then call execute with:

{
  "id": "csv-dedupe",
  "version": "1.0.0",
  "input": {
    "csv": "id,name\n1,Ada\n1,Ada\n2,Lin\n"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-dedupe/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"id,name\n1,Ada\n1,Ada\n2,Lin\n"}'

The machine-readable contract is at /v1/tools/csv-dedupe/versions/1.0.0.

CLI

node cli.mjs run csv-dedupe 1.0.0 --input input.json --base-url https://computefirst.net

Get the client at /clients/cli/.