Skip to content

CockroachDB Cloud MCP server

  • MCP server
  • 12 callable tools
  • 6 capabilities
Installation guide

Overview

Cockroach Labs' managed MCP server that lets AI coding tools and agents access the clusters in a CockroachDB Cloud organization. It works with CockroachDB clusters, exploring schemas and running SQL statements.

Capabilities:

  • List clusters, databases, tables and table schemas
  • Run SELECT, EXPLAIN and SHOW statements against cluster data
  • Show currently executing queries
  • Create databases and tables
  • Insert rows into tables
  • Limit a connection to a single cluster

Works with

The products your agent can work with through this server.

Tools

The callable functions your agent uses to work with this server.

CockroachDB Cloud MCP server tools
ToolWhat it does
list_clustersList all accessible clusters.
get_clusterGet detailed cluster information.
list_databasesList databases in the cluster.
list_tablesList tables in a database.
get_table_schemaGet detailed schema for a table.
select_queryExecute a SELECT statement.
explain_queryExecute an EXPLAIN statement.
show_statementExecute a SHOW statement.
show_running_queriesList currently executing queries.
create_databaseCreate a new database.
create_tableCreate a new table.
insert_rowsInsert rows into a table.

Installation

Add CockroachDB Cloud MCP server to Claude Code

Run this in your terminal:

claude mcp add --transport http cockroachdb-cloud https://cockroachlabs.cloud/mcp

If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.

Other servers for the same products, or from the same vendor.

Sources

Documentation and source code reviewed on 19 November 2026.