luiscarbonel1991/nlp2sql

Enterprise-ready Natural Language to SQL converter with multi-provider AI support (OpenAI, Anthropic, Gemini). Built for production scale databases (1000+ tables) with Clean Architecture.

52
/ 100
Established

Implements hybrid FAISS + TF-IDF schema relevance filtering to handle 1000+ table databases without exceeding token limits, with precomputed embedding batching that reuses relevance scores across generation steps. Provides both high-level `connect()` DSL and lower-level service APIs, full async/await support, and built-in caching for schemas and embeddings across PostgreSQL and Amazon Redshift databases.

Available on PyPI.

Maintenance 10 / 25
Adoption 11 / 25
Maturity 18 / 25
Community 13 / 25

How are scores calculated?

Stars

8

Forks

2

Language

Python

License

MIT

Category

sql-database-mcp

Last pushed

Jan 21, 2026

Monthly downloads

744

Commits (30d)

0

Dependencies

23

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/mcp/luiscarbonel1991/nlp2sql"

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