Chat2DB
From the repo · “Chat2DB is a free, cross-platform, local-first database client and SQL workspace for developers, DBAs, analysts, and data teams. Connect to 40+ databases, manage data, edit and run SQL, and use your own AI model to generate, explain, and optimize queries. Available on desktop, web, Docker, and CLI, with MCP support.”
Chat2DB gives you a visual SQL editor and AI‑assistant that can generate, explain, and optimise queries for any of 40+ databases, all running locally on your machine or in Docker.
- •You need a quick UI to explore a new database without writing SQL by hand.
- •Your team wants AI‑generated queries or explanations directly in the query editor.
- •You prefer a self‑hosted, free tool that works on Windows, macOS, Linux, or via Docker.
Generate a SQL query that returns order_id, customer_name, and total_amount for all orders placed in the last 7 days, sorted by total_amount descending.
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/chat2db && curl -fsSL https://workflowstacks.com/api/skills/chat2db/claude-skill -o ~/.claude/skills/chat2db/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Chat2DB is a very large Java project (~343k lines across 3402 code files, plus 394 test files). Setup is light: installs like a normal app. Reading the code is optional. Last commit this month, Other license, has a test suite.
Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.
Installs with a command or two; your AI agent can do it for you.
mkdir -p ~/.claude/skills/chat2db && curl -fsSL https://workflowstacks.com/api/skills/chat2db/claude-skill -o ~/.claude/skills/chat2db/SKILL.mdOpens the app with this repo with the prompt ready to go — no copy-paste needed.
Are you the creator of this tool? and earn 85% of every sale.
Show it off in your README:
[](https://workflowstacks.com/skills/chat2db?utm_source=github&utm_medium=badge)The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.
Do this with a working workflow
Pages we wrote and tested that put a skill like this to work — importable n8n templates, outcome guides and Claude Desktop configs.
Related skills
More mcp-server tools founders pair with this one.