awesome-repositories.com
Blog
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectAboutHow we rankPressMCP server
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sqlchat avatar

sqlchat/sqlchat

0
View on GitHub↗
5,731 stars·499 forks·TypeScript·mit·6 viewssqlchat.ai↗

Sqlchat

SQL Chat is a Docker-deployed chat interface that translates natural language questions into SQL queries and executes them against connected databases. It uses a large language model to generate SQL from plain English instructions, supporting both querying and record modification through INSERT, UPDATE, and DELETE statements within the chat conversation flow.

The application connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud, and OceanBase databases through a unified driver abstraction layer, allowing users to interact with multiple database types from a single chat interface. Users provide their own OpenAI API key for authentication, or can configure a custom API endpoint to use self-hosted or third-party AI models like Ollama. An optional database-backed account system tracks per-user usage, enforces spending limits, and processes payments.

The project is packaged as a Docker container with environment variable configuration for authentication and AI service settings, enabling straightforward self-hosted deployment.

Features

  • LLM-Based SQL Generation - Translates natural language queries into SQL statements using a large language model API.
  • Docker Container Deployments - Packaged as a Docker container with environment variable configuration for easy self-hosted deployment.
  • Natural Language Query Interfaces - Provides a chat interface that translates natural language into SQL queries against connected databases.
  • Natural Language Querying Interfaces - Translates plain English questions into SQL queries and executes them against connected databases, returning results in a chat interface.
  • SQL Assistants - Ships a self-hosted SQL assistant that uses custom AI endpoints for natural language to SQL translation.
  • Natural Language to SQL - Converts plain English questions into executable SQL queries using a large language model API.
  • Mutation Statements - Generates and executes INSERT, UPDATE, and DELETE SQL from natural language instructions.
  • Database Driver Abstractions - Provides a unified interface for connecting to multiple database types through a common driver abstraction.
  • Natural Language Modifications - Inserts, updates, or deletes records in supported databases by giving natural language instructions instead of writing SQL.
  • Natural Language Querying - Translates plain English questions into SQL queries executed against connected databases.
  • Multi-Database Connections - Connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud, and OceanBase databases through a single chat interface.
  • Multi-Database Connectors - Connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud, and OceanBase databases through a unified interface.
  • Chat-Based Interfaces - Connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud, and OceanBase databases through a unified chat interface for querying and management.
  • Chat-Integrated Command Execution - Executes generated SQL queries and returns results directly within the chat conversation flow.
  • Database-Connected Clients - Connects to MySQL, PostgreSQL, MSSQL, TiDB Cloud, and OceanBase databases for querying and modifying records through natural language.
  • Self-Hosted AI Models - Configures a custom OpenAI API endpoint to use locally hosted AI models like Ollama for processing queries.
  • Custom API Endpoints - Supports custom OpenAI-compatible endpoints for using locally hosted AI models like Ollama.
  • Custom API Endpoints - Allows users to specify a custom OpenAI-compatible API endpoint for using self-hosted or third-party AI models.
  • API Key Authentication - Accepts an OpenAI API key supplied directly through the user interface for authenticating AI service requests.
  • User-Provided Keys - Allows users to provide their own OpenAI API key through the interface for authenticating AI service requests.
  • Database Tools - Chat-based SQL client and editor.
  • SQL Enhancement - Tool for converting natural language into SQL queries.
  • Programming Tools - Chat-based SQL client for natural language database queries.

Star history

Star history chart for sqlchat/sqlchatStar history chart for sqlchat/sqlchat

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Frequently asked questions

What does sqlchat/sqlchat do?

SQL Chat is a Docker-deployed chat interface that translates natural language questions into SQL queries and executes them against connected databases. It uses a large language model to generate SQL from plain English instructions, supporting both querying and record modification through INSERT, UPDATE, and DELETE statements within the chat conversation flow.

What are the main features of sqlchat/sqlchat?

The main features of sqlchat/sqlchat are: LLM-Based SQL Generation, Docker Container Deployments, Natural Language Query Interfaces, Natural Language Querying Interfaces, SQL Assistants, Natural Language to SQL, Mutation Statements, Database Driver Abstractions.

What are some open-source alternatives to sqlchat/sqlchat?

Open-source alternatives to sqlchat/sqlchat include: tencentmusic/supersonic — Supersonic is an LLM-based data analysis platform and semantic layer engine that translates natural language questions… chat2db/chat2db — Chat2DB is an AI-powered SQL client and multi-database management GUI. It serves as a centralized graphical interface… whoiskatrin/sql-translator — This project is a developer utility that functions as an artificial intelligence-powered assistant for database query… dbeaver/cloudbeaver — CloudBeaver is a web-based database manager and cloud database IDE that provides a centralized browser interface for… dataease/sqlbot — 🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG. dataherald/dataherald — DataHerald is a natural language text-to-SQL interface and data analytics tool that translates English questions into…

Open-source alternatives to Sqlchat

Similar open-source projects, ranked by how many features they share with Sqlchat.
  • tencentmusic/supersonictencentmusic avatar

    tencentmusic/supersonic

    4,913View on GitHub↗

    Supersonic is an LLM-based data analysis platform and semantic layer engine that translates natural language questions into executable SQL queries. It functions as a business intelligence dashboard and text-to-SQL interface, allowing users to retrieve business metrics and insights through a conversational interface. The system decouples business definitions from physical database schemas by using a governed logical layer to define unified metrics and dimensions. This semantic modeling allows the platform to map human language patterns to curated models and translate abstract semantic statemen

    Java
    View on GitHub↗4,913
  • chat2db/chat2dbchat2db avatar

    chat2db/Chat2DB

    25,762View on GitHub↗

    Chat2DB is an AI-powered SQL client and multi-database management GUI. It serves as a centralized graphical interface for administering diverse relational and non-relational database engines, integrating large language models to transform natural language prompts into executable SQL statements and application code. The tool utilizes schema-aware prompt engineering to inject database metadata into AI requests, ensuring generated queries match the actual schema. It also functions as an AI data reporting tool, using artificial intelligence to create dashboards and visual reports directly from da

    Java
    View on GitHub↗25,762
  • whoiskatrin/sql-translatorwhoiskatrin avatar

    whoiskatrin/sql-translator

    4,312View on GitHub↗

    This project is a developer utility that functions as an artificial intelligence-powered assistant for database query management. It provides an interactive interface for translating between natural language and structured database code, simplifying the processes of writing, debugging, and maintaining complex queries. The tool distinguishes itself by incorporating schema-aware context injection, which allows it to align generated queries with specific table definitions and relationship metadata. By maintaining stateful conversation history and utilizing large language model prompting, it enab

    TypeScriptdata-analysisdata-engineeringdataquery
    View on GitHub↗4,312
  • dbeaver/cloudbeaverdbeaver avatar

    dbeaver/cloudbeaver

    4,951View on GitHub↗

    CloudBeaver is a web-based database manager and cloud database IDE that provides a centralized browser interface for administering SQL and NoSQL databases. It functions as a multi-database administration tool and an RBAC database access gateway, allowing users to manage diverse relational and document-based database engines through a single server-based installation. The platform distinguishes itself by integrating an artificial intelligence assistant for natural language SQL generation and optimization. It further supports collaborative data engineering by coordinating database operations ac

    TypeScriptcloudcloud-database-managerdatabase
    View on GitHub↗4,951
  • See all 30 alternatives to Sqlchat→