awesome-repositories.com
Blog
MCP
awesome-repositories.com

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

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

SQL AI Query Assistants

Ranking updated Jun 30, 2026

For an AI assistant for SQL queries, the first results are chat2db/chat2db (Chat2DB is an AI-powered SQL client that translates natural language into SQL using schema-aware prompts and supports multiple database dialects, directly matching the core need; it lacks a dedicated SQL explanation feature but is otherwise squarely the category), wisser/jailer (Jailer is an AI-driven SQL assistant that generates, optimizes, and refactors SQL queries from natural language based on database schemas, with broad multi-dialect support, directly covering the query generation and optimization features you're looking for) and ottermind/chat2db (Chat2DB is a full-featured AI-powered SQL client that converts natural language to optimized SQL across multiple databases, offers AI-driven query explanations and optimization hints, and includes schema-aware context, matching the search for an AI-driven SQL assistant). tencentmusic/supersonic and canner/wrenai round out the shortlist. Compare the match explanations and check the project documentation against your requirements.

Open-source AI tools that help developers write, debug, and explain complex SQL database queries.

SQL AI Query Assistants

Find the best repos with AI.We'll search the best matching repositories with AI.
  • 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

    Chat2DB is an AI-powered SQL client that translates natural language into SQL using schema-aware prompts and supports multiple database dialects, directly matching the core need; it lacks a dedicated SQL explanation feature but is otherwise squarely the category.

    JavaDatabase Dialect AdaptersSchema-Aware Prompting
    View on GitHub↗25,762
  • wisser/jailerWisser avatar

    Wisser/Jailer

    3,130View on GitHub↗

    Jailer is a suite of specialized tools for AI-assisted SQL management, referential integrity preservation, and relational data browsing. It provides a system for generating referentially intact database subsets, allowing users to extract consistent slices of relational data while preserving foreign key constraints and dependencies. The project features an AI-driven SQL assistant that uses natural language to generate, optimize, and refactor queries based on database schemas. It also includes a data migration tool that analyzes SQL patterns to reverse engineer models and map associations betwe

    Jailer is an AI-driven SQL assistant that generates, optimizes, and refactors SQL queries from natural language based on database schemas, with broad multi-dialect support, directly covering the query generation and optimization features you're looking for.

    JavaNatural Language to SQLSQL Optimization Assistants
    View on GitHub↗3,130
  • ottermind/chat2dbOtterMind avatar

    OtterMind/Chat2DB

    25,784View on GitHub↗

    Chat2DB is an AI-powered SQL client and multi-database GUI manager designed for managing various relational and NoSQL database systems. It serves as a visual database management tool and a natural language to SQL interface, allowing users to convert plain text descriptions into executable and optimized queries. The platform distinguishes itself through automated business intelligence capabilities, which include the generation of real-time data visualization dashboards and AI-driven data analysis from spreadsheets. To ensure data privacy, it supports secure local AI deployment, enabling large

    Chat2DB is a full-featured AI-powered SQL client that converts natural language to optimized SQL across multiple databases, offers AI-driven query explanations and optimization hints, and includes schema-aware context, matching the search for an AI-driven SQL assistant.

    JavaNatural Language to SQL
    View on GitHub↗25,784
  • 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

    Supersonic is a text-to-SQL data analysis platform with a conversational interface and semantic schema mapping—it directly generates SQL from natural language, but does not mention explaining existing SQL queries or offering optimization hints, so it fits the intent as a narrower but genuine AI-powered SQL assistant.

    JavaNatural Language to SQLText-to-SQL Translators
    View on GitHub↗4,913
  • canner/wrenaiCanner avatar

    Canner/WrenAI

    14,437View on GitHub↗

    WrenAI is a platform designed to enable natural language interaction with relational and analytical databases. By combining a text-to-SQL engine with semantic data modeling, it allows users to explore structured data through plain language questions, removing the requirement for manual code generation. The system functions by grounding natural language requests in a predefined business logic layer rather than raw database schemas. This semantic approach, supported by context-aware prompt engineering, ensures that generated queries remain consistent and accurate across an organization. The pla

    WrenAI is an AI-powered SQL assistant focused on translating natural language into SQL queries using semantic data modeling and schema awareness, but its description does not mention explaining existing SQL queries, so it covers only part of what this search requests.

    TypeScriptText-to-SQL Translators
    View on GitHub↗14,437
  • dataease/sqlbotdataease avatar

    dataease/SQLBot

    6,297View on GitHub↗

    🔥 基于大模型和 RAG 的智能问数系统,对话式数据分析神器。Text-to-SQL Generation via LLMs using RAG.

    Sqlbot is an AI-driven tool that uses LLMs and RAG to convert natural language into SQL queries, directly covering the core NL-to-SQL need, while features like query explanation and multi-dialect support are not explicitly mentioned.

    JavaScriptNatural Language to SQLText-to-SQL Translators
    View on GitHub↗6,297
  • csunny/db-gptcsunny avatar

    csunny/DB-GPT

    19,006View on GitHub↗

    DB-GPT is an AI-driven database management system that uses agentic reasoning to execute data tasks. It converts natural language prompts into executable database queries and combines structured database records with unstructured knowledge bases to provide grounded analysis. The system orchestrates multi-step reasoning chains that integrate database queries, custom scripts, and external tool calls. It allows for the packaging of domain knowledge into reusable analysis skills and executes generated code within sandboxed environments for system safety. The platform covers data orchestration ac

    DB-GPT is an AI-driven database management system that converts natural language prompts into executable SQL queries with multi-step reasoning and sandboxed execution, which fits the text-to-SQL generation part of your request; however, its support for explaining existing SQL queries is not explicitly stated, so it only partially covers your full intent.

    PythonText-to-SQL Translators
    View on GitHub↗19,006
  • eosphoros-ai/db-gpteosphoros-ai avatar

    eosphoros-ai/DB-GPT

    18,999View on GitHub↗

    DB-GPT is an agentic data analysis platform and business intelligence AI that functions as a large language model data assistant. It provides a text-to-SQL interface and a sandboxed code execution environment to translate natural language into executable database queries and Python scripts. The platform utilizes iterative agentic reasoning to plan and execute multi-step data analysis workflows through tool calls. It features a modular skill-based extension system that allows domain knowledge and analysis workflows to be packaged into reusable functional components. The system integrates data

    DB-GPT is an AI-powered data analysis platform with a text-to-SQL interface for generating queries from natural language, which fits your need for an NL2SQL tool, but it focuses more on agentic data workflows than on explaining existing SQL queries or providing query optimization hints, so it covers the generator aspect but not all requested features.

    PythonText-to-SQL Translators
    View on GitHub↗18,999
  • dataherald/dataheraldDataherald avatar

    Dataherald/dataherald

    3,617View on GitHub↗

    DataHerald is a natural language text-to-SQL interface and data analytics tool that translates English questions into executable database queries using a large language model. It functions as a query generator and connectivity layer capable of retrieving database records and summarizing the results into human-readable explanations. The project features a dedicated business logic layer for defining database constraints and managing verified query pairs to improve translation accuracy. It acts as a multi-warehouse data connector, allowing for the indexing and querying of multiple SQL databases

    DataHerald is a natural-language-to-SQL engine that translates English questions into queries and explains the results, covering multi-database support and schema awareness—making it the right kind of tool for an AI SQL assistant, though it does not explicitly handle explaining arbitrary existing SQL queries or offer a conversational interface.

    PythonNatural Language to SQL
    View on GitHub↗3,617
  • dbcli/myclidbcli avatar

    dbcli/mycli

    11,932View on GitHub↗

    mycli is a MySQL command line client, database administration tool, and SQL query editor. It functions as a terminal interface for executing queries and managing MySQL connections, incorporating an integrated assistant that uses large language models to generate and analyze SQL statements based on the current database schema. The tool provides specialized query authoring capabilities, including context-sensitive syntax suggestions, fuzzy-matching identifier completion for tables and columns, and the ability to handover query buffers to external system text editors. It distinguishes its connec

    mycli is a MySQL command-line client with a built-in LLM assistant that can generate SQL from natural language and explain statements based on the current schema, making it a genuine AI SQL assistant limited to MySQL rather than a multi-dialect tool.

    PythonAI Query Generators
    View on GitHub↗11,932
  • clidey/whodbclidey avatar

    clidey/whodb

    4,856View on GitHub↗

    whodb is a multi-database management interface and notebook client designed for exploring and managing data across various engines, including Postgres, MySQL, MongoDB, and Redis. It functions as a graphical interface for managing database connections, records, and schemas through a unified layer. The project features a natural language query interface that uses large language models to translate plain English into executable SQL or NoSQL queries. This is supported by schema-aware prompting that injects database metadata into the model context to ensure generated queries match actual table def

    whodb is a multi-database management interface with a natural language query feature that translates English to SQL, but it does not offer the SQL query explanation or conversational assistant experience that this search requires.

    GoNatural Language to SQLSchema Context ExposersSchema-Aware Prompting
    View on GitHub↗4,856
  • yonom/assistant-uiYonom avatar

    Yonom/assistant-ui

    10,819View on GitHub↗

    assistant-ui is a React UI library and framework for building conversational interfaces that connect users to large language models. It provides a standard runtime interface to manage message streaming and data flow between chat interfaces and AI backends, complemented by a command line tool for project scaffolding and styling. The project focuses on generative UI rendering, which converts structured tool calls and data from a language model into interactive visual components. It utilizes a provider-agnostic adapter layer to standardize communication across different AI backend protocols. Th

    assistant-ui is a React library for building conversational interfaces with LLMs, but it is not an AI-powered SQL assistant—it lacks any SQL query generation, explanation, or schema-aware features.

    TypeScriptChat InterfacesInteractive Chat Interfaces
    View on GitHub↗10,819
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
chat2db/chat2db25.8KJavaApache-2.0Jun 16, 2026
wisser/jailer3.1KJavaapache-2.0Feb 19, 2026
ottermind/chat2db
25.8K
Java
Apache-2.0
Jun 18, 2026
tencentmusic/supersonic4.9KJavaNOASSERTIONJun 23, 2026
canner/wrenai14.4KTypeScriptagpl-3.0Feb 16, 2026
dataease/sqlbot6.3KJavaScriptNOASSERTIONJun 23, 2026
csunny/db-gpt19KPythonMITJun 14, 2026
eosphoros-ai/db-gpt19KPythonMITJun 14, 2026
dataherald/dataherald3.6KPythonapache-2.0Jul 24, 2024
dbcli/mycli11.9KPythonBSD-3-ClauseJun 15, 2026

Related searches

  • a notebook for running SQL
  • checked SQL queries for Rust
  • an AI coding assistant for software development
  • a desktop client for my SQL databases
  • a tool for querying cloud resources with SQL
  • an ai coding assistant for IDEs
  • a TypeScript-first ORM for SQL databases
  • a practice set for SQL interviews