Skip to main content
ClaudeWave

MySQL MCP server: connect MySQL to Claude, ChatGPT, Cursor and Claude Code. Hosted remote MCP for schemas, tables, SQL and database health for MySQL and MariaDB.

MCP ServersOfficial Registry0 stars0 forksMITUpdated 10d ago
ClaudeWave Trust Score
95/100
✓ Verified
Passed
  • ✓Open-source license (MIT)
  • ✓Actively maintained (<30d)
  • ✓Clear description
  • ✓Topics declared
  • ✓Documented (README)
Last scanned: 10/21/2026
Install in Claude Code / Claude Desktop
Method: Manual
Claude Code CLI
git clone https://github.com/Insightful-Pipe/mysql-mcp-server
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mysql": {
      "command": "node",
      "args": ["/path/to/mysql-mcp-server/dist/index.js"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Clone https://github.com/Insightful-Pipe/mysql-mcp-server and follow its README for install instructions.
Use cases

MCP Servers overview

# MySQL MCP Server by Insightful Pipe

[![MCP Compatible](https://img.shields.io/badge/MCP-Compatible-blue)](https://insightfulpipe.com/mcp-servers/mysql)
[![Insightful Pipe](https://img.shields.io/badge/Insightful_Pipe-MCP_Servers-purple)](https://insightfulpipe.com/mcp-servers)
[![License](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)

> **Connect MySQL to AI assistants: schemas, tables, SQL and database health for MySQL and MariaDB.**

Part of the [Insightful Pipe MCP Server Collection](https://insightfulpipe.com/mcp-servers) — use MySQL from Claude, ChatGPT, Cursor, and other AI assistants through the Model Context Protocol (MCP).

<img src="images/mysql-icon.svg" alt="MySQL MCP Server" width="64" height="64">

## MCP Server URL

```
https://mysql.insightfulmcp.com/
```

## What is MySQL MCP?

MySQL MCP is a **remote Model Context Protocol server** hosted by InsightfulPipe. Browse schemas, inspect tables, and run SQL against your own MySQL or MariaDB instance. Read vs. read-write is decided by the GRANT/REVOKE privileges on the role this connector logs in as.

## Installation

### Claude

1. Copy the MCP Server URL: `https://mysql.insightfulmcp.com/`
2. Open [Claude Connectors Settings](https://claude.ai/settings/connectors)
3. Scroll to the bottom and click **Add custom connector**
4. Paste the URL and click **Add**
5. Click **Connect** and sign in to InsightfulPipe if asked. Claude then lists the connector as connected.

### ChatGPT

Custom MCP servers are added through ChatGPT's **Developer mode**. Availability depends on your ChatGPT plan, and workspace admins may need to allow it.

1. Turn on **Developer mode** in ChatGPT settings
2. Create a new app for a remote MCP server and paste the URL: `https://mysql.insightfulmcp.com/`
3. Sign in to InsightfulPipe if asked. The connection finishes as soon as you are signed in.

See OpenAI's guide: [Developer mode and MCP apps in ChatGPT](https://help.openai.com/en/articles/12584461-developer-mode-and-mcp-apps-in-chatgpt)

### Claude Code

```bash
claude mcp add --transport http mysql https://mysql.insightfulmcp.com/
```

### Cursor

Add the server to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (one project):

```json
{
  "mcpServers": {
    "mysql": {
      "url": "https://mysql.insightfulmcp.com/"
    }
  }
}
```

When Cursor shows **Needs authentication**, click **Connect** and sign in to InsightfulPipe if asked.

## Available Actions

8 actions: 7 read, 1 write.

### Read Actions (7)

| Action | Description |
|--------|-------------|
| `analyze_db_health` | Connection pool + buffer pool size + tables with reclaimable space |
| `explain_query` | EXPLAIN plan for a query |
| `get_table_metadata` | Full metadata: columns + constraints + indexes + estimated size |
| `get_table_schema` | Column list (name, data_type, is_nullable, default) for a table or view |
| `get_top_queries` | Heaviest queries from performance_schema.events_statements_summary_by_digest |
| `list_schemas` | List all schemas (databases) on the server |
| `list_tables` | List tables, views, or plugins in a schema |

### Write Actions (1)

| Action | Description |
|--------|-------------|
| `run_query` | Execute a SQL statement |

## Control What Your AI Can Do

You decide what AI agents can do with each connected account:

- **Turn individual actions on or off** for every connected account, so agents only see the actions you allow.
- **Connect as Read-only or Read & Write.** A read-only connection can only enable read actions.
- **Destructive actions stay off by default.** Actions such as deletes are disabled until an admin enables them.
- **Team access per account.** Restricted team members only use the accounts they are granted, with the read actions enabled on them.

## Usage Examples

```
"List the tables in my database"
```

```
"Show the schema of the orders table"
```

```
"Run a query for revenue by month"
```

## Pricing

The MySQL MCP server is included in every InsightfulPipe plan, together with all other MCP servers and the CLI. Plans start at $29.99/month, and you can try it for 7 days. See [insightfulpipe.com/pricing](https://insightfulpipe.com/pricing) for current plans.

## Explore More MCP Servers by Insightful Pipe

Visit **[insightfulpipe.com/mcp-servers](https://insightfulpipe.com/mcp-servers)** to discover our full collection of MCP servers.

- [PostgreSQL MCP](https://insightfulpipe.com/mcp-servers/postgresql)
- [SQL Server MCP](https://insightfulpipe.com/mcp-servers/mssql)
- [BigQuery MCP](https://insightfulpipe.com/mcp-servers/bigquery)

**[View All MCP Servers →](https://insightfulpipe.com/mcp-servers)**

## Resources

- [Documentation](https://insightfulpipe.com/docs)
- [Video Tutorial](https://www.youtube.com/playlist?list=PLJNzvjxzI5Xwe__BJJLAelSF0ewO3mEFk)
- [InsightfulPipe Blog](https://insightfulpipe.com/blog)

## Support

- **Documentation**: [insightfulpipe.com/docs](https://insightfulpipe.com/docs)
- **All MCP Servers**: [insightfulpipe.com/mcp-servers](https://insightfulpipe.com/mcp-servers)
- **Email**: support@insightfulpipe.com

---

**[Insightful Pipe](https://insightfulpipe.com)** — AI-powered marketing analytics through MCP servers. [Explore all integrations →](https://insightfulpipe.com/mcp-servers)

## License

MIT License - see [LICENSE](LICENSE) for details.
ai-agentschatgptclaudecursordatabasemariadbmcpmcp-servermodel-context-protocolmysqlsql

What people ask about mysql-mcp-server

What is Insightful-Pipe/mysql-mcp-server?

+

Insightful-Pipe/mysql-mcp-server is mcp servers for the Claude AI ecosystem. MySQL MCP server: connect MySQL to Claude, ChatGPT, Cursor and Claude Code. Hosted remote MCP for schemas, tables, SQL and database health for MySQL and MariaDB. It has 0 GitHub stars and its last recorded update is dated 2026-10-10.

How do I install mysql-mcp-server?

+

You can install mysql-mcp-server by cloning the repository (https://github.com/Insightful-Pipe/mysql-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is Insightful-Pipe/mysql-mcp-server safe to use?

+

Our security agent has analyzed Insightful-Pipe/mysql-mcp-server and assigned a Trust Score of 95/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains Insightful-Pipe/mysql-mcp-server?

+

Insightful-Pipe/mysql-mcp-server is maintained by Insightful-Pipe. The last recorded GitHub activity is dated 2026-10-10, with 0 open issues.

Are there alternatives to mysql-mcp-server?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mysql-mcp-server to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: Insightful-Pipe/mysql-mcp-server
[![Featured on ClaudeWave](https://claudewave.com/api/badge/insightful-pipe-mysql-mcp-server)](https://claudewave.com/repo/insightful-pipe-mysql-mcp-server)
<a href="https://claudewave.com/repo/insightful-pipe-mysql-mcp-server"><img src="https://claudewave.com/api/badge/insightful-pipe-mysql-mcp-server" alt="Featured on ClaudeWave: Insightful-Pipe/mysql-mcp-server" width="320" height="64" /></a>

More MCP Servers

mysql-mcp-server alternatives