About Qsv
Qsv is an MCP server published by dathere in the Agents category: blazing-fast, Neuro-symbolic Data-Wrangling toolkit. Conduid read 10 tools from its source: qsv_browse_directory, qsv_command, qsv_config, qsv_get_working_dir, qsv_list_files, qsv_log and 4 more. No package is published for it, so it installs from a source checkout.
The repository has 3.9K stars and 119 forks, and its last commit was on 1 Dec 2026. The latest release is 29.0.0 (15 Nov 2026): 🛡️ The "Trust the numbers" Release ✅ ~104 commits since 28.0.0, and the theme is correctness. It follows 28.0.0 (2 Nov 2026), and the 5 most recent releases go back to 25.0.0 (14 Oct 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include ckan, csv, data-engineering, data-wrangling, dcat and excel.
Install
git clone https://github.com/dathere/qsvTools (10)
qsv_browse_directoryBrowse a directory's contents for the directory picker App. Returns subdirectories with tabular file counts.| Parameter | Type | Description |
|---|---|---|
| directory | string | Absolute path to browse. Defaults to the current working directory. |
qsv_commandExecute any qsv command not exposed as a dedicated tool (${remainingCommands} additional commands available). Common commands via this tool: join, sort, dedup, rename, validate, sample, template, diff, schema, and 30+ more. ❓ HELP: For any command details, use options={"--help": true}. Example: command="sort", options={"--help": true}| Parameter | Type | Description |
|---|---|---|
| args | object | Command arguments as key-value pairs |
| command * | string | The qsv command to execute (e.g., "sort", "sample", "partition") |
| input_file | string | Path to input CSV file (absolute or relative) |
| options | object | Command options as key-value pairs |
| output_file | string | Path to output CSV file (optional). For large results or data transformation commands, a temp file is automatically used if omitted. |
qsv_configDisplay current qsv configuration (binary path, version, working directory, etc.)qsv_get_working_dirGet the current working directory path. 💡 USE WHEN: - Confirming where files will be read from/written to - User asks "where am I working?" or "what's my current directory?" - Debugging file path issues - Verifying working directory before operations 📍 RETURNS: Absolute path to current working directory. 💡 TIP: Call this after qsv_set_working_dir to confirm the change succeeded.qsv_list_filesList tabular data files in a directory for browsing and discovery. 💡 USE WHEN: - User asks "what files do I have?" or "what's in my Downloads folder?" - Starting a session and need to discover available datasets - User mentions a directory but not a specific file - Verifying files exist before processing 🔍 SHOWS: File name, size, format type, last modified date. 📂 SUPPORTED FORMATS: - **Native CSV**: .csv, .tsv, .tab, .ssv (and .sz snappy-compressed) - **Excel** (auto-converts): .xls, .xlsx, .xlsm, .xlsb, .ods - **JSONL** (auto-converts): .jsonl, .ndjson 🚀 WORKFLOW: Always list files first when user mentions a directory. This helps you: 1. See what files are available 2. Get exact file names (avoid typos) 3. Check file sizes (prepare for large files) 4. Identify file formats (know if conversion needed) 💡 TIP: Use non-recursive (default) for faster listing, recursive when searching subdirectories.| Parameter | Type | Description |
|---|---|---|
| directory | string | Directory path (absolute or relative to working directory). Omit to use current working directory. |
| recursive | boolean | Scan subdirectories recursively (default: false). Enable for deep directory searches. May be slow for large directory trees. |
qsv_logWrite a structured entry to the qsv audit log (qsvmcp.log) for reproducibility. 💡 USE WHEN: - Recording key reasoning or decisions that led to a particular tool choice - Summarizing results after a workflow completes - Adding free-form annotations to the audit log 📋 COMMON PATTERN: 1. Log "agent_reasoning" before complex decisions (e.g., choosing joinp over join) 2. Log "result_summary" after completing a workflow 📝 ENTRY TYPES: - agent_reasoning — Why you chose a particular approach - agent_action — A significant action taken (beyond automatic audit logging) - result_summary — Outcome of a completed workflow - note — Free-form annotation ⚠️ CAUTION: Keep messages concise. Max ${MAX_LOG_MESSAGE_LEN} chars (longer messages are truncated and suffixed with "…"). Newlines are collapsed to spaces. Logging never fails the workflow.| Parameter | Type | Description |
|---|---|---|
| entry_type * | string | Category of log entry. |
| message * | string | The log message content. |
qsv_search_toolsSearch for qsv tools by keyword, category, or use case. 💡 USE WHEN: - Looking for the right qsv command for a specific task - Discovering available commands by category (filtering, transformation, etc.) - Finding commands by capability (regex, SQL, joins, etc.) 🔍 SEARCH MODES: - **Keyword**: Matches tool names, descriptions, and examples - **Category**: Filter by category (selection, filtering, transformation, aggregation, joining, validation, formatting, conversion, documentation, utility) - **Regex**: Use regex patterns for advanced matching 📋 RETURNS: List of matching tools with names and descriptions, suitable for tool discovery.| Parameter | Type | Description |
|---|---|---|
| category | string | Filter by category: selection, filtering, transformation, aggregation, joining, validation, formatting, conversion, documentation, utility |
| limit | number | Maximum number of results to return (default: 5, max: 20) |
| query * | string | Search query - keyword, regex pattern, or natural language description. Examples: "join", "duplicate", "SQL", "/sort|order/", "remove columns" |
qsv_set_working_dirChange the working directory for all subsequent file operations. 💡 USE WHEN: - User says "work with files in my Downloads folder" - Switching between different data directories - User provides directory path without specific file - Setting up environment for multiple file operations ⚙️ BEHAVIOR: - All relative file paths resolved from this directory - Affects: qsv_list_files, all qsv commands with input_file - Persists for entire session (until changed again) - Validates directory exists and is accessible - Pass "auto" as directory to re-enable automatic root-based sync 🔒 SECURITY: Only allowed directories can be set (configured in server settings). 💡 TIP: Set working directory once at session start, then use simple filenames like "data.csv" instead of full paths. Call without arguments to show an interactive directory picker (when supported by the MCP client).| Parameter | Type | Description |
|---|---|---|
| directory | string | New working directory path (absolute or relative). Must be within allowed directories for security. Omit to show an interactive directory picker. |
qsv_setupInstall the qsv data-wrangling toolkit on this machine.On this platform, installation uses: ${platformHint}.Call this tool with confirm=true to proceed with installation.| Parameter | Type | Description |
|---|---|---|
| confirm * | boolean | Must be true to proceed with installation. This ensures the user explicitly approves the install action. |
qsv_to_parquetConvert CSV to Parquet format with guaranteed data type inference. 💡 USE WHEN: CSV file is >10MB and needs SQL queries. Convert once with same file stem in working directory, then query the Parquet file. Prefer DuckDB if available; otherwise use sqlp with SKIP_INPUT and read_parquet('file.parquet'). 📋 AUTO-OPTIMIZATION: Runs stats with --infer-dates --dates-whitelist sniff for automatic Date/DateTime detection. Generates Polars schema for correct data types (integers, floats, dates, booleans). 📋 COMMON PATTERN: Convert once, query many times with DuckDB or sqlp SKIP_INPUT + read_parquet(). Parquet is for sqlp/DuckDB ONLY. Keep CSV/TSV/SSV for all other qsv commands. ⚠️ IMPORTANT: Parquet files work ONLY with sqlp and DuckDB. All other qsv commands (including joinp and pivotp) require CSV/TSV/SSV input.| Parameter | Type | Description |
|---|---|---|
| input_file * | string | Path to input CSV file to convert |
| output_file | string | Path for output Parquet file (optional - defaults to input_file.parquet in same directory) |
Security checks
Static checks derived from the repository 6 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 9.2K words.
- ✓License declaredUsable under a stated license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by Cargo.lock and 2 more.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 9.2K words, fetched 6 days ago. The original in the repository is authoritative.
Read full README