ai2sql
AI2SQL is an AI SQL assistant for your own database schema that converts natural language questions into SQL for the corresponding database dialect and supports explaining, fixing, optimizing, formatting, and executing queries in read-only mode. It can connect to PostgreSQL, MySQL, SQL Server, Oracle, Snowflake, BigQuery, Redshift, MongoDB, SQLite, and Firebird, and generates queries using real tables, columns, and relationships through a semantic layer. It provides a REST API and MCP endpoint for AI agents to call. Read-only by default, and sqlGuard blocks write operations and dangerous statements. The free plan includes 3 queries per day (demo database), and paid plans are $9/$19/$39 per month, including a 7-day trial.