NLSQL
Transforms natural language questions into SQL queries utilizing AI-powered multi-agent systems.
关于
NLSQL is a production-ready Node.js package that provides a Model Context Protocol (MCP) server designed to convert natural language questions into SQL queries. It leverages AI, specifically OpenAI and CrewAI, to power its multi-agent system for intelligent query generation. The server offers broad compatibility with databases like SQLite, PostgreSQL, and MySQL, and includes features such as AI-powered database schema analysis, simplified one-command installation with automatic Python dependency management, and robust query validation for safe execution. It's fully compatible with MCP clients like Claude Desktop, enabling seamless integration for natural language database interaction.
主要功能
- AI-Powered natural language to SQL conversion using OpenAI and CrewAI
- 1 GitHub stars
- Safe SQL query validation and configurable execution limits
- Automatic Python dependency management for easy setup
- Multi-database support including SQLite, PostgreSQL, and MySQL
- Full JSON-RPC implementation compatible with MCP clients like Claude Desktop
使用案例
- Integrating natural language database querying into AI assistants like Claude Desktop
- Performing AI-driven database schema analysis and intelligent query generation
- Adding AI-powered natural language to SQL capabilities to custom applications