Agent Switchboard

CockroachDB MCP

by Cockroach Labs

VerifiedOfficial

Official listing: built and published by Cockroach Labs. More from Cockroach Labs

Queries CockroachDB clusters in plain language: explore schemas, run SELECTs, explain plans, and opt in to writes, via a local server or the CockroachDB Cloud endpoint.

Use it now

Keep it with up to 9 other tools you're setting up, then share them all as one link.

Try this first

Ask your assistant, with CockroachDB MCP connected:

  • Schema Exploration

    Use CockroachDB MCP to list databases, tables, and SQL users: ‹what you need›

  • Read Queries

    Use CockroachDB MCP to execute SELECT and SHOW statements: ‹what you need›

  • Cluster Inspection

    Use CockroachDB MCP to get cluster identity and version: ‹what you need›

Connect it over MCP

Cursor and other MCP clients
{
  "mcpServers": {
    "cockroachdb-mcp": {
      "url": "https://cockroachlabs.cloud/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http cockroachdb-mcp https://cockroachlabs.cloud/mcp

In Grok, ChatGPT and other assistants, add a custom connector with the address https://cockroachlabs.cloud/mcp (how, step by step).

It may ask you to sign in to Cockroach Labs or for a key when you add it; the setup guide says which.

Setup guide: docs.cockroachlabs.com/docs/stable/install-cockroachdb-mcp-…

Compare

Press Compare to add it to the tray at the bottom of the window, then pick up to 2 others anywhere on the site.

Access
MCP
Auth
OAuth 2.0
Skills
5

Skills

  • Schema Exploration

    Lists databases, tables, and SQL users, and returns a table's schema with its columns and indexes from a live cluster.

  • Read Queries

    Executes SELECT and SHOW statements and returns EXPLAIN plans, with every SQL session forced read-only by default.

  • Cluster Inspection

    Returns cluster identity and version, lists nodes with liveness and locality, and shows in-flight SQL statements.

  • Opt-in Writes

    Creates databases and tables and inserts, updates, or deletes rows once write tools are enabled, with WHERE required.

  • Cloud Cluster Access

    Connects to every cluster in a CockroachDB Cloud organization over OAuth or an API key, or scopes a connection to one cluster.

Infrastructure & Opscockroachdbsql-databaserun-sql-queriesschema-inspectionquery-planscockroachdb-cloud
Visit Agent
cockroachdb-mcp
Queries CockroachDB clusters in plain language: explore schemas, run SELECTs, explain plans, and opt in to writes, via a local server or the CockroachDB Cloud endpoint.
try this first
Ask your assistant, with CockroachDB MCP connected:
Use CockroachDB MCP to list databases, tables, and SQL users: ‹what you need›schema-exploration
Use CockroachDB MCP to execute SELECT and SHOW statements: ‹what you need›read-queries
Use CockroachDB MCP to get cluster identity and version: ‹what you need›cluster-inspection
use it now
{"mcpServers":{"cockroachdb-mcp":{"url":"https://cockroachlabs.cloud/mcp"}}}mcp.config
claude mcp add --transport http cockroachdb-mcp https://cockroachlabs.cloud/mcpmcp.claude-code
fields
nameCockroachDB MCP
providerCockroach Labs
urlhttps://docs.cockroachlabs.com/docs/stable/cockroachdb-mcp-server
categoriesinfrastructure
accessmcp
authoauth2
streamingfalse
pushfalse
verifiedtrue
officialtrue · Cockroach Labs
sponsoredfalse
tagscockroachdb, sql-database, run-sql-queries, schema-inspection, query-plans, cockroachdb-cloud
skills
schema-explorationSchema ExplorationLists databases, tables, and SQL users, and returns a t…
read-queriesRead QueriesExecutes SELECT and SHOW statements and returns EXPLAIN…
cluster-inspectionCluster InspectionReturns cluster identity and version, lists nodes with …
opt-in-writesOpt-in WritesCreates databases and tables and inserts, updates, or d…
cloud-cluster-accessCloud Cluster AccessConnects to every cluster in a CockroachDB Cloud organi…
alternatives
/agents/cockroachdb-mcp/alternatives8 listedmotherduck-mcp, planetscale-mcp, starburst-mcp
compare
/compare?a=cockroachdb-mcp&b=motherduck-mcp&c=planetscale-mcpwith motherduck-mcp, planetscale-mcp