Chat2DB
A cross-platform database client and SQL workspace for over forty databases, with an AI assistant you point at your own model.
Open Source Alternative to:

Chat2DB Community is a database client that runs entirely on your own machine, aimed at developers, DBAs, analysts and data teams who work across more engines than any single vendor tool covers. Windows, macOS and Linux are all supported, and the AI assistance is optional, because you connect your own model.
Coverage is the headline. More than forty databases are supported, from MySQL, PostgreSQL, Oracle and SQL Server through ClickHouse, MongoDB, Redis, Snowflake, BigQuery, Elasticsearch and Trino, and a new JDBC database can be added through configuration alone, with no code changes.
Around that connection layer sits a working SQL environment.
- SQL workspace: editing, completion, formatting, execution, saved SQL and execution history.
- AI assistant: your own model generates, explains and optimizes SQL from natural language.
- Database management: browse metadata, manage tables and objects, and edit data in place.
- Dashboards and charts: query results turned into visualizations and ER diagrams inside the app.
- Import, export and CLI: data moves in and out, and a separate open source CLI adds MCP support.
Install the desktop build from releases, or run the Docker image, which serves a web interface on port 10825. Take the encryption key seriously, since stored datasource passwords and model API keys are encrypted with a per-installation key that must survive upgrades and rebuilds. The application is single-user with no authorization boundary, so keep it bound to loopback.
Stars
28,084Forks
3,028Last commit
5 days agoRepository age
3 yearsLicense
Apache-2.0Version
5.3.5Repository
OtterMind/Chat2DB
Auto-fetched from GitHub .
Open source alternatives similar to Chat2DB:
Stars
Forks
Last commit
Stars
Forks
Last commit
Stars
Forks
Last commit