csvkit
CLIA suite of utilities for converting and working with CSV files.
Inspect, filter, join, and query CSV files from the command line
Recipes
Curated from documentation and usage. Percentages are estimates, not measurements.
Get stats on a CSV file
csvstat data.csvCut specific columns
csvcut -c name,age data.csvQuery CSV with SQL
csvsql --query 'SELECT name FROM data WHERE age > 30' data.csvInstall
pip
pip install csvkitAgent notes
- When to use
- Working with CSV data without loading into a full database
- Quick examples
csvstat data.csvcsvsql --query 'SELECT name FROM data WHERE age > 30' data.csvcsvcut -c name,age data.csv
Use from an agent
curl -s https://clihub.com/api/tools/csvkit | jq '.agentHints.provenRecipes[] | {task, command, verified}'Or call get_tool with slug csvkit on the MCP server at https://clihub.com/mcp.