LocalFree

MySQL MCP server

musaddiq-dev/mysql-mcp-server

Python MCP server for MySQL database inspection and querying

0 GitHub stars1 forks

Install MySQL in Claude Code

Claude Code
claude mcp add musaddiq-dev-mysql -e MYSQL_DATABASE=... -- uvx mdev-mysql-mcp-server
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "musaddiq-dev-mysql": {
      "command": "uvx",
      "args": [
        "mdev-mysql-mcp-server"
      ],
      "env": {
        "MYSQL_DATABASE": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the MySQL MCP server do?

Python MCP server for MySQL database inspection and querying

Is the MySQL MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does MySQL run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add MySQL to Claude Code?

Run: claude mcp add musaddiq-dev-mysql -e MYSQL_DATABASE=... -- uvx mdev-mysql-mcp-server

More databases MCP servers

View all