MartechDB
MartechDB
Toggle sidebar

Ai2Sql MCP server

ai2sql.io

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 MCP server
Hosted
Sign-in: see vendor docs

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
Sign-in: see vendor docs
Vendor docs
Cost to use
Included in plan
Plan: Free · Free to start · Card needed to start
Free: 5 SQL requests a day; run_query on paid plans, 1,000 rows and 10 seconds per query
From 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.
Checked 22 Nov 2026.
Documentation
ai2sql.io/mcp
Tools
8 tools · from Ai2Sql's documentation
First seen
4 Sep 2026
Last checked
Reachable ·
16 Nov 2026: reachable
17 Nov 2026: reachable
18 Nov 2026: reachable
19 Nov 2026: reachable
20 Nov 2026: reachable
21 Nov 2026: reachable
22 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_sql

    Plain English → SQL in the dialect you name, against your real schema when a connection is picked.

  • fix_sql

    Paste a failing query and its error; get the corrected statement and why it broke.

  • optimize_sql

    Slow query in, faster query out, with the reasoning and index hints.

  • explain_sql

    Line-by-line explanation of what a query does.

  • convert_sql

    Translate between PostgreSQL, MySQL, SQL Server, Oracle, Snowflake, BigQuery, SQLite, MariaDB.

  • list_connections

    The databases you connected at ai2sql.io: id, name, type.

  • describe_schema

    Tables and columns of one connection, so SQL uses real names.

  • run_query

    Runs 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

  1. Open Customize, then Connectors.

  2. Click +, then Add custom connector.

  3. Name it Ai2Sql, paste the address below and click Add.

Claude Code

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

  1. Open Customize, then Connectors.

  2. Click +, then Add custom connector.

  3. 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.

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.

Official MCP server, verified by MartechDB
HTML
Markdown

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.