Lightweight GPL-3.0 desktop database client (PostgreSQL / MySQL / SQLite / Redis). Built with Tauri + Rust, under 10MB.
66
stars
2,011
commits
TypeScript
primary language
Sep 7, 2026
updated
Natural-language SQL · Query analysis · Charts · Workflows · MCP · Extensible drivers
Download · Website · 中文 · Contributing

DataZen is a desktop database client built with Tauri + Rust. It combines the everyday database tools developers expect with AI-assisted querying, visual analysis, automation, and a compile-time driver architecture.
.key file for unsigned/dev builds). Theme packs can customize DataTable type colors via --dt-* CSS tokens.Write and run SQL in a modern editor, inspect results, browse tables, and move between query results and visualizations without leaving DataZen.

DataZen puts AI next to the database instead of making you copy schema and errors into another application.

Natural language → SQL
Describe what you need and DataZen uses the current database schema as context to generate executable SQL. Generated SQL can be executed immediately or inserted into the editor for further editing.

SQL error diagnosis
When a query fails, AI can combine the database error and schema context to explain the problem and propose corrected SQL.

EXPLAIN analysis
Visualize execution plans and use AI to identify bottlenecks, scan strategies, and optimization opportunities.

Database-aware AI Chat
The AI sidebar can work with the current connection's schema and turn SQL from the conversation into editor-ready code.
Supported AI integrations include OpenAI, Anthropic, DeepSeek, and compatible custom endpoints.
You should not need to export data to Excel just to understand it. DataZen can infer useful chart configurations from query results and switch between table and chart views.

Supported visualizations include line, bar, pie, scatter, and area charts, with aggregation, grouping, and PNG/SVG export.

DataZen Workflows describe reusable database operations in YAML. A workflow can combine queries, AI steps, conditions, and loops, with each step connected to the database it needs.

For example, one workflow can query orders from PostgreSQL, fetch logistics from MySQL, and let AI summarize the combined result.

Workflows can be started from the UI, the AI sidebar, MCP, or generated with AI.

DataZen works both as an MCP Server and an MCP Client.
Expose database operations, schema inspection, EXPLAIN, and workflows to external AI agents. DataZen also provides a headless stdio mode for automation and agent integrations.
Connect external MCP servers to DataZen AI Chat and bring additional tools and context into database conversations.
mcp/{serverId}/{toolName} alongside built-in database tools.This makes DataZen useful not only as a GUI, but also as a database tool inside larger AI-assisted development workflows.
DataZen separates the application from database-specific implementation through the DataZen Driver API.
DataZen
│
┌─────────────┴─────────────┐
│ DataZen Core │
│ UI · Query · AI · MCP │
└─────────────┬─────────────┘
│
DataZen Driver API
│
┌─────────────────┼─────────────────┐
│ │ │
PostgreSQL MySQL External drivers
│
┌────────────┼────────────┐
│ │ │
MongoDB ClickHouse OLAP...
Drivers are compiled into DataZen rather than loaded through an unstable Rust dynamic-library ABI. This allows a driver to provide both Rust database functionality and frontend UI while still remaining in its own repository.
A driver can be developed in an independent repository next to a local DataZen checkout:
workspace/
├── datazen/
└── datazen-driver-mydb/
During development, DataZen's driver registry can point to the local repository with source: "path". The DataZen application is then built with the selected driver, giving plugin developers a real host for both backend and frontend debugging.
The Driver API itself is maintained in packages/driver-api and published as the MIT-licensed datazen-driver-api crate. Independent drivers normally consume the published crate and do not need to clone DataZen just to obtain the API.
See the complete guides:
DataZen ships with a small default set and can be built with additional drivers.
| Database | Default / optional | Notes |
|---|---|---|
| PostgreSQL | Default | SQL, schema browser, EXPLAIN, AI context |
| MySQL / MariaDB | Default | SQL, schema browser, EXPLAIN |
| SQLite | Default | Embedded database workflow |
| Redis | Default | Key browser, command console, monitoring, Pub/Sub |
| MongoDB | Optional | Native driver |
| ClickHouse | Optional | Native driver |
| DuckDB | Optional | Native driver |
| SQL Server | Optional | Native driver |
| Presto / Trino and other OLAP engines | Plugin | External driver architecture |
The exact driver set is controlled at build time, so a distribution does not have to ship every database engine.
Download the latest release from GitHub Releases.
| Platform | Package |
|---|---|
| macOS Apple Silicon | .dmg |
| macOS Intel | .dmg |
| Windows | .exe / .msi |
| Linux x86_64 | .deb / .rpm / .AppImage |
DataZen is free and does not require an account.
macOS Gatekeeper: If the app is blocked as damaged or from an unidentified developer, clear quarantine: xattr -cr /Applications/DataZen.app, or right-click → Open once. See packaging.md for details and the notarization checklist.
Optional drivers (MongoDB, ClickHouse, DuckDB, SQL Server, …) are compile-time selections — see optional-drivers.md.
pnpm install
pnpm tauri dev
Build only the drivers you need:
# Default driver set
pnpm tauri:build
# All supported path drivers
DATAZEN_DRIVERS=all pnpm tauri:build
# Custom driver set
DATAZEN_DRIVERS=postgres,mongodb pnpm tauri:build
DataZen is designed around local database access:
Always review the privacy and security policies of the AI provider and endpoint you configure.
DataZen welcomes bug reports, feature requests, database drivers, documentation improvements, and code contributions.
Please read CONTRIBUTING.md before opening a pull request. Driver work should generally be developed in an independent driver repository and integrated through the DataZen driver registry.
DataZen is licensed under the GNU General Public License v3.0. The datazen-driver-api crate under packages/driver-api is separately licensed under the MIT License. See LICENSE and packages/driver-api/LICENSE-MIT.
DataZen — let AI handle the database work, and turn data into insight.
2,011 commits
TypeScript
58.5%
Rust
35.9%
HTML
2.5%
JavaScript
1.9%
Lightweight GPL-3.0 desktop database client (PostgreSQL / MySQL / SQLite / Redis). Built with Tauri + Rust, under 10MB.
66
stars
2,011
commits
TypeScript
primary language
Sep 7, 2026
updated
Natural-language SQL · Query analysis · Charts · Workflows · MCP · Extensible drivers
Download · Website · 中文 · Contributing

DataZen is a desktop database client built with Tauri + Rust. It combines the everyday database tools developers expect with AI-assisted querying, visual analysis, automation, and a compile-time driver architecture.
.key file for unsigned/dev builds). Theme packs can customize DataTable type colors via --dt-* CSS tokens.Write and run SQL in a modern editor, inspect results, browse tables, and move between query results and visualizations without leaving DataZen.

DataZen puts AI next to the database instead of making you copy schema and errors into another application.

Natural language → SQL
Describe what you need and DataZen uses the current database schema as context to generate executable SQL. Generated SQL can be executed immediately or inserted into the editor for further editing.

SQL error diagnosis
When a query fails, AI can combine the database error and schema context to explain the problem and propose corrected SQL.

EXPLAIN analysis
Visualize execution plans and use AI to identify bottlenecks, scan strategies, and optimization opportunities.

Database-aware AI Chat
The AI sidebar can work with the current connection's schema and turn SQL from the conversation into editor-ready code.
Supported AI integrations include OpenAI, Anthropic, DeepSeek, and compatible custom endpoints.
You should not need to export data to Excel just to understand it. DataZen can infer useful chart configurations from query results and switch between table and chart views.

Supported visualizations include line, bar, pie, scatter, and area charts, with aggregation, grouping, and PNG/SVG export.

DataZen Workflows describe reusable database operations in YAML. A workflow can combine queries, AI steps, conditions, and loops, with each step connected to the database it needs.

For example, one workflow can query orders from PostgreSQL, fetch logistics from MySQL, and let AI summarize the combined result.

Workflows can be started from the UI, the AI sidebar, MCP, or generated with AI.

DataZen works both as an MCP Server and an MCP Client.
Expose database operations, schema inspection, EXPLAIN, and workflows to external AI agents. DataZen also provides a headless stdio mode for automation and agent integrations.
Connect external MCP servers to DataZen AI Chat and bring additional tools and context into database conversations.
mcp/{serverId}/{toolName} alongside built-in database tools.This makes DataZen useful not only as a GUI, but also as a database tool inside larger AI-assisted development workflows.
DataZen separates the application from database-specific implementation through the DataZen Driver API.
DataZen
│
┌─────────────┴─────────────┐
│ DataZen Core │
│ UI · Query · AI · MCP │
└─────────────┬─────────────┘
│
DataZen Driver API
│
┌─────────────────┼─────────────────┐
│ │ │
PostgreSQL MySQL External drivers
│
┌────────────┼────────────┐
│ │ │
MongoDB ClickHouse OLAP...
Drivers are compiled into DataZen rather than loaded through an unstable Rust dynamic-library ABI. This allows a driver to provide both Rust database functionality and frontend UI while still remaining in its own repository.
A driver can be developed in an independent repository next to a local DataZen checkout:
workspace/
├── datazen/
└── datazen-driver-mydb/
During development, DataZen's driver registry can point to the local repository with source: "path". The DataZen application is then built with the selected driver, giving plugin developers a real host for both backend and frontend debugging.
The Driver API itself is maintained in packages/driver-api and published as the MIT-licensed datazen-driver-api crate. Independent drivers normally consume the published crate and do not need to clone DataZen just to obtain the API.
See the complete guides:
DataZen ships with a small default set and can be built with additional drivers.
| Database | Default / optional | Notes |
|---|---|---|
| PostgreSQL | Default | SQL, schema browser, EXPLAIN, AI context |
| MySQL / MariaDB | Default | SQL, schema browser, EXPLAIN |
| SQLite | Default | Embedded database workflow |
| Redis | Default | Key browser, command console, monitoring, Pub/Sub |
| MongoDB | Optional | Native driver |
| ClickHouse | Optional | Native driver |
| DuckDB | Optional | Native driver |
| SQL Server | Optional | Native driver |
| Presto / Trino and other OLAP engines | Plugin | External driver architecture |
The exact driver set is controlled at build time, so a distribution does not have to ship every database engine.
Download the latest release from GitHub Releases.
| Platform | Package |
|---|---|
| macOS Apple Silicon | .dmg |
| macOS Intel | .dmg |
| Windows | .exe / .msi |
| Linux x86_64 | .deb / .rpm / .AppImage |
DataZen is free and does not require an account.
macOS Gatekeeper: If the app is blocked as damaged or from an unidentified developer, clear quarantine: xattr -cr /Applications/DataZen.app, or right-click → Open once. See packaging.md for details and the notarization checklist.
Optional drivers (MongoDB, ClickHouse, DuckDB, SQL Server, …) are compile-time selections — see optional-drivers.md.
pnpm install
pnpm tauri dev
Build only the drivers you need:
# Default driver set
pnpm tauri:build
# All supported path drivers
DATAZEN_DRIVERS=all pnpm tauri:build
# Custom driver set
DATAZEN_DRIVERS=postgres,mongodb pnpm tauri:build
DataZen is designed around local database access:
Always review the privacy and security policies of the AI provider and endpoint you configure.
DataZen welcomes bug reports, feature requests, database drivers, documentation improvements, and code contributions.
Please read CONTRIBUTING.md before opening a pull request. Driver work should generally be developed in an independent driver repository and integrated through the DataZen driver registry.
DataZen is licensed under the GNU General Public License v3.0. The datazen-driver-api crate under packages/driver-api is separately licensed under the MIT License. See LICENSE and packages/driver-api/LICENSE-MIT.
DataZen — let AI handle the database work, and turn data into insight.
2,011 commits
TypeScript
58.5%
Rust
35.9%
HTML
2.5%
JavaScript
1.9%