Resources · Claude connector

Claude PlanetScale connectorWhat Claude can do in your PlanetScale account.

The Claude PlanetScale connector exposes 15 tools: 14 read, 1 write. Claude browses your organisations, databases and branches, reads schemas and Insights, runs SQL and checks invoices. One tool can run write queries, and PlanetScale puts guards around it.

Verified Trustpilot reviews · AI, automation & growth agency

Overview

What changes when Claude can reach your PlanetScale databases

Instead of switching between the PlanetScale console, a SQL client and the Insights tab, you describe what you need and Claude does the legwork: it finds the right branch, reads its schema, runs a query and explains the result. Most of the 15 tools only look. A single one runs write SQL, and that is where your attention belongs.

See how queries perform. planetscale_get_insights returns query performance insights for a database branch, so Claude can lay out in the reply what PlanetScale measured on that branch.

Answer a data question without writing SQL. Claude reads the table layout with planetscale_get_branch_schema, then runs a SELECT through planetscale_execute_read_query, which goes to a replica by default when the branch has one.

Explain the bill. planetscale_get_invoice_line_items returns every line of an invoice, with prorated costs broken down per database branch.

What it will not do on its own: PlanetScale blocks UPDATE or DELETE without a WHERE clause and refuses TRUNCATE, and schema changes make the model ask for human confirmation first. Nothing runs on a schedule either: Claude acts only while it answers. For jobs that must fire by themselves, an automation platform is the better fit; our Integrations hub lists them.

Vocabulary

Five words before you connect

Claude's vocabulary for this connector, in one minute.

Connector
The link you set up once between Claude and an account you already have, so Claude can work on it while it answers you.
Tool
One named thing the connector lets Claude do. Claude picks the ones it needs by itself; the directory lists them by name.
Authorization
PlanetScale's own sign-in screen, where you grant Claude the access it will use. Given once per person, and it can be withdrawn.
Approval
The confirmation Claude waits for before something that changes an account, shown in the conversation at the moment it matters.
MCP
The shared standard connectors are built on, the piece that lets an assistant talk to an outside service like PlanetScale.
Connect

Connect PlanetScale to Claude in three steps

  1. 01

    Find PlanetScale in Claude

    Open Claude's settings, go to Customize then Connectors, and look for PlanetScale in the list. On a Team or Enterprise workspace, an Owner or Primary Owner has to enable it for the organisation before members can sign in.

  2. 02

    Start the connection

    Click Connect on its row, then sign in to PlanetScale in the window PlanetScale opens itself. If the link breaks later, use Disconnect and connect again.

  3. 03

    Choose the access carefully

    PlanetScale's authorization screen is where you decide, per organisation or per database, whether Claude gets no access, read-only access or full access. It belongs to PlanetScale, not to Claude, and it sets what every later query can reach.

Tools

The 15 tools, sorted by what they do

PlanetScale gives Claude 15 tools: 14 that read your account, 1 that change something in it.

Fourteen read and one writes, and PlanetScale's documentation describes each. Names stay exactly as Claude shows them.

  • 14 read
  • 1 write

What Claude reads (14)

14 tools

Fourteen tools that look at organisations, databases, performance and billing without altering them.

planetscale_list_organizations

Returns every PlanetScale organisation that the access you granted can reach. Organisations sit at the top of PlanetScale's structure, above databases and branches, and they are also one of the two levels at which you set the connector's scope.

When it helps
your PlanetScale login belongs to several organisations and you want to see which ones Claude reaches.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_list_databases

Lists all the databases inside one organisation. Database names are what the schema, branch, query and Insights tools then work on, and a database is the second level at which PlanetScale lets you grant or refuse access.

When it helps
you want the full list of databases an organisation holds before asking about one of them.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_list_branches

Enumerates every branch of a single database. On PlanetScale, schema, Insights and invoice line items are all tied to a branch, so this list is what the branch-level tools build on.

When it helps
a database has several branches and you need their names before going further.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_organization

Brings back the details PlanetScale holds about one specific organisation, rather than the bare list of names. It only reads that organisation's record, within the scope you granted.

When it helps
you want the details of one organisation without opening the PlanetScale console.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_database

Fetches the details of one specific database inside an organisation. Where the list tool gives names, this one returns what PlanetScale records about a single database.

When it helps
you need the details of one database, not the whole list, before running anything against it.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_branch

Looks up one database branch and reports the details PlanetScale keeps on it. It works on a single branch, as opposed to the listing tool that returns all of them.

When it helps
you want to check the details of the branch you are about to query.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_branch_schema

Reads the schema of a database branch, as PlanetScale stores it. Knowing the tables and their columns is what lets a SELECT be written against the right names instead of guessed ones.

When it helps
you want to know how a branch's tables are laid out before asking a data question.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_execute_read_query

Runs a read-only SQL query, limited to SELECT, SHOW, DESCRIBE or EXPLAIN, against a PlanetScale database. It goes to a replica by default and can be sent to the primary instead; on Postgres it returns a warning when row-level security may filter the results.

When it helps
you want a count or a lookup without opening a SQL client.
Watch out
an empty Postgres result may mean rows are filtered by security policies, not that the table is empty.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_insights

Retrieves the query performance insights PlanetScale computes for one database branch. PlanetScale also offers an insights-only server that keeps this kind of data but drops both query tools.

When it helps
you want PlanetScale's performance figures for a branch read back in the conversation.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_list_regions_for_organization

Lists every region available to one organisation. The answer is specific to that organisation, so two organisations may not get the same list. It reads the options and does not move any database.

When it helps
you want to know which regions an organisation can use before asking anything else about it.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_list_cluster_size_skus

Shows all the cluster size SKUs PlanetScale makes available. It is a reference list of sizes, with no effect on your clusters: resizing is not among the 15 tools on the sheet.

When it helps
you want the list of cluster sizes on offer.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_list_invoices

Pulls every invoice PlanetScale has issued to one organisation. It returns the invoices themselves; the breakdown of a single invoice by branch comes from the line-items tool.

When it helps
you need an organisation's invoice history without going through the billing pages.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_get_invoice_line_items

Breaks one invoice into all its line items, with prorated costs per database branch. That per-branch split is what PlanetScale's description singles out for this tool.

When it helps
you want to see which branches an invoice's costs are attached to.

Sourceplanetscale.com · September 10, 2026 ↗

planetscale_search_documentation

Searches PlanetScale's documentation, so an answer about the product can rest on the vendor's own pages. It touches the documentation, not your databases.

When it helps
you have a question about how PlanetScale works and want it answered from the official docs.

Sourceplanetscale.com · September 10, 2026 ↗

What Claude can change (1)

1 tool

One tool that runs write SQL. PlanetScale adds its own safeguards; Claude's general approval rule below also applies.

planetscale_execute_write_query

Approval: see the rule

Executes INSERT, UPDATE, DELETE or DDL statements on a PlanetScale database. PlanetScale refuses UPDATE or DELETE without a WHERE clause, blocks TRUNCATE outright, and has DDL such as CREATE, DROP or ALTER prompt the model to ask for human confirmation.

What Claude asks for
PlanetScale documents that confirmation step for DDL only; for other writes, Claude's general approval rule applies.
When it helps
a few rows need correcting and you have granted write access.

Sourceplanetscale.com · September 10, 2026 ↗

Approvals

What Claude asks before acting

By default, Claude stops and asks for your go-ahead before any action it takes on an account for you. Here that matters for one tool, the write query, where PlanetScale also adds its own checks.

On Team and Enterprise, workspace owners decide whether a member may let some actions through without being asked each time. They can also limit what a connector may do across the organisation, for example keep reading and close writing, and nobody overrides that from their own account. Claude works with the rights of the person who connected and with the scope chosen on PlanetScale's screen: no access, read-only or full, per organisation or per database. Official per-tool labels appear only inside a connected account's settings.

Plans

Which plans include it

None of the 819 sheets in the official directory shows availability by plan. For PlanetScale, as for every other connector, that answer is published nowhere.

What is published is the general rule: remote connectors are open to all users on Claude, Cowork, Claude Desktop and mobile. On Team and Enterprise, an Owner or Primary Owner enables the connector for the organisation before members sign in. For the current state of this one, check its sheet in the official directory. Worth knowing: only PlanetScale documents this connector; no Claude help article covers it.

Limits

Where this connector stops

A connector is not an automation. Claude calls these tools while it replies to you; nothing fires when a query slows down or an invoice arrives.

The directory's verification badge is not a security audit, and Anthropic states on every sheet that it does not choose the tools a publisher exposes or guarantee how they behave. PlanetScale itself urges caution before giving a language model write access to a production database and asks you to review queries before they run. Its documentation also lists more tools than the directory sheet shows; this page covers only the 15 on the sheet.

Need help

Need help connecting PlanetScale to Claude?

A person reads every message.

FAQ

Questions about the Claude PlanetScale connector

01What can Claude do with the PlanetScale connector?
Claude can explore and query your PlanetScale databases from a conversation. Its tools list organisations, databases and branches, read their details and schemas, run read queries and write queries, fetch performance Insights, list regions and cluster sizes, pull invoices with per-branch costs, and search PlanetScale's documentation. Fourteen of the fifteen tools only read. PlanetScale's own documentation describes every one of them, and a separate server exists if you want Insights without any query execution.
02Can Claude change or delete data in PlanetScale?
Yes, through one tool. planetscale_execute_write_query runs INSERT, UPDATE, DELETE and schema-changing statements. PlanetScale blocks UPDATE or DELETE without a WHERE clause, refuses TRUNCATE, and makes schema changes prompt for human confirmation. Whether that write tool works at all depends on the access you granted on PlanetScale's screen: with read-only scope it stays out of reach. PlanetScale advises caution before giving a language model write access to a production database, and recommends reviewing every query before it runs.
03Does Claude ask before running a query?
By default, Claude asks for confirmation before any action it takes on an account for you. On top of that, PlanetScale states that schema changes such as CREATE, DROP or ALTER prompt for human confirmation. No source describes a specific confirmation for ordinary INSERT or UPDATE statements beyond Claude's general rule. On Team and Enterprise workspaces, owners decide whether members may skip some prompts, and can close writing for the whole organisation.
04Which Claude plans include the PlanetScale connector?
No official source publishes plan availability connector by connector, and PlanetScale is no exception. The general rule is that remote connectors are open to all users on Claude, Cowork, Claude Desktop and mobile, and that on Team and Enterprise an Owner or Primary Owner must enable a connector first. The connector's sheet in the Claude directory is the only place showing its current status for your account, so check it there.
05Does Claude see every database in my PlanetScale account?
Only what you allow. When you authorise the connector, PlanetScale lets you set no access, read-only access or full access at the organisation level or database by database. Claude works within that scope and within your own rights. If you later need to widen or narrow it, PlanetScale advises re-authenticating the connector from your client. On Postgres, row-level security still applies to read queries, so some rows may stay hidden.
06Why does a query return zero rows on Postgres?
Possibly because of row-level security rather than an empty table. PlanetScale explains that read queries on Postgres run with a short-lived role that does not bypass these policies. The read tool returns a warning when those policies may be filtering the results. Read that warning before concluding the data is missing. On Postgres, the server also connects to the default postgres database unless told otherwise. PlanetScale's own wording is plain: a zero-row result does not necessarily mean the table is empty.
07Should I use Claude or an automation tool with PlanetScale?
They do different jobs, so pick by use rather than ranking. Claude with this connector shines at questions in the moment: why a query is slow, what a table holds, which branch inflated the invoice. It does not watch your databases or run anything on a timer. Nightly exports, scheduled reports or alerts on slow queries are the work of an automation platform that runs without anyone in the conversation.