Mindinventory/MindSQL

MindSQL: A Python Text-to-SQL RAG Library simplifying database interactions. Seamlessly integrates with PostgreSQL, MySQL, SQLite, Snowflake, and BigQuery. Powered by GPT-4 and Llama 2, it enables natural language queries. Supports ChromaDB and Faiss for context-aware responses.

53
/ 100
Established

This is a tool for developers who build data-driven applications. It lets you create a backend where end-users can ask questions in plain English (or any natural language) about data stored in various databases like PostgreSQL, MySQL, or Snowflake. The tool translates these natural language questions into SQL queries, retrieves the answers, and can even visualize them, providing a user-friendly way to interact with complex datasets without needing to write SQL.

437 stars. No commits in the last 6 months. Available on PyPI.

Use this if you are a developer looking to integrate natural language database querying capabilities into your applications, allowing your users to get insights from data without writing SQL.

Not ideal if you are a business user looking for a no-code tool to directly query your database with natural language, as this requires Python programming to set up.

database-interaction application-development natural-language-processing backend-development data-querying
Stale 6m
Maintenance 2 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 16 / 25

How are scores calculated?

Stars

437

Forks

45

Language

Python

License

GPL-3.0

Category

text-to-sql-rag

Last pushed

Jul 16, 2025

Commits (30d)

0

Dependencies

13

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/rag/Mindinventory/MindSQL"

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