SQL query builder
AI2SQL turns plain English into SQL you can run against real databases. You describe the question, and it returns dialect-aware queries for PostgreSQL, MySQL, SQL Server, Snowflake, BigQuery, MongoDB, Oracle, and more. The browser toolbox also explains, optimizes, formats, and fixes SQL without leaving the page.
For teams wiring agents into production data, AI2SQL exposes a governed MCP server and REST API. Connections stay read-only by default through sqlGuard, which blocks writes and risky statements. A semantic layer maps your tables, joins, and business terms so generated SQL matches your schema instead of generic examples.
Analysts and engineers use it to skip syntax lookups, debug slow queries, and let Cursor or Claude run audited read queries via scoped API keys. A local desktop app (macOS and Windows) keeps credentials on your machine when cloud access is not an option.
Turns natural language into dialect-specific SQL for seven live database connectors
MCP server with run_query, describe_schema, and list_connections for agent workflows
Read-only sqlGuard blocks writes and dangerous statements with full query audit logs
Semantic schema layer grounds generation in your tables, joins, and business terms
Browser toolbox to explain, optimize, format, and fix SQL plus CSV upload queries
Desktop app for macOS and Windows runs queries locally without sending credentials to the cloud
Supports seven live database connectors plus a broad dialect toolbox in one product.
Read-only defaults, sqlGuard, and query logging reduce risk when agents touch production data.
MCP and REST endpoints fit Cursor, Claude, and custom agent stacks without extra driver setup.
Live connectors are limited to seven engines; other dialects are toolbox-only without live execution.
Desktop app supports MySQL, PostgreSQL, and SQL Server locally, fewer than the cloud connector set.
Team plan includes only five seats before needing a higher tier or add-ons.
Is my database safe with AI2SQL?
Yes. Connections are read-only by default. sqlGuard blocks INSERT, UPDATE, DELETE, DDL, and other dangerous statements at the gateway. Credentials are encrypted, every query is logged, and you can revoke API keys at any time.
Which databases does AI2SQL support?
Live connectors cover PostgreSQL, MySQL, SQL Server, Snowflake, BigQuery, MongoDB, and Oracle. The SQL toolbox also supports additional dialects such as SQLite, MariaDB, Redshift, ClickHouse, and DuckDB for generate, explain, optimize, and fix workflows.
Which AI agents and IDEs work with AI2SQL?
Any MCP-compatible agent or IDE, including Cursor, ChatGPT with developer-mode MCP, Claude Code, and Claude Desktop. Custom agents can use the REST API with scoped keys.
How is AI2SQL different from asking ChatGPT to write SQL?
Raw LLM SQL often breaks on real enterprise schemas. AI2SQL builds a semantic layer from your actual schema, executes governed read-only queries, and returns answers with metering and audit logs.
Does AI2SQL offer a free trial?
Yes. Paid plans include a 7-day free trial, and a free tier offers 100 queries with no credit card required. Regional PPP discounts apply automatically at checkout.

