{"schemaVersion":"opencli.cli.v1","slug":"duckdb","name":"DuckDB CLI","shortName":"duckdb","binaryName":"duckdb","maker":{"slug":"duckdb","name":"DuckDB","type":"small-team","url":"https://duckdb.org","officialPlatformMaker":false,"featuredBuilder":false},"category":"Data","description":"Local analytics, sql, and csv/parquet queries from the terminal. Built by DuckDB. Supports structured output — good for scripts and agents. Runs entirely on your machine.","tagline":"Local analytics, sql, and csv/parquet queries from the terminal.","install":{"packageManager":"brew","command":"brew install duckdb","packageName":null,"npmPackage":null,"brewFormula":"duckdb","brewCask":null,"crateName":null,"pypiPackage":null,"goPackage":null,"dockerImage":null},"verify":{"command":"duckdb -c \"select 1\"","signal":"DuckDB executes a local SQL query."},"quickStart":"duckdb ':memory:' 'select 42'","exampleWorkflow":["duckdb ':memory:' 'select 42'"],"agent":{"readiness":{"label":"Great for agents","score":85,"reasons":["Structured output is available for parsing.","Supports non-interactive/scripted use.","Works well in CI or repeatable automation.","Can run locally with less credential exposure."],"guardrails":["Start read-only, then ask before mutations."]},"packUrl":"https://opencli.co/cli/duckdb/agent.md","packMarkdown":"# OpenCLI Agent Pack: DuckDB CLI\n\nUse this when an AI agent needs to work with `duckdb`.\n\n## What this CLI is for\nLocal analytics, sql, and csv/parquet queries from the terminal. Built by DuckDB. Supports structured output — good for scripts and agents. Runs entirely on your machine.\n\nBest for: local analytics, sql, and csv/parquet queries from the terminal.\n\n## Agent readiness\nGreat for agents (85/100)\n- Structured output is available for parsing.\n- Supports non-interactive/scripted use.\n- Works well in CI or repeatable automation.\n- Can run locally with less credential exposure.\n\n## Install\n```sh\nbrew install duckdb\n```\n\n## Verify before real work\n```sh\nduckdb -c \"select 1\"\n```\nExpected signal: DuckDB executes a local SQL query.\n\n## Safe starting commands\n```sh\nduckdb -c \"select 1\"\n```\n\n```sh\nduckdb ':memory:' 'select 42'\n```\n\n## Guardrails for agents\n- Start read-only, then ask before mutations.\n\n## Suggested agent instruction\nYou may use DuckDB CLI (`duckdb`) for local analytics, sql, and csv/parquet queries from the terminal.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.\n\nSource: OpenCLI\n"},"fit":{"bestFor":"local analytics, sql, and csv/parquet queries from the terminal.","useThisIf":"You want data processing that runs entirely on your machine.","skipIf":"You don't work with data processing.","whatHappensNext":"Run `duckdb ':memory:' 'select 42'` and see what comes back."},"capabilities":{"agentFriendly":true,"supportsJsonOutput":true,"supportsNonInteractive":true,"supportsDryRun":false,"requiresAuth":false,"requiresNetwork":false,"ciFriendly":true,"localFirst":true,"destructivePotential":"medium"},"taxonomy":{"useCases":["Local analytics","SQL","CSV/Parquet queries"],"aliases":["analytics sql"],"keywords":["parquet csv local analytics"],"tags":["builder","agent-friendly","local-first"]},"links":{"website":"https://duckdb.org","github":"https://github.com/duckdb/duckdb","docs":"https://duckdb.org/docs/stable/clients/cli/overview","opencli":"https://opencli.co/cli/duckdb","markdown":"https://opencli.co/cli/duckdb/agent.md","json":"https://opencli.co/cli/duckdb.json"},"metrics":{"githubStars":38678,"latestRelease":"2026-06-08T08:51:42Z","license":"MIT","metricLabel":"Homebrew installs (30d)","metricValue":5477,"metricSource":"homebrew","metricAsOf":"2026-06-08T11:00:49.239Z"}}