315 Claude Code plugins · 382 MCP servers · refreshed 26 Oct 2026Get your plugin featured →

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★ 4updated 9 Oct 2026by Cockroach Labs
paste into Claude Code
/plugin install cockroachdb@claude-plugins-official

How to start

  1. Paste the command into Claude Code and press Enter.
  2. Set COCKROACHDB_HOST, COCKROACHDB_PORT, COCKROACHDB_USER, COCKROACHDB_PASSWORD, COCKROACHDB_DATABASE, COCKROACHDB_SSLMODE, COCKROACHDB_CLUSTER_ID in your shell, then restart Claude Code.
  3. 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 toolbox
  • cockroachdb-toolbox-httpRemote server at 127.0.0.1:5000
  • cockroachdb-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.