Open source alternatives to AI2sql
200 open source apps like AI2sql, closest match first.
Top picks
- D
Db2rest
LaunchDB2Rest is an open-source tool that turns a relational database into a REST data API without writing code. You connect it to your database and it exposes the data over HTTP, so web, mobile or AI tool integrations can read and write it witho
FreeOpen source
- D

Database Build
LaunchIn-browser Postgres sandbox with AI assistance (formerly postgres.new)
FreeOpen source
- N
NexusPilot
LaunchNexusPilot is a cross-platform desktop workbench for working with databases in natural language. You ask questions or give multi-step tasks in Ask, Query or Agent modes, and the built-in agent uses your real connections, database objects an
FreeOpen source
- F

FreePeak/db-mcp-server
GetMulti Database MCP Server is a Model Context Protocol server that gives AI assistants structured access to several databases at once. It can connect to MySQL, PostgreSQL, SQLite and Oracle databases concurrently. For each connected database
Free
- S

subnetmarco/pgmcp
GetPGMCP is a Model Context Protocol server that connects AI assistants to any PostgreSQL database. You ask questions in plain English, and the server turns them into SQL and returns structured results as a table, JSON or CSV. It handles large
Free
- D

Datasette ChatGPT plugin
LaunchEnable natural language questions, real-time insights, interactive user experience, secure and reliable data querying.
FreeOpen sourceSelf-hosted
More like AI2sql

runekaagaard/mcp-alchemy
Access PostgreSQL, MySQL, MariaDB, SQLite, Oracle, SQL Server and more

supabase-community/supabase-mcp
Connect to your Supabase project to manage tables, fetch config and query data
About AI2sql
AI2sql
SQL Query Builder & Generator
AI2SQL is an AI SQL assistant for working with your own database. It writes, fixes, explains and optimises SQL against your real tables, then runs the query read-only so you can see the rows behind the answer. You connect a database such as PostgreSQL, MySQL, SQL Server, Snowflake or BigQuery, and the app builds a semantic layer from your schema, covering tables, joins and business terms, so the SQL it writes matches your data. An MCP connection lets Claude, ChatGPT, Cursor, VS Code and Gemini CLI query your database through governed, read-only SQL, and an API lets your own agents make the same calls. The site says connections are read-only by default and that a checker blocks write statements such as INSERT, UPDATE, DELETE and DROP before they reach the database. Every plan starts with a 7-day free trial.
- Price
- Free trial
- Category
- AI
- Website
- ai2sql.io










