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.
Summary
This skill connects Claude Code directly to your CockroachDB clusters, enabling hands-on database work such as exploring schemas, writing optimized SQL, debugging queries, and managing distributed database clusters.
- It provides 14 tools across two MCP backends, three specialized agents, and 32 skills across six operational domains, with built-in safety hooks.
Install & Usage
~/.claude.jsonAdd the configuration to "mcpServers": { "cockroachdb": { "command": "...", "args": [] } }
/mcpUse Cases
Usage Examples
/cockroachdb show schemas from my_cluster
/cockroachdb analyze query 'SELECT * FROM orders WHERE status = 'pending' ORDER BY created_at'
/cockroachdb run 'ALTER TABLE users ADD COLUMN email TEXT;' and verify the schema change
Security Audits
Frequently Asked Questions
What is cockroachdb?
This skill connects Claude Code directly to your CockroachDB clusters, enabling hands-on database work such as exploring schemas, writing optimized SQL, debugging queries, and managing distributed database clusters. It provides 14 tools across two MCP backends, three specialized agents, and 32 skills across six operational domains, with built-in safety hooks.
How to install cockroachdb?
To install cockroachdb: open your mcp config (~/.claude.json), then add the config to "mcpServers": { "cockroachdb": { "command": "...", "args": [] } }. Finally, /mcp in Claude Code.
What is cockroachdb best for?
cockroachdb is a mcp categorized under Data & Analytics. It is designed for: mcp, agent, plugin. Created by Cockroach Labs.
What can I use cockroachdb for?
cockroachdb is useful for: Explore and document database schemas across CockroachDB clusters.; Write and optimize SQL queries for distributed SQL workloads.; Debug slow or failing queries by analyzing execution plans and logs.; Manage cluster configurations, including node scaling and replication settings.; Automate routine DBA tasks like backup verification and schema migrations.; Troubleshoot distributed transaction conflicts and consistency issues..