Chat2DB: An AI-powered database client and SQL workspace for developers, DBAs, analysts, and data teams (28.3k stars)
What it does
All text below is quoted directly from the project README.
>Chat2DB Community is a free, cross-platform database client for Windows, macOS, and Linux. It runs entirely on your machine and combines a full-featured SQL workspace with an AI assistant that you connect to your own model.
What is Chat2DB?
- 40+ databases: MySQL, PostgreSQL, Oracle, SQL Server, ClickHouse, MongoDB, Redis, SQLite, MariaDB, TiDB, Hive, DB2, Snowflake, BigQuery, Elasticsearch, Trino, TimescaleDB, Greenplum, YugabyteDB, CrateDB, QuestDB, Apache IoTDB, Firebird, HSQLDB, Apache Derby, and more via plugins: new JDBC databases can be added through configuration only, without code changes.
- SQL workspace: editing, completion, formatting, execution, saved SQL, and execution history.
- AI assistant: bring your own AI model to generate, explain, and optimize SQL in natural language.
- Database management: browse metadata, manage tables and objects (DDL/DML), and edit data in place.
- Data import and export, dashboards and charts, and an open-source CLI with MCP support.
Quick Start
>Download the installer for your platform from GitHub Releases, install it, and start connecting to your databases. No further setup is required.
Security Notes
>Chat2DB Community is a single-user, local-first application. It has no user accounts or authorization boundaries between users. Keep the HTTP service bound to 127.0.0.1 or ::1 and do not expose it to other users or untrusted networks.
Repository
OtterMind/Chat2DB
Repository stats
|Metric|Value|
|:-|:-|
|Stars|28,309|
|Forks|3,049|
|Last release|v5.3.8 (2026-10-09)|
|Languages|Java 57%, TypeScript 30%, ANTLR 7.1%|
|Contributors|58|
|AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude (156 commits)|
|AI co-authored commits|Claude: 156|
Main contributor
|Field|Value|
|:-|:-|
|Name|贺喜|
|GitHub|@shanhexi|
|Commits to this repo|833 (top contributor)|
|Followers|53|
|Public repos|13|
|On GitHub since|2021-07-05|
-------------------------------------------------------------------------------------------
Discover the best GitHub repos without the endless scrolling.
Get top repos organized by category (AI, DevOps, Databases & more), plus key takeaways from developers' most useful comments - all in one free, twice-weekly newsletter.
👉 Get the best repos & community insights - Free
8 points
Mentions
Chat2DB: An AI-powered database client and SQL workspace for developers, DBAs, analysts, and data teams (28.3k stars) What it does All text below is quoted directly from the project README. >Chat2DB Community is a free, cross-platform database client for Windows, macOS, and Linux. It runs entirely on your machine and combines a full-featured SQL workspace with an AI assistant that you connect to your own model. What is Chat2DB? - 40+ databases: MySQL, PostgreSQL, Oracle, SQL Server, ClickHouse, MongoDB, Redis, SQLite, MariaDB, TiDB, Hive, DB2, Snowflake, BigQuery, Elasticsearch, Trino, TimescaleDB, Greenplum, YugabyteDB, CrateDB, QuestDB, Apache IoTDB, Firebird, HSQLDB, Apache Derby, and more via plugins: new JDBC databases can be added through configuration only, without code changes. - SQL workspace: editing, completion, formatting, execution, saved SQL, and execution history. - AI assistant: bring your own AI model to generate, explain, and optimize SQL in natural language. - Database management: browse metadata, manage tables and objects (DDL/DML), and edit data in place. - Data import and export, dashboards and charts, and an open-source CLI with MCP support. Quick Start >Download the installer for your platform from GitHub Releases, install it, and start connecting to your databases. No further setup is required. Security Notes >Chat2DB Community is a single-user, local-first application. It has no user accounts or authorization boundaries between users. Keep the HTTP service bound to 127.0.0.1 or ::1 and do not expose it to other users or untrusted networks. Repository OtterMind/Chat2DB Repository stats |Metric|Value| |:-|:-| |Stars|28,309| |Forks|3,049| |Last release|v5.3.8 (2026-10-09)| |Languages|Java 57%, TypeScript 30%, ANTLR 7.1%| |Contributors|58| |AI contributor accounts (Claude / Codex / Cursor / Copilot)|claude (156 commits)| |AI co-authored commits|Claude: 156| Main contributor |Field|Value| |:-|:-| |Name|贺喜| |GitHub|@shanhexi| |Commits to this repo|833 (top contributor)| |Followers|53| |Public repos|13| |On GitHub since|2021-07-05| ------------------------------------------------------------------------------------------- Discover the best GitHub repos without the endless scrolling. Get top repos organized by category (AI, DevOps, Databases & more), plus key takeaways from developers' most useful comments - all in one free, twice-weekly newsletter. 👉 Get the best repos & community insights - Free