NLP Database
Connects large language models to SQL databases securely, enabling natural language querying and schema exploration for AI agents.
NLP Database acts as a secure, read-only bridge, allowing AI agents to intuitively explore SQL database schemas and query data using natural language via the Model Context Protocol (MCP). It ensures safe interactions with strict query validation, automatic result limiting, and broad compatibility with major SQL databases like PostgreSQL, MySQL, SQL Server, and SQLite, all while optimizing for agent performance with descriptive errors and schema caching.
Características Principales
01Agent-optimized with descriptive errors for LLM self-correction
025-minute schema caching to reduce database overhead
03Native support for PostgreSQL, MySQL, SQL Server, and SQLite
04Strict read-only security with regex validation for SELECT and WITH statements
05Automatic query guardrails with 'LIMIT 500' to prevent system overload
060 GitHub stars
Casos de Uso
01Enabling LLMs to answer user questions about data by inspecting schemas and executing queries
02Integrating database querying capabilities into various LLM clients like Claude, Gemini, and OpenCode
03Providing AI agents with secure, natural language access to transactional or analytical databases