Directory Compare FCRS-1.0 /llms.txt
← Back to Directory

dsq

$ dsq Community Low Risk
Multiprocess Labs · Database & Data · Apache-2.0 · macos / linux / windows

dsq imports JSON, NDJSON, CSV, TSV, Parquet, and Excel files into SQLite under the hood, letting agents run standard SQL (SELECT ... FROM {}) and get JSON results back on stdout in one command.

FCRS-1.0 Score
87 /100
Good
Medium Confidence
Zero-Friction Install
brew install dsq
CLI vs MCP Decision CLI Only

Executes SQLite queries on local files and emits JSON directly (dsq data.json "SELECT ... FROM {}"), replacing ad-hoc Python scripts.

Agent-Readiness Checklist

✓ JSON Output
✓ Field Filtering
✓ Non-Interactive
— Dry-Run
— Read-Only Mode
— NO_COLOR Clean
✓ Self-Describing
— Official SKILL.md

Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.

FCRS-1.0 6-Dimension Breakdown

Agent-Readiness 22 / 25

Outputs compact JSON arrays by default, supports --schema, --pretty, -s for stdin, and non-interactive one-shot queries.

  • JSON array stdout by default
  • Supports --schema and -s stdin format flag
Trust & Safety 23 / 25

Executes read-only queries against ephemeral SQLite tables unless -C (--cache) persists local cache files.

  • Ephemeral SQLite import by default; read-only queries
Setup & Portability 14 / 15

Distributed as a Go binary via Homebrew and GitHub Releases across macOS, Linux, and Windows.

  • Available via brew install dsq
Utility & Efficiency 13 / 15

Unifies SQLite SQL querying across JSON, CSV, Parquet, and Excel using {} table shorthand.

  • Multi-format SQL querying with {} / {0} placeholders
Maintenance & Lineage 7 / 10

Apache-2.0 project from Multiprocess Labs, though release cadence has slowed compared to duckdb.

  • multiprocessio/dsq under Apache-2.0
Docs & Verifiability 8 / 10

Clear README examples and --help covering joins, stdin, and caching flags.

  • Documented flags and multi-file join examples in README

Security, Auth & Guardrails

Auth Modes
No Auth
Credential Storage

None; optionally caches imported SQLite tables locally when -C (--cache) is passed.

Side Effects
Read-Only Local Write
Cost & Quotas

Apache-2.0 open-source CLI; completely free.

Copyable Guardrail for CLAUDE.md / AGENTS.md
# dsq Agent Rules
- Always include `LIMIT` in exploratory `SELECT` queries so large tables do not overflow stdout.
- Pass `-s <ext>` (e.g. `-s csv`) when piping data via stdin.

Agent-Ready Command Recipes

Safe Read-Only Queries

Aggregate counts from a JSON or CSV file
dsq data.json "SELECT status, count(*) AS cnt FROM {} GROUP BY status"

Queries data.json using SQLite SQL and returns grouped counts as a JSON array.

Inspect inferred table schema
dsq --schema data.csv

Prints the inferred column names and types without scanning rows into context.

Strengths for Agents

  • + Zero-ceremony dsq file.json "SELECT ... FROM {}" syntax returns JSON immediately.
  • + --schema lets agents inspect column names before running queries.
  • + Supports multi-file SQL joins ({0}, {1}) across mixed formats.

Caveats & Pitfalls

  • ! Slower and less actively developed than duckdb on large Parquet/analytical datasets.
  • ! Passing -i (--interactive) starts a REPL—avoid in automated agent runs.

Tested Agent Hosts

Claude Code Codex CLI Gemini CLI