← Back to Leaderboard
Sdataease

dataease/SQLBot

Self-hosted, RAG-assisted text-to-SQL for conversational analytics and charts

Open-Source AI AppQuickstart ↓
Engineering Health (Methodology)
A · 81/100
Maintenance Activity
● Updated today
Latest Release
v1.10.4
Commercial License Check
Custom / Check Repo

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption20/25
Release Cadence20/20
License Clarity6/20
DockerSelf-HostedMCP
Total Stars
★ 7,245
24h Growth
+4
7d Growth
+30
Forks
964

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

dataease/SQLBot Star History (2025-04-20 - 2026-12-04) ALL-TIME STAR HISTORY (2025-04 – 2026-12) +7.2k in 593d · avg +12/day 7.7k 3.8k 0 2025-04-20: ★ 22025-05-31: ★ 72025-07-12: ★ 82025-08-23: ★ 9872025-10-04: ★ 3,4552025-11-15: ★ 4,4542025-12-27: ★ 4,8962026-02-07: ★ 5,3532026-03-21: ★ 5,6162026-05-02: ★ 5,9352026-06-13: ★ 6,1872026-07-25: ★ 6,4382026-09-05: ★ 6,7032026-10-17: ★ 6,8982026-12-04: ★ 7,245 ★ 7.2k 2025-04 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

SQLBot is a self-hosted conversational BI application. A user asks a question in natural language; retrieval helps select relevant tables, the configured language model generates SQL, and the application queries the data source and returns results that can be visualized. Since v1.10.2, table selection has combined model-extracted keywords with vector similarity scoring. That targets ambiguity between candidate tables; it does not establish that the resulting joins or metrics are correct.

The source tree separates frontend/ and backend/. The Docker configuration gives the application its own PostgreSQL settings, distinct from the configurable data sources users query. Web and popup embedding expose the user interface, while MCP provides a callable integration that can use a separately configured image URL. The available manifests do not establish the backend framework, vector storage engine, or supported MCP transports, so those are compatibility checks rather than architectural assumptions.

Key Capabilities & Differentiators

Users can query data conversationally, turn results into charts, and continue the analysis. Administrators can maintain custom prompts, a glossary, and SQL examples to steer generation toward local business terminology and query conventions. Workspace-level resource isolation and fine-grained data permissions are available, but their effective scope should be tested with the identities and data sources used in production.

v1.10.3 added support for configuring MiniMax M3.1 Flash, adapting Hive metadata parsing for SparkThriftServer, and changing the vector retrieval strategy at runtime. Excel can also be used as a data source. Before adopting a particular combination, test schema discovery, dialect-specific SQL, and representative queries against the exact model and database versions you plan to run. There are no published accuracy or throughput figures in the available material to substitute for that test.

Trade-offs & Limitations

Compared with dashboard-first BI, SQLBot handles ad hoc questions without requiring a report for each one. The cost is less deterministic interpretation: a valid query can still use the wrong join, time window, or KPI denominator. Compared with assembling text-to-SQL inside a general-purpose workflow builder, SQLBot supplies a user interface, terminology and example management, and workspace controls, but leaves less of the application flow under your direct control.

Pilot it with known-answer questions that include ambiguous table names, multi-table joins, and sensitive columns. Treat generated SQL as untrusted: use read-only database credentials for analytical access and test permissions through embedded and MCP entry points as well as the browser UI. The license is unspecified in the supplied metadata even though a LICENSE file exists. Verify its text and any separate terms for features referenced under X-Pack before making commercial or redistribution commitments.

Hardware & Deployment Guide

The documented self-hosted path uses Docker on Linux with the dataease/sqlbot image, publishes ports 8000 and 8001, and opens the browser UI on port 8000. The run example persists Excel uploads, other files, images, logs, and PostgreSQL data on host volumes. Compose defaults POSTGRES_SERVER to localhost and requires SECRET_KEY to be supplied. A 1Panel installation path and an offline package are also available. Offline installation does not imply offline inference: the selected model endpoint and data sources still need to be reachable at runtime.

Both example container configurations request privileged mode. Use a patched, pinned version; replace example credentials, restrict network exposure, and evaluate whether the target deployment can operate with fewer privileges before approving production use. v1.10.4 fixes cross-workspace export access and file path validation issues and switches local passwords to salted Argon2id with automatic migration. On upgrade, verify that existing accounts still authenticate and that users can retrieve only their own workspace's exports.

Table selection: v1.10.2 combined model-extracted keywords with vector similarity scoring; v1.10.3 added runtime configuration of vector retrieval strategy.
Business terminology: Custom prompts, a glossary, and maintained SQL examples provide three ways to steer generation without changing application code.
Integration: Web and popup embedding serve UI use cases; MCP adds a callable interface with a configurable image URL.
Data coverage: Excel data sources are supported alongside database connections; v1.10.3 added Hive metadata parsing for SparkThriftServer.
Security maintenance: v1.10.4 added salted Argon2id with migration of legacy credentials and fixed workspace isolation and path validation issues in exports.
Deployment: Docker publishes ports 8000 and 8001; the supplied Compose configuration requires a unique SECRET_KEY.
Best For

Internal analytics teams that can configure a model, curate business terminology and SQL examples, and validate conversational queries against read-only data sources.

Skip If

You rely on fixed, audited metrics, cannot verify model data handling or license terms, or require a production-ready unprivileged deployment without further validation.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCP
docker run -d \
  --name sqlbot \
  --restart unless-stopped \
  -p 8000:8000 \
  -p 8001:8001 \
  -v ./data/sqlbot/excel:/opt/sqlbot/data/excel \
  -v ./data/sqlbot/file:/opt/sqlbot/data/file \
  -v ./data/sqlbot/images:/opt/sqlbot/images \
  -v ./data/sqlbot/logs:/opt/sqlbot/app/logs \
  -v ./data/postgresql:/var/lib/postgresql/data \
  --privileged=true \
  dataease/sqlbot

Comparison vs. Top RAG, Data & Memory Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
SQLBot ★7.2k+30JavaScript—Self-hosted, RAG-assisted text-to-SQL for conversational analytics and charts
easy-dataset15.2k+19JavaScript—A self-hosted Next.js workbench for fine-tuning, RAG, and evaluation datasets
Vane38.4k+73TypeScriptMITSelf-hosted AI search with SearxNG, local or cloud LLMs, and cited answers.
ragflow95.1k+297GoApache-2.0Go-based RAG platform for parsing complex documents and grounding answers in sou

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/dataease/SQLBot.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

dataease/SQLBot Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about SQLBot

How do I add SQLBot to an existing application?

Configure a language model and a data source, then choose between the built-in browser interface, web or popup embedding, and MCP. For MCP image delivery, verify that the URL configured in SERVER_IMAGE_HOST is reachable from the intended client. Test authentication and workspace permissions through the integration itself, not just through the main UI.

What hardware should I budget for, and do I need a GPU?

There is no published CPU, RAM, or VRAM requirement in the available material. Size the application and PostgreSQL separately from model inference. For a pilot, measure concurrent queries and the storage used by files, images, logs, and PostgreSQL. If you host inference yourself, GPU and VRAM needs depend on the chosen model and serving setup; Docker deployment of SQLBot does not establish those requirements.

Does self-hosting permit commercial use or guarantee data residency?

The root contains a LICENSE file, but its terms are not available here and the license is classified as unspecified. Before commercial deployment, verify the license for the exact version, redistribution rights, and any separate X-Pack terms. Self-hosting alone does not establish data residency: check what the chosen model endpoint receives and where it processes or retains that information.

When should I choose SQLBot over conventional BI or a custom text-to-SQL workflow?

Choose SQLBot over building a text-to-SQL workflow from scratch if you want a ready-to-use interface with workspace controls, business terminology, maintained SQL examples, and charts. Start with conventional BI if users primarily consume fixed reports and need consistent KPI definitions. For recurring questions that do not fit existing dashboards, pilot SQLBot on a representative query set before replacing anything.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining dataease/SQLBot? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature dataease/SQLBot on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare