Enterprise DNAEnterprise DNA

Open Source

MindSQL

MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery.

Our verdict

Not reviewed yet

We have not reviewed MindSQL yet

No one at Enterprise DNA has checked this listing against its sources. The description comes from public listings gathered automatically. Any fact below shows where it came from and when it was last checked.

How we review records

From the listing

About MindSQL

MindSQL is a Python library that converts natural language questions into SQL queries using retrieval-augmented generation. It integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery, and supports GPT-4 and Llama 2 as language models. ChromaDB and Faiss provide context-aware retrieval for accurate query generation.

Best for

Developers who want to add natural language querying to existing SQL databases

Use cases

  • Query databases with natural language instead of writing SQL
  • Build RAG pipelines that combine vector search with SQL execution
  • Integrate text-to-SQL capabilities into Python applications

Notes

443 stars on GitHub. Last updated 2025-07-16. Licensed GPL-3.0.

Pros

  • Supports multiple major SQL databases out of the box
  • Offers choice between GPT-4 and Llama 2 for query generation
  • Uses vector stores like ChromaDB and Faiss for context-aware responses

Cons

  • Requires external API keys or local setup for language models
  • Limited to the six supported databases
  • Community project with moderate adoption (443 stars)

Key facts

What we have checked

Latest version
0.2.1 (released 13 Mar 2024)
Checked GitHub
GitHub stars
447
Checked github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438

Each value shows when we last confirmed it and where it came from. Values we have not confirmed are left out, never guessed.

Stars and usage

How MindSQL is growing

GitHub stars

443 to 447

stars. 12 July 2026 to 26 Sept 2026, 2 readings.

Source: github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438. Checked .

Sources

Where this comes from

  • GitHubOfficial

    Checked · Latest version

  • github api via nightly crawl, recovered from git history 20e874270887c1008f860ee0198e461a23c9e438Registry

    Checked · GitHub stars

A source shows what was published when we checked it. It does not certify security, performance or a working installation. Read our method.

Changelog

What changed

  1. Released 0.2.1

    Source: GitHub

  2. Released 0.2.0

    Source: GitHub

  3. Released 0.1.3

    Source: GitHub

Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.