>_

xsv

non-interactive

A fast CSV command line toolkit written in Rust.

How to install xsv

brew install xsv

xsv use case

Perform fast, composable CSV data processing tasks (indexing, slicing, analyzing, splitting, joining) from the command line.

When to use xsv

  • Need to quickly count rows, slice records, or flatten CSV data for inspection.
  • Want to concatenate multiple CSV files by row or column.
  • Require a lightweight, Rust-based CSV tool for scripting or pipeline operations.

When not to use xsv

  • If you need a maintained tool with active development (use qsv or xan instead).
  • For non-CSV data formats or complex data transformations requiring a full programming language.

xsv features

  • · cat - concatenate CSV files by row or column
  • · count - count rows (instantaneous with index)
  • · fixlengths - force uniform record lengths
  • · flatten - display records one at a time for easy viewing

Want your agent to find this automatically?

Add the MCP server to your agent config and it will discover tools like xsv on its own.

Set up MCP →

Similar tools to xsv