dbx
A 25MB database client for 100+ databases — with a built-in AI assistant, MCP server and CLI
A local-first database client with AI SQL help — 40+ databases, desktop, web, Docker and CLI
Chat2DB is an open-source dev tools project by OtterMind (OtterMind/Chat2DB on GitHub). It has 28,306 GitHub stars and 3,046 forks, is released under the Apache-2.0 license, and was last updated on GitHub on 8 October 2026.
Decide what you want to achieve with Chat2DB and check the README on GitHub for requirements before installing.
Clone the repository from GitHub (or take the packaged install route in step 3 if the README offers one).
Follow the project's documented install commands — the Run section below lists the exact ones — and add any required API keys or models.
Work through the README's quickstart example end to end, then adapt it to your own project or data.
MySQL, PostgreSQL, Oracle, SQL Server, SQLite, MongoDB, Redis, ClickHouse and many more through JDBC.
Generate, explain and optimize queries using your own AI model configuration.
Runs locally/on your infrastructure with credentials encrypted at rest — no hosted account required.
Use whichever form factor fits, from a native app to a team web deployment.
Expose database access to MCP-compatible AI agents in a controlled way.
Data editing, SQL editing/execution and database management in one client.
Get the Chat2DB source and Docker files.
git clone https://github.com/OtterMind/Chat2DB.git
cd Chat2DBStart Chat2DB using the documented Docker options (desktop installers are also available from the project site).
docker compose --file docker/docker-compose.yml up --detachOpen the UI, add a connection to one of the 40+ supported databases, configure your AI model, and run your first generated query.
# add your database connection and model key in the Chat2DB UIChat2DB is maintained by the OtterMind organization/account on GitHub, together with open-source contributors, in the public repository OtterMind/Chat2DB.
Yes — the code is open source under the Apache-2.0 license. You can use, modify and redistribute it under that license's terms.
Chat2DB itself is free; the AI features use your own model — you configure your own LLM API key or compatible endpoint in the app.
DBeaver is a superb classic client; Chat2DB differentiates with built-in AI SQL generation/explanation, MCP support and a modern web/Docker deployment story.
Clone the repository from GitHub, follow the install commands in the Run section (taken from the project's README), and complete the documented quickstart example before adapting it to your own use case.
A 25MB database client for 100+ databases — with a built-in AI assistant, MCP server and CLI
Local-first code intelligence graph for MCP and CLI. Builds a persistent map of your codebase so AI coding tools read only what matters, with benchmarked con…
Local-first web search, fetch, crawl and research for AI coding agents over MCP — no API keys.
Generates agent-first Go CLIs (plus MCP servers) for any API or website — with local SQLite sync built in
An MCP server plus a CLI tool that indexes local code into a graph database to provide context to AI assistants.
Unified, efficient fine-tuning of 100+ LLMs and VLMs with a CLI and Web UI — ACL 2024
The most-starred other Dev Tools projects in the LibreAI catalogue — the realistic shortlist if Chat2DB is not the right fit.
The open source coding agent
The model-definition framework behind modern AI — thousands of pretrained transformers for text, vision, and audio.
Anthropic's agentic coding tool that lives in your terminal and works across your whole codebase
Cross-platform desktop all-in-one manager for Claude Code, Codex, OpenCode and other coding agents
OpenAI's lightweight coding agent that runs locally in your terminal
Free and open — grab the source, star the repo, and start creating.