This is an early release preview. You may encounter bugs.
Chat2DB logo
Unclaimed

Tool coding interface

Chat2DB

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.

A 85/100 GitHub score ? This grade is derived from GitHub signals, not user votes. Open for the full breakdown.
Discussion

01 / Summary

About Chat2DB.

Chat2DB Community is a cross-platform database client for Windows, macOS, and Linux that pairs a SQL workspace with an AI assistant. It runs on your machine, and the assistant uses an AI model you connect yourself to generate, explain, and optimize SQL from natural-language requests. It is aimed at developers, database administrators, analysts, and data teams.

It connects to more than 40 relational and non-relational databases, including MySQL, PostgreSQL, Oracle, SQL Server, ClickHouse, MongoDB, Redis, SQLite, Snowflake, BigQuery, Elasticsearch, and Trino. Further databases come through plugins, and a new JDBC database can be added through configuration without code changes.

The workspace covers SQL editing with completion, formatting, execution, saved queries, and history. Database management includes browsing metadata, managing tables and other objects, editing data in place, and ER diagrams. It also imports and exports data and builds dashboards and charts. A separate open-source CLI adds MCP support.

Chat2DB Community is a single-user, local-first application with no user accounts, distributed as a desktop app or a Docker image that serves a browser UI. It encrypts stored datasource passwords and AI model API keys with AES-256-GCM under a per-installation key. An early-preview release adds an optional local agent runtime, Pi Agent, with skills, external MCP servers, and file and terminal tools. Commercial Pro and Enterprise editions add hosted AI services, accounts, sync, and team features.

  • 40+ databases: MySQL, PostgreSQL, Oracle, SQL Server, ClickHouse, MongoDB, Redis, SQLite, Snowflake, BigQuery, and more
  • Configurable JDBC: adds new JDBC databases through configuration, without code changes
  • AI assistant: generates, explains, and optimizes SQL from natural language using a model you connect
  • SQL workspace: editing, completion, formatting, execution, saved SQL, and execution history
  • Database management: metadata browsing, DDL and DML on tables and objects, and in-place data editing
  • ER diagrams: visual schema diagrams for connected databases
  • Import and export: moves data in and out of connected databases
  • Dashboards and charts: builds visualizations from query results
  • Encrypted secrets: AES-256-GCM encryption for stored datasource passwords and AI API keys
  • Local agent runtime (preview): Pi Agent with skills, external MCP servers, and file and terminal tools
  • CLI with MCP: a separate open-source command-line client with MCP support

02 / Discussion CREDIBILITY-GATED

Discussion

Reading is open to everyone. Posting and voting need a verified identity or a GitHub grade of B or higher.

  • No discussions yet.

04 / Build

Build with Chat2DB.

Browse the catalog for frameworks, tools, and harnesses, each scored on real GitHub credibility.

Get Chat2DB →

Browse the catalog