AI2SQL
Claude connectorCommunityAsk Claude questions about your PostgreSQL, MySQL or SQL Server database. It writes the SQL and runs it read-only.
Ask Claude questions about your own database in plain English. AI2SQL gives Claude your real table and column names, writes the SQL and runs it as a read-only query, so the answer comes from your data.
Try it first on demo_shop, a sample store every account can query: "Use AI2SQL to show the top 5 customers by revenue this year in demo_shop"
What it does:
- Get started: see the databases in your account, what your plan includes, and example questions to ask.
- Connect a database: get a link to connect PostgreSQL, MySQL or SQL Server in AI2SQL, including Supabase, Neon, AWS RDS and Azure. Credentials are entered in AI2SQL, never in Claude.
- List your databases and read their tables and columns, so queries use real names.
- Run a single read-only SELECT or WITH query and return up to 1,000 rows. Writes and DDL are rejected.
- Generate SQL from a plain-English request for PostgreSQL, MySQL, SQL Server, SQLite, Oracle, Snowflake, BigQuery and MariaDB.
- Fix, optimize, explain and convert SQL you already have.
Database on your own machine or network? Save its schema in AI2SQL and Claude writes SQL that matches it.
How it works: you sign in with your AI2SQL account over OAuth, and every tool follows your AI2SQL plan. A free account can generate a limited number of queries each day, browse its databases and query demo_shop. Querying your own databases, saving a local schema, and fixing, optimizing, explaining and converting SQL are part of the paid plans, each of which starts with a 7-day free trial. No tool can change or delete data in your database.
- Tools
- 10
exposed by this connector
Movement
From our daily snapshots over the last 30 days.
Rank by popularity
Rank by trending score
Popularity score
Trending score
4 listing changes logged · latest Oct 6: Description, Tools, Categories and 1 more. See what changed
In its categories
How this connector compares with others in the same category. Positions are counted within the category, not across the whole directory.
Data analytics729th of 2,740 by popularity · not ranked by trending score
| # | Connector | Popularity | Trending | 7d |
|---|---|---|---|---|
| 727 | 8,055 | 10,662 #934 | 117places down | |
| 728 | 8,033 | 15,290 #666 | — | |
| 729 | 8,028 | — | 221places up | |
| 730 | 8,017 | — | 163places down | |
| 731 | 8,017 | — | 59places down |
This connector isn’t ranked by trending score, so the category’s top connectors are shown instead.
| # | Connector | Trending | Popularity | 7d |
|---|---|---|---|---|
| 1 | 29,445,468 | 12,305 #156 | — | |
| 2 | 1,983,480 | 8,531 #622 | 3places up | |
| 3 | 507,188 | 7,845 #770 | — | |
| 4 | 483,976 | 7,129 #943 | 71places up | |
| 5 | 483,162 | 7,827 #778 | 563places up |
Developer tools341st of 1,310 by popularity · not ranked by trending score
| # | Connector | Popularity | Trending | 7d |
|---|---|---|---|---|
| 339 | 8,050 | — | 158places down | |
| 340 | 8,033 | 13,057 #324 | 5places down | |
| 341 | 8,028 | — | 221places up | |
| 342 | 8,006 | 34,908 #95 | 138places up | |
| 343 | 7,983 | 10,806 #379 | 41places down |
This connector isn’t ranked by trending score, so the category’s top connectors are shown instead.
| # | Connector | Trending | Popularity | 7d |
|---|---|---|---|---|
| 1 | 35,616,504 | 12,702 #72 | — | |
| 2 | 1,059,790 | 12,502 #76 | — | |
| 3 | 450,704 | 13,335 #56 | 10places down | |
| 4 | 262,839 | 7,229 #426 | 67places up | |
| 5 | 252,724 | 13,970 #45 | 26places down |
Productivity1,070th of 4,005 by popularity · not ranked by trending score
| # | Connector | Popularity | Trending | 7d |
|---|---|---|---|---|
| 1068 | 8,050 | — | 158places down | |
| 1069 | 8,033 | 13,239 #1076 | 45places down | |
| 1070 | 8,028 | — | 221places up | |
| 1071 | 8,022 | — | 150places down | |
| 1072 | 8,011 | 13,621 #1050 | 128places down |
This connector isn’t ranked by trending score, so the category’s top connectors are shown instead.
| # | Connector | Trending | Popularity | 7d |
|---|---|---|---|---|
| 1 | 4,718,560 | 10,415 #607 | — | |
| 2 | 4,208,811 | 13,413 #256 | — | |
| 3 | 1,059,790 | 12,502 #339 | — | |
| 4 | 483,976 | 7,129 #1331 | 71places up | |
| 5 | 483,162 | 7,827 #1124 | 563places up |
Also on other marketplaces
Tools
- connect_database
- convert_sql
- describe_schema
- explain_sql
- fix_sql
- generate_sql
- get_started
- list_connections
- optimize_sql
- run_query
- Sign-in
- Required
- Connector URL
- https://builder.ai2sql.io/api/claude-mcp
- Transport
- Streamable HTTP
- Works with
- Claude, Claude API, Claude Code, Claude Desktop
- Added
- September 27, 2026
- More info
- Sponsorship
- Promote this connector