Ai2Sql MCP server
Yes. Ai2Sql publishes an official MCP server at https://builder.ai2sql.io/api/chatgpt-mcp. It's hosted. It offers 8 tools. We last checked it on 22 Nov 2026.
Official: published in the official MCP Registry as io.ai2sql/ai2sql, a name only the owner of ai2sql.io can publish under. Checked 22 Nov 2026. Maintained by Stuart Brameld.
Key facts
As of 22 Nov 2026, Ai2Sql's official MCP server scores 72/100 (provisional) on MartechDB's Agent Readiness Index (v1.1). It answered 56 of our 56 checks in the last 90 days and has 8 tools named in its documentation.
How the Agent Readiness Index works · Wrong? Suggest a correction
Ai2Sql MCP server review
72/100
Ai2Sql's AI2SQL scores 72/100 on MartechDB's Agent Readiness Index: easy to connect an AI agent to, with a few gaps.
The good
Hosted by Ai2Sql: connect by URL, with nothing to install
Documented, with 8 tools known
Published to the official MCP Registry
Answered 100% of our checks in the last 90 days
Free plan or free quota
The bad
Needs a card to start
Not checked yet: how you sign in. Anything not checked scores nothing.
Official MCP server
AI2SQL
Generate, fix, explain and run read-only SQL on PostgreSQL, MySQL and SQL Server
- Address
- https://builder.ai2sql.io/api/chatgpt-mcp
- Runs
- Hosted
- Sign-in
- Vendor docs
- Cost to use
- Plan: Free · Free to start · Card needed to startFree: 5 SQL requests a day; run_query on paid plans, 1,000 rows and 10 seconds per queryFrom Ai2Sql's own page, pricing from this page
- Official MCP Registry
-
Listed as
io.ai2sql/ai2sql· published 4 Sep 2026 - How we know it's official
-
- Published in the official MCP Registry as io.ai2sql/ai2sql, a name only the owner of ai2sql.io can publish under.
- Documentation
- ai2sql.io/mcp
- Tools
- 8 tools · from Ai2Sql's documentation
- First seen
- 4 Sep 2026
- Last checked
-
Reachable ·
16 Nov 2026: reachable17 Nov 2026: reachable18 Nov 2026: reachable19 Nov 2026: reachable20 Nov 2026: reachable21 Nov 2026: reachable22 Nov 2026: reachable
- Uptime
- 100% · 56 of 56 checks reachable since 1 Oct 2026
AI2SQL tools (8)
The server needs sign-in before it lists its tools, so these are as Ai2Sql's documentation names them (read 3 Oct 2026). They may be out of date.
-
generate_sqlPlain English → SQL in the dialect you name, against your real schema when a connection is picked.
-
fix_sqlPaste a failing query and its error; get the corrected statement and why it broke.
-
optimize_sqlSlow query in, faster query out, with the reasoning and index hints.
-
explain_sqlLine-by-line explanation of what a query does.
-
convert_sqlTranslate between PostgreSQL, MySQL, SQL Server, Oracle, Snowflake, BigQuery, SQLite, MariaDB.
-
list_connectionsThe databases you connected at ai2sql.io: id, name, type.
-
describe_schemaTables and columns of one connection, so SQL uses real names.
-
run_queryRuns one SELECT / WITH read-only and returns up to 1,000 rows. Paid plans.
Connect your AI to Ai2Sql
Add the official Ai2Sql MCP server to Claude, ChatGPT or your editor.
Connect Ai2Sql MCP to Claude
Claude.ai and Claude Desktop
Open Customize, then Connectors.
Click +, then Add custom connector.
Name it Ai2Sql, paste the address below and click Add.
Connect Ai2Sql MCP to ChatGPT
Open Settings, then Apps, then Advanced settings.
Turn on Developer mode, then click Create.
Name it Ai2Sql and paste the address below.
ChatGPT usually only connects to servers with self-serve sign-in or none.
Connect Ai2Sql MCP to Cursor
Opens Cursor if it's installed. If nothing happens, use the JSON below.
Connect Ai2Sql MCP to VS Code
Opens VS Code if it's installed. Otherwise add the JSON settings from the Cursor tab to your .vscode/mcp.json.
Ai2Sql MCP server questions
Does Ai2Sql have an official MCP server?
Yes. Ai2Sql publishes its MCP server itself. It's in the official MCP Registry under Ai2Sql's own domain. MartechDB only lists servers a vendor publishes, never community copies.
What is the Ai2Sql MCP server URL?
The address is https://builder.ai2sql.io/api/chatgpt-mcp.
How do I connect Ai2Sql MCP to Claude, ChatGPT or Cursor?
In Claude, add https://builder.ai2sql.io/api/chatgpt-mcp as a custom connector (Customize, Connectors, Add custom connector). In Cursor, use the Add to Cursor link on MartechDB's page, or paste the JSON settings into your mcp.json. In Claude Code, run: claude mcp add --transport http ai2sql https://builder.ai2sql.io/api/chatgpt-mcp
What can the Ai2Sql MCP server do?
It offers 8 tools, including generate_sql, fix_sql, optimize_sql, explain_sql and convert_sql (as its documentation names them, read on 3 Oct 2026).
Is the Ai2Sql MCP server in the official MCP Registry?
Yes, as io.ai2sql/ai2sql.
Is the Ai2Sql MCP server free to use?
Yes, on a free plan or free quota. A card is needed to start. Plan needed: Free. It is included in the plan. Limits: Free: 5 SQL requests a day; run_query on paid plans, 1,000 rows and 10 seconds per query. From Ai2Sql's own pages, checked on 7 Oct 2026.
Is the Ai2Sql MCP server working?
Yes. It answered our most recent check. We last checked it on 22 Nov 2026.
What are the alternatives to Ai2Sql's MCP server?
In Developer tools, the most agent-friendly alternatives with an official MCP server are Devcycle (100/100), LaunchDarkly (97/100), Cekura (97/100), Linear (95/100) and Jam (95/100). Ai2Sql scores 72/100 on the same index.
Alternatives to Ai2Sql's MCP server
Vendors in Developer tools with an official MCP server, the most agent-friendly first. Ai2Sql scores 72/100.
Compare all 32 Developer tools vendors →Use with AI
Connect your AI to MartechDB
Then ask it about Ai2Sql, or any of the 1,850 marketing tools with an official MCP server. Free, no sign-in.
Claude.ai and Claude Desktop
Open Customize, then Connectors.
Click +, then Add custom connector.
Name it MartechDB, paste the address below and click Add. There's no sign-in.
The free plan allows one custom connector. On Team and Enterprise plans, an owner adds the connector first.
Claude Code
Run this in your terminal:
ChatGPT
Open Settings, then Apps, then Advanced settings.
Turn on Developer mode, then click Create.
Name it MartechDB, paste the address below and choose No authentication.
Developer mode is on Plus and Pro plans, and on Business, Enterprise and Edu if an admin allows it.
API
The same data as JSON, with no sign-in. See the OpenAPI description for every endpoint and field.
CLI
Search the directory and print the command to connect a vendor's server, from your terminal. Needs Node 18 or later. View on npm
Show that your MCP server is verified
If you work at Ai2Sql, add this badge to your MCP docs or README. It's free, it's the same for every vendor, and it updates from our daily checks: it shows uptime while the server responds, and says so if it stops.
Something wrong or out of date? Suggest a correction or email us, and we'll check it against the evidence. Every correction we make is listed on Corrections.