SQL Chat is a Next.js web app that connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud and OceanBase and lets you query or modify data in natural language through OpenAI models. It can be self-hosted with a single Docker command, and OPENAI_API_ENDPOINT can point at an Ollama endpoint. An optional Postgres database enables accounts, per-user quotas and payment.
Who it is for: Developers who want to query and edit SQL databases in natural language
Strengths
Supports MySQL, PostgreSQL, MSSQL, TiDB Cloud and OceanBase connections
Runs without its own database for single-user self-hosting
Configurable OpenAI endpoint, so Ollama can be used instead of OpenAI
Hosted instance at sqlchat.ai for trying it without setup
Weaknesses
Docker command needs an OpenAI key by default; local models need extra endpoint setup
Hosted version requires allowing 0.0.0.0 in the database IP whitelist
Docker example is pinned to linux/amd64
Accounts, quotas and payment require a separate Postgres instance
What it needs
no GPU
Docker
Needs OpenAI API or compatible endpoint, PostgreSQL (optional, for accounts and quotas)
Open WebUISelf-hosted web UI for Ollama and OpenAI-compatible models with users and RAG158.4k stars+4,453 (+2.9%) in 30 dayscustom license
89 out of 100score
2
LobeHubMulti-agent chat workspace connected to team IM apps and 40+ model providers85k stars+1,992 (+2.4%) in 30 dayscustom license
86 out of 100score
3
OnyxTeam knowledge search and chat that indexes 50+ connected apps with permissions
Live demo ↗
(opens in a new tab)33.3k stars+994 (+3.1%) in 30 dayscustom license
86 out of 100score
#4
AnythingLLMDocument chat app with agents, workspaces and many LLM and vector DB backends68.2k stars+1,374 (+2.1%) in 30 daysMIT
84 out of 100score
#5
LibreChatSelf-hosted multi-provider chat UI with agents, MCP tools and multi-user auth47k stars+1,523 (+3.4%) in 30 daysMIT