dathere/qsv
Blazing-fast, Neuro-symbolic Data-Wrangling toolkit
What it solves
qsv is a command-line toolkit for working with tabular data — CSV, TSV, JSONL, Parquet, spreadsheets, and more. Instead of juggling several different tools or writing slow scripts, you get one fast program with dozens of small, composable commands for querying, slicing, sorting, cleaning, filtering, joining, analyzing, validating, geocoding, converting, and documenting tabular files. It also blends traditional data processing with AI: some commands can call an LLM (local or cloud, any OpenAI-compatible API) to summarize columns, generate data dictionaries, or answer questions about a dataset — what the project calls "neuro-symbolic" data wrangling.
How it works
qsv is written in Rust and ships as a single executable with many subcommands (like count, join, stats, dedup, geocode, describegpt, and more). Each command does one job well, and you can chain them together with pipes to build pipelines. It is built for speed: it can create an index file for a CSV that makes operations like counting, sampling, and slicing effectively instantaneous, and it uses multithreading and memory-mapped files for heavy tasks. For AI features, it sends prompts (templated with MiniJinja) to an OpenAI-compatible API and can produce structured outputs like JSON Schema or Markdown data dictionaries. It also offers a web playground at qsv.dathere.com, an MCP server, and a Cowork plugin so AI assistants can use it directly.
Who it's for
Data analysts, data engineers, scientists, and developers who regularly handle tabular data files and want a fast, scriptable, Unix-style toolkit. It's especially useful for people who need to process very large files (hundreds of millions of rows), who want to combine traditional data cleaning with LLM-powered documentation and Q&A, or who need geocoding and spatial conversions built into their data pipeline.
Highlights
- Blazing fast: counts a 15 GB, 28-million-row dataset in ~12 seconds (instant with an index); diffs two 1-million-row CSVs in under 600 ms.
- Dozens of composable commands: from basic slicing and sorting to joins, pivots, frequency tables, deduplication, and 70+ extra statistical measures.
- Neuro-symbolic AI: LLM-powered commands generate data dictionaries, descriptions, and answers to natural-language questions about your data, with deterministic SQL-RAG results.
- Built-in geocoding: offline geocoding against local Geonames and Maxmind databases (up to 360,000 records/sec), plus online geocoders for NYC and US Census data.
- Handles huge files: external sorting and on-disk deduplication for arbitrarily large datasets that don't fit in memory.
- Broad format support: CSV/TSV/SSV, JSONL, Parquet, Arrow, Avro, Excel/ODS, and more.
- Try it online: a live playground at qsv.dathere.com, plus an MCP server and Cowork plugin for AI assistants.
Related
- Project
- Project
- Project
- Project
- Dispatch