#1818th of 24 in Chat UIsFor data and documents, data analysis

sqlchat

Chat-based SQL client that turns natural language into database queries

Stars
5.9k
License
MIT
Last commit
Oct 2026
Language
TypeScript
Stars, last 29 weeks+164
21 Apr 2026: 5,692 stars28 Apr 2026: 5,697 stars5 May 2026: 5,713 stars12 May 2026: 5,722 stars19 May 2026: 5,733 stars26 May 2026: 5,737 stars2 Jun 2026: 5,744 stars9 Jun 2026: 5,749 stars16 Jun 2026: 5,756 stars23 Jun 2026: 5,764 stars30 Jun 2026: 5,769 stars7 Jul 2026: 5,769 stars14 Jul 2026: 5,786 stars21 Jul 2026: 5,798 stars28 Jul 2026: 5,805 stars4 Aug 2026: 5,808 stars11 Aug 2026: 5,812 stars18 Aug 2026: 5,813 stars25 Aug 2026: 5,817 stars1 Sept 2026: 5,820 stars8 Sept 2026: 5,824 stars15 Sept 2026: 5,828 stars22 Sept 2026: 5,828 stars29 Sept 2026: 5,829 stars6 Oct 2026: 5,831 stars13 Oct 2026: 5,836 stars20 Oct 2026: 5,839 stars27 Oct 2026: 5,846 stars3 Nov 2026: 5,853 stars10 Nov 2026: 5,856 stars

5,692 on 21 Apr 20265,856 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

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)
  • Models: OpenAI API, Ollama (via OPENAI_API_ENDPOINT)
  • port 3000

Quick answers

Is sqlchat open source?

Yes. Its code is on GitHub under the MIT license.

Can you run sqlchat with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does sqlchat need a GPU?

No, it runs without one.

Also in Chat UIs

See all 24
Also in Chat UIs
RankProjectScore
1Open WebUISelf-hosted web UI for Ollama and OpenAI-compatible models with users and RAG158.4k stars+4,453 (+2.9%) in 30 dayscustom license89 out of 100
2LobeHubMulti-agent chat workspace connected to team IM apps and 40+ model providers85k stars+1,992 (+2.4%) in 30 dayscustom license86 out of 100
3OnyxTeam 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 license86 out of 100
#4AnythingLLMDocument chat app with agents, workspaces and many LLM and vector DB backends68.2k stars+1,374 (+2.1%) in 30 daysMIT84 out of 100
#5LibreChatSelf-hosted multi-provider chat UI with agents, MCP tools and multi-user auth47k stars+1,523 (+3.4%) in 30 daysMIT84 out of 100