AI2SQL

Official registry Data and databases

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

Install

Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).

Remote (streamable-http)
Claude Code
claude mcp add --transport http ai2sql 'https://builder.ai2sql.io/api/chatgpt-mcp'
JSON configuration (Claude Desktop, Cursor, VS Code)
{
    "mcpServers": {
        "ai2sql": {
            "type": "http",
            "url": "https://builder.ai2sql.io/api/chatgpt-mcp"
        }
    }
}

Frequently asked questions

What is AI2SQL?

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

How do I install AI2SQL?

It runs as a remote server. In Claude Code: claude mcp add --transport http ai2sql 'https://builder.ai2sql.io/api/chatgpt-mcp'. For other clients, paste the JSON configuration from this page into their MCP settings.

Does AI2SQL need an API key?

Its registry entry lists no required key or secret. Some features may still need an account with the service it connects to.

Who maintains AI2SQL?

It is published by io.ai2sql. AI.tn lists it but does not maintain or endorse it.

From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.