# PlanetScale

> PlanetScale is an MCP server for databases. Connect to PlanetScale databases, branches, schema, query insights, and execute SQL. It runs as a hosted remote server, so there is nothing to install locally.

- **Kind:** MCP server
- **Website:** https://planetscale.com/docs/connect/mcp
- **Repository:** https://github.com/planetscale/mcp-server
- **MCP Registry name:** io.github.planetscale/mcp-server
- **Categories:** databases
- **Listing updated:** 2026-11-13

## About

Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

## Install

### Claude Code (Terminal)

```sh
claude mcp add --transport http mcp-server https://mcp.pscale.dev/mcp/planetscale
```

### Claude Desktop (Settings → Connectors → Add custom connector)

```sh
https://mcp.pscale.dev/mcp/planetscale
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "url": "https://mcp.pscale.dev/mcp/planetscale"
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.pscale.dev/mcp/planetscale"
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-server": {
      "serverUrl": "https://mcp.pscale.dev/mcp/planetscale"
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-server": {
      "type": "http",
      "url": "https://mcp.pscale.dev/mcp/planetscale"
    }
  }
}
```

## FAQ

### How do I add PlanetScale to Claude Code?

Run this command in your terminal: claude mcp add --transport http mcp-server https://mcp.pscale.dev/mcp/planetscale

### What are the best alternatives to PlanetScale?

The closest alternatives to PlanetScale are Midplane, PlatypusDB, Lorebase, Sovaria and model2data studio.

## Alternatives

- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [PlatypusDB](https://ai-powered.com/mcp/platypusdb): PlatypusDB is an open-source MCP server for databases.
- [Lorebase](https://ai-powered.com/mcp/lorebase): Lorebase is an open-source MCP server for knowledge and memory.
- [Sovaria](https://ai-powered.com/mcp/sovaria): Sovaria is a freemium MCP server for databases.
- [model2data studio](https://ai-powered.com/mcp/model2data-studio): model2data studio is a freemium MCP server for databases.
- [semlayer](https://ai-powered.com/mcp/semlayer): semlayer is a free MCP server for databases.
- [bricksentry](https://ai-powered.com/mcp/bricksentry): bricksentry is an open-source MCP server for databases.
- [MCP Toolbox for Databases](https://ai-powered.com/mcp/mcp-toolbox-for-databases-2): MCP Toolbox for Databases is an open-source MCP server for databases.

---
Source: https://ai-powered.com/mcp/planetscale
