Install MySQL (read-only, switchable) in Claude Code
npm
claude mcp add mysql-read-only-switchable -- npx -y @shibbirweb/mcp-mysql-read-only{
"mcpServers": {
"mysql-read-only-switchable": {
"command": "npx",
"args": [
"-y",
"@shibbirweb/mcp-mysql-read-only"
]
}
}
}Docker
claude mcp add mysql-read-only-switchable -- docker run -i --rm docker.io/shibbirweb/mcp-mysql-read-only:1.1.6{
"mcpServers": {
"mysql-read-only-switchable": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/shibbirweb/mcp-mysql-read-only:1.1.6"
]
}
}
}Frequently asked questions
What does the MySQL (read-only, switchable) MCP server do?
Read-only MySQL access, with the database and server switchable mid-conversation.
Is the MySQL (read-only, switchable) 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 (read-only, switchable) 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 (read-only, switchable) to Claude Code?
Run: claude mcp add mysql-read-only-switchable -- npx -y @shibbirweb/mcp-mysql-read-only
More databases MCP servers
View allMySQL Audit
jimmyjan0824/mysql_audit_ai_agent
MySQL migration and query safety review for AI agents: locks, table copies, data loss, injection.
Mosta Net
apolocine/mosta-net
1 MCP server, 13 databases, zero config. Multi-protocol transport with Auth + RBAC.
N3MemoryCore Lite (Working Memory)
NeuralNexusNote/n3mcmcp-lite
Ephemeral 7-day hybrid vector+BM25 working memory, multilingual, backed by Redis Stack.
Mobility Database
pipeworx-io/mcp-mobility-database
MobilityData's open catalogue of public-transport feeds — ~4,500 GTFS schedule feeds and ~1,900…
Nber Macrohistory
pipeworx-io/mcp-nber-macrohistory
NBER Macrohistory Database — the National Bureau of Economic Research's 'Public Use Data Archive'…
Mini App
ynishi/mini-app-mcp
Agent-First CRUD store MCP server — 1 daemon per table, schema.yaml driven, SQLite backend