Dory is a SQL workspace for querying, exploring, and visualizing data. Humans use it as a daily client; AI agents reach databases through MCP with work kept in editable tabs.
Overview
Dory is an AI-native SQL client aimed at both people and automation agents. It combines a multi-tab SQL editor, schema browsing, result grids, charts, and saved queries in one workspace. Agent-driven database work can appear as normal SQL tabs with results, filters, and context that people can open, review, edit, and continue.
Humans write SQL, browse schemas, run queries, filter results, build charts, and save queries. Agents connect through MCP to list connections, explore schemas, run read-only SQL, create tabs, and organize work. Unlike a plain database MCP server that only returns chat output, Dory keeps agent output in the same editable workspace the UI uses.
Dory supports many SQL engines, including ClickHouse with deeper operations views such as query monitoring, filtering, and cluster-level privilege management without hand-written GRANT statements. Schema explorer maps tables and relationships; result sets stay tied to the SQL that produced them. A schema-aware assistant can generate, rewrite, fix, and explain SQL using live schema and tab context.
You can install desktop builds on macOS and Windows, try a hosted web demo without an account, or self-host with Docker and Docker Compose using a bundled PostgreSQL database. A CLI package runs MCP servers over stdio or HTTP for tools such as Claude Code and Codex CLI. Desktop use can store connections, tabs, results, and saved queries locally on the device.
Key features
- Multi-tab SQL editor with multiple result sets
- Editable agent SQL workspaces via MCP
- Interactive schema graph explorer
- Result filters, charts, and saved queries
- Schema-aware AI SQL assistance
- Broad multi-database driver support
- ClickHouse monitoring and privilege tooling
- CLI and HTTP MCP for agents
Use cases
- Daily interactive SQL analysis
- Reviewing and fixing agent-written SQL
- ClickHouse operations and monitoring
- Shared saved queries across connections
- Headless agent database execution