Get answers from your MySQL data, in Claude, Cursor, or ChatGPT

Ask Claude, Cursor, ChatGPT, or any other MCP client something like "how many accounts have two-factor auth turned on?" and it queries your live MySQL or MariaDB database for the real answer. SaturnSQL's hosted MCP server gives it the tools, no local process or connection string in a config file.

ClaudeMCP · mysql
You
Which products had the most returns last month?
execute_query
SELECT p.name, COUNT(*) AS returns
FROM returns r
JOIN products p ON p.id = r.product_id
WHERE r.created_at >= DATE_SUB(NOW(), INTERVAL 1 MONTH)
GROUP BY p.name
ORDER BY 2 DESC
LIMIT 5;
namereturns
Wireless Mouse24
USB-C Hub17
Desk Lamp11
Claude
Wireless Mouse leads with 24 returns last month.

Setup

1. Add your MySQL connection in SaturnSQL (host, port, database, credentials, over SSL or an SSH tunnel).

2. Click your name in the sidebar, then Install MCP, and pick your client: Claude, ChatGPT, Cursor or Claude Code. You add https://mcp.saturnsql.com/mcp and sign in with your SaturnSQL account, with no API key to copy.

From there your AI client can list tables, inspect columns and indexes, and run SQL against the database, scoped to the same read-only, row-limited execution SaturnSQL uses everywhere else.

Why not a self-hosted MySQL MCP server?

Self-hosted options exist, but they mean running a local process and putting a raw connection string in a config file, with no shared query library. SaturnSQL's connector reuses a connection you've already secured, and every query your AI client saves lands in the same library your team already uses.

Common questions

Does it work with MariaDB too? Yes, MySQL and MariaDB connect the same way.

Can I limit what my AI client can see? Connect with a MySQL user granted access to only the schemas you want exposed. See setting up a read-only database user.

What plan do I need? The MCP connector requires the Starter plan or higher, same as MySQL connections themselves.

Other databases

Not on MySQL? Claude, ChatGPT, Cursor, and Claude Code all connect to PostgreSQL, Oracle, BigQuery, SQL Server, ClickHouse, and Redshift the same way, or see the full MCP server overview for the rest.

Get answers from your MySQL data in Claude, Cursor, or ChatGPT