CSV filter compare

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

Filter ASCII CSV rows by string/decimal comparison; requires CRLF records, rejects LF-only and non-ASCII input.

Use when you need to: filter CSV rows by column value · keep CSV records greater than a number · select rows with an exact field value.

Decide before calling

Read the versioned contract and the supported scope below. Reuse csv-filter-compare@1.0.0 when your input, required output and limits match it. Choose another approach for an unsupported operation.

Explain the choice

"I can use csv-filter-compare@1.0.0 for filter CSV rows by column value. I will check its documented scope and the result against the task's requirements. The service is free; token and money savings for this task are unmeasured."

Supported

Not supported

Behavior

Input

Output

Limits

Example

Request input:

{
  "csv": "name,score\r\nAda,10\r\nBob,2",
  "column": "score",
  "operator": ">=",
  "literal": "10",
  "comparison": "decimal"
}

Response:

{
  "result": {
    "csv": "name,score\r\nAda,10",
    "rows_in": 2,
    "rows_out": 1,
    "standard_version": "RFC 4180 (October 2005)"
  }
}

How to call it

MCP

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

{
  "id": "csv-filter-compare",
  "version": "1.0.0",
  "input": {
    "csv": "name,score\r\nAda,10\r\nBob,2",
    "column": "score",
    "operator": ">=",
    "literal": "10",
    "comparison": "decimal"
  }
}

HTTP (no key)

curl -X POST https://computefirst.net/v1/tools/csv-filter-compare/versions/1.0.0/execute \
  -H "Content-Type: application/json" \
  -d '{"csv":"name,score\r\nAda,10\r\nBob,2","column":"score","operator":">=","literal":"10","comparison":"decimal"}'

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

CLI

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

Get the client at /clients/cli/.