Text-to-SQL RAG RAG Tools

Tools for converting natural language queries into SQL statements using RAG and LLMs to interact with relational databases. Does NOT include general database tools, non-SQL query languages, or RAG systems for unstructured data.

There are 52 text-to-sql rag tools tracked. 3 score above 70 (verified tier). The highest-rated is mindsdb/mindsdb at 78/100 with 38,697 stars. 3 of the top 10 are actively maintained.

Get all 52 projects as JSON

curl "https://pt-edge.onrender.com/api/v1/datasets/quality?domain=rag&subcategory=text-to-sql-rag&limit=20"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.

# Tool Score Tier
1 mindsdb/mindsdb

Query Engine for AI Analytics: Build self-reasoning agents across all your live data

78
Verified
2 vanna-ai/vanna

🤖 Chat with your SQL database 📊. Accurate Text-to-SQL Generation via LLMs...

76
Verified
3 dataease/SQLBot

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

71
Verified
4 weAIDB/CrackSQL

LLM-based Dialect Translation System

67
Established
5 Canner/WrenAI

⚡️ GenBI (Generative BI) queries any database in natural language, generates...

66
Established
6 Dataherald/dataherald

Interact with your SQL database, Natural Language to SQL using LLMs

59
Established
7 Mindinventory/MindSQL

MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions....

58
Established
8 microsoft/dstoolkit-text2sql-and-imageprocessing

This repo accelerates development of RAG applications with rich data sources...

54
Established
9 shurutech/mql

MQL tool is designed to generate SQL queries directly from natural language inputs.

52
Established
10 shuyu-labs/Text2Sql.Net

Text2Sql.Net 是一个使用DotNet和Semantic Kernel开发的Text2Sql工具

51
Established
11 hexinfo/dat

Asking yours data in a natural language way through pre-modeling (data...

50
Established
12 Satissss/Squrve

Squrve is a lightweight yet powerful framework for translating natural...

50
Established
13 Zay-M3/NaturalSQL

Este es un proyecto para experimentar sobre el conceto de RAG y como se...

43
Emerging
14 montraydavis/SmolSQLAgents

The Most Powerful Open-Source Autonomous SQL Agents - RAG, NL2SQL

40
Emerging
15 mta-tech/KAI

AI-powered agent that lets you query and analyze your database using natural language

36
Emerging
16 galuszkm/query-genie

Agentic AI Platform for intelligent database interaction

34
Emerging
17 premAI-io/premsql

End-to-End Local-First Text-to-SQL Pipelines

34
Emerging
18 CoRAL-ASU/REaR

REAR is a fast, LLM-free framework for multi-table retrieval that separates...

33
Emerging
19 ThomasJButler/SQL-Ball

RAG-powered NL-to-SQL using a custom collated dataset of European football results.

32
Emerging
20 daniel3303/AgentQL

Reusable .NET library that translates EF Core models into LLM-friendly...

32
Emerging
21 osmanuygar/sqlatte

AI-powered natural language to SQL

29
Experimental
22 soilwise-he/natural-language-querying

Application component that provides Natural Language Querying (NLQ)...

28
Experimental
23 escaite05/Cognita

🧠 Transform natural language into SQL queries seamlessly with Cognita, an...

27
Experimental
24 2003HARSH/Chat-with-databases-using-RAG

"Chat with Databases using RAG" is a cutting-edge project that seamlessly...

25
Experimental
25 jsybf/text2sql

kotlin implementation of datrics text2sql

24
Experimental
26 donlelef/genai-system-workshop

Building a chat-with-your-data system, with method

23
Experimental
27 FlareIgnis/SQLBot

🤖 Enhance data queries with SQLBot, an intelligent system that combines...

23
Experimental
28 ggeop/DataDialogueLLM

Data Dialogue enables natural language querying of databases by integrating...

22
Experimental
29 Kasun-Imesha/Text2SQL-Agent

A multi-agent system that converts natural language queries into SQL and...

22
Experimental
30 mindfiredigital/SQLRAG

It allows users to query databases using natural language and receive...

20
Experimental
31 nvhnam/MySQL_AI_Agent

An intelligent MySQL AI Agent system that translates natural language into...

20
Experimental
32 ShibilAhamed701212/Library_DBMS

Next-gen Library DBMS: AI Discovery, Real-time Chat, and Gamification using...

19
Experimental
33 JaimeLucena/rag-database-chat

A hands-on RAG application that converts natural language questions into SQL...

19
Experimental
34 aakanksha-singh-hub/Adaptive-Query-Optimizer_MariaDB

Intelligent query optimization for MariaDB Vector + SQL. Delivers 100x...

18
Experimental
35 neil-ab/rag-llm

RAG with LLM agents for SQL & graph databases

17
Experimental
36 Pulkit12dhingra/Query_Agent

An intelligent SQL query automation system that converts natural language...

16
Experimental
37 Mona-Aloufi/SQLWhisper-Text2SQL

A privacy-preserving Text2SQL generation and RAG system for the LMS...

15
Experimental
38 Mehul-Gupta-SMH/PolyQL

Poly-QL: AI-powered natural language to SQL/Spark/Pandas query engine with...

15
Experimental
39 Ne0bliviscaris/SQL-Detective-RAG-Game

Ollama RAG using SQL Database

14
Experimental
40 Nadav-Nesher/BI_SQL_Assistant

LangChain SQL BI Assistant for IMDB

14
Experimental
41 SARVESHYOGI/natural_language_database_assistant

An AI-powered system that allows users to interact with PostgreSQL databases...

14
Experimental
42 imrohitdhole/nl-to-sql-cleanSQL

Data-quality-aware NL-to-SQL system using RAG, QLoRA fine-tuning, and...

14
Experimental
43 alexis09876/LLM2SQLSTRUCTUREDSEARCH

🔍 Generate high-quality, schema-valid SQL from natural language queries...

14
Experimental
44 Venkatesh-Daggu/RAG_SQL

RAG_SQL is a project that integrates Retrieval-Augmented Generation with SQL...

14
Experimental
45 Raviteja6556/text-to-sql-engine

Schema-aware Text-to-SQL engine — Natural language to DuckDB SQL via RAG...

14
Experimental
46 dmsavkov/Notion-Query-Translator

An autonomous, LLM-powered agent that translates natural language commands...

14
Experimental
47 akshaygande/SQL-QA-with-LLM-RAG

Streamlit-based SQL QA app: natural-language → SQL with RAG (FAISS) + LLMs...

12
Experimental
48 DylanSteinecke/nl_to_sql_to_figure

2025 - 2026: A pipeline that processes a natural language query, curates...

12
Experimental
49 YiboLi1986/LLM2SQLSTRUCTUREDSEARCH

Structured Text-to-SQL pipeline combining LLM sketch generation,...

12
Experimental
50 samitugal/NL2SQL-Converter

NL2SQL-Converter transforms natural language sentences from any language...

11
Experimental
51 furkankarakuz/Text2SQL-AI

Text2SQL-AI is an AI-powered application that allows you to generate SQL...

11
Experimental
52 HendEmad/NL2SQL

Multi agent system to generate SQLite queries using LLMs and RAG

11
Experimental