qsv
$ qsv Community Low Riskqsv (forked and heavily expanded from xsv) packs 60+ composable commands for indexing, validating, joining, profiling (stats), querying (sqlp via Polars), and converting CSV/Parquet/JSON/Excel files at blazing speed.
brew install qsv qsv runs deterministic data profiling and SQL queries locally in milliseconds; dathere/qsv even ships a qsvmcp MCP Server flavor for MCP hosts.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Supports qsv json, --format json on sqlp, --capabilities self-inspection, and clean POSIX piping.
- Supports
qsv json,--capabilities, and--format json
Stream-oriented local tool that writes to stdout unless -o or split output flags are explicitly provided.
- Local read-only stdout default; explicit
-ooutput flag
Available via Homebrew, cargo, and prebuilt binaries, though binary flavors (qsv, qsvlite, qsvdp) vary in compiled features.
- Cross-platform Rust binary; multiple feature flavors (
qsv,qsvlite)
Massive 60+ command toolkit spanning profiling, JSON Schema validation, Polars SQL, and format conversion.
- 60+ high-speed tabular wrangling subcommands
Very actively maintained dathere/qsv repository under MIT license.
- Active
dathere/qsvrepository
Detailed command docs, cookbook, and --help for every subcommand.
- Official docs at qsv.dathere.com
Security, Auth & Guardrails
None; operates on local data files and stdin/stdout streams.
100% free and MIT open-source.
# qsv Agent Rules - Check `qsv --capabilities` first if relying on feature-gated commands like `sqlp` or `polars`. - Run `qsv headers` and `qsv stats` before dumping raw slices. - Pass `-o <output>` for transformed outputs rather than overwriting source files.
Agent-Ready Command Recipes
Safe Read-Only Queries
qsv stats data.csv --everything | qsv json
Generates detailed statistical profiles per column and serializes to JSON.
qsv sqlp data.csv "SELECT region, count(*) AS cnt FROM _t_1 GROUP BY 1" --format json
Executes fast Polars SQL against a CSV file and outputs JSON.
Controlled Writes & Previews
qsv validate data.csv schema.json --valid valid.csv --invalid invalid.csv
Splits valid and invalid CSV records cleanly into separate output files.
Strengths for Agents
- + 60+ composable commands handle profiling, Polars SQL, deduplication, and JSON Schema validation.
- +
qsv --capabilitieslets agents verify compiled features upfront. - + Multi-threaded Rust performance scales to multi-GB CSVs.
Caveats & Pitfalls
- ! Feature-gated commands (
sqlp,luau,python) depend on whichqsvbinary flavor is installed (qsvvsqsvlite).