The PlanetScale CLI includes an MCP server that provides AI tools direct access to your PlanetScale databases.
To add planetscale/mcp to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation.
Install
npx -y planetscale-mcpInstall with your client
claude mcp add planetscale -- npx -y planetscale-mcp
Run this in a terminal to add the server to Claude Code.
What this does
planetscale/mcp exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.
Frequently asked questions
How do I install planetscale/mcp?
Run the Claude Code command in the install section to add planetscale/mcp to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.
Which clients work with planetscale/mcp?
This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to planetscale/mcp as well.
Does planetscale/mcp need an API key?
This listing does not ask for an API key or any environment variables.
What license is planetscale/mcp under?
planetscale/mcp is listed under the Apache-2.0 license.
Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.
Is this your MCP server?
Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.
Add this badge to your README
Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.
[](https://clauderules.net/mcp/planetscale-mcp)<a href="https://clauderules.net/mcp/planetscale-mcp" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/planetscale-mcp" alt="Listed on clauderules.net" /></a>More Go MCP servers
mindsdb/mindsdb
Connect and unify data across various platforms and databases with .
mickaelkerjean/filestash
🏎️ ☁️ - Remote Storage Access: SFTP, S3, FTP, SMB, NFS, WebDAV, GIT, FTPS, gcloud, azure blob, sharepoint, etc.
Higress MCP Server Hosting
A solution for hosting MCP Servers by extending the API Gateway (based on Envoy) with wasm plugins.
lharries/whatsapp-mcp
🐍 🏎️ - An MCP server for searching your personal WhatsApp messages, contacts and sending messages to individuals or groups
