DuckDB connector | Dex
DuckDB
An in-process analytical database. Point Dex at a local DuckDB file with zero credentials required.
Why connect DuckDB?
Connecting DuckDB means your team stops exporting it by hand and starts working with it directly inside Dex.
What you get
- Query live data in DuckDB without exporting it or standing up a new pipeline
- Keep dashboards and dbt models in sync with DuckDB instead of a stale nightly copy
- Give teams governed, self-serve access to DuckDB under the same RBAC and audit trail as everything else
How it works
Explore, transform, maintain: the Dex loop on DuckDB.
Point Dex at DuckDB
Install Dex in Claude Code by running the following commands:
$ /plugin marketplace add exmergo/exmergo-agent-plugins$ /plugin install dex@exmergo$ /dex:explore
Dex connects with your DuckDB credentials directly, so they, and your raw data, never enter the model's context.
Explore before touching anything
/dex:explore profiles the schema it finds in DuckDB and proposes what to model before writing a single line of dbt.
Author governed dbt models
/dex:transform writes and maintains the dbt models and tests that turn raw DuckDB data into trusted, reusable tables in your project.
Stay inside a cost guard
Dex enforces a cost guard on every query it runs against DuckDB, so exploration never turns into a surprise bill.
Catch drift automatically
/dex:maintain flags it when DuckDB's schema changes and proposes the fix, instead of letting your dbt project silently drift out of sync.
Other warehouses
Dex brings the same loop and the same guardrails to:
- BigQuery
- Snowflake
- Databricks
- Redshift
- ClickHouse
- PostgreSQL
- Trino
Need a connector we don't support yet?
Tell us about your data source and we'll let you know as soon as the connector is available.