cockroachdb
Connect Claude Code directly to your CockroachDB clusters for hands-on database work — explore schemas, write optimized SQL, debug queries, and manage distributed database clusters. This plugin provides 14 tools across two active MCP backends (self-hosted MCP Toolbox and managed CockroachDB Cloud MCP Server), three specialized agents (DBA, Developer, Operator), 32 skills across 6 operational domains, and built-in safety hooks.
/plugin install cockroachdb@claude-plugins-officialHow to start
- Paste the command into Claude Code and press Enter.
- Set COCKROACHDB_HOST, COCKROACHDB_PORT, COCKROACHDB_USER, COCKROACHDB_PASSWORD, COCKROACHDB_DATABASE, COCKROACHDB_SSLMODE, COCKROACHDB_CLUSTER_ID in your shell, then restart Claude Code.
- Just ask Claude. Its agents step in when your request fits.
What it adds
3 agents · 2 hooks · 3 MCP servers
Agents Claude hands work to these
cockroachdb-dbaCockroachDB database administration agent. Use when diagnosing performance issues, reviewing schema designs, analyzing query plans, troubleshooting cluster pro…cockroachdb-developerCockroachDB application developer agent. Use when building applications on CockroachDB, configuring ORMs/drivers, implementing transaction retry logic, optimiz…cockroachdb-operatorCockroachDB operator and SRE agent. Use when managing cluster operations, monitoring, alerting, incident response, backup/restore, scaling, version upgrades, n…
Hooks Run on their own at these moments
PreToolUseBefore Claude uses a tool.PostToolUseAfter Claude uses a tool.
MCP servers Connections it sets up for you
cockroachdb-toolboxRuns locally with toolboxcockroachdb-toolbox-httpRemote server at 127.0.0.1:5000cockroachdb-cloudRemote server at cockroachlabs.cloud
Read from the plugin's own files in cockroachdb/claude-plugin, 26 Oct 2026.
What it needs
COCKROACHDB_HOSTSet it in your shell before you start Claude Code. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_PORTSet it in your shell before you start Claude Code. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_USERSet it in your shell before you start Claude Code. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_PASSWORDSet it in your shell before you start Claude Code. Secret: keep it out of your repo. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_DATABASESet it in your shell before you start Claude Code. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_SSLMODESet it in your shell before you start Claude Code. Read by its cockroachdb-toolbox MCP server.COCKROACHDB_CLUSTER_IDSet it in your shell before you start Claude Code. Read by its cockroachdb-cloud MCP server.
Taken from the plugin's own MCP configuration.
More in Databases
See all →duckdb-skills
DuckDB-powered skills for Claude Code: read any data file, attach and query DuckDB databases, search DuckDB/DuckLake…
clickhouse-best-practices
28 best practice rules for ClickHouse schema design, query optimization, and data ingestion — prioritized by impact
databricks
Databricks skills for the CLI, Apps, Lakebase, Model Serving, Lakeflow Jobs, Spark Declarative Pipelines, Declarative…
qdrant-skills
Agent skills for Qdrant vector search covering scaling, performance optimization, search quality, monitoring…
dataverse
Agent skills for building on, analyzing, and managing Microsoft Dataverse — with Dataverse MCP, PAC CLI, and Python SDK.
redis-development
Redis development best practices — data structures, query engine, vector search, caching, and performance optimization