Most migration tools treat CockroachDB as PostgreSQL and stop there. cockroachchange goes further — it versions multi-region locality, survival goals, and zone configs as YAML, monitors DDL background jobs to completion, and handles schema-locked tables in CockroachDB v26.1.
Existing migration tools treat CockroachDB as Postgres. cockroachchange is the first migration tool to version multi-region locality, survival goals, and zone configs as first-class YAML — tracked, diffed, and rollback-ready.
cockroachchange ships a Model Context Protocol server — letting Claude, Cursor, and any MCP-compatible AI assistant query your migration history, run drift detection, validate multi-region YAML, and understand your cluster topology without leaving the chat.
Connect your AI assistant to cockroachchange and unlock topology-aware conversations. Ask about DDL job status, get multi-region drift reports, validate YAML locality configs before running them, or generate new migration files from a natural language description of the region change you need.
The cockroachchange MCP server exposes schema and topology tools through the standard Model Context Protocol. Works with Claude Desktop, Cursor, Windsurf, and any editor with MCP support. Your database credentials stay local — the MCP server reads your existing cockroachchange profiles.
Every operation follows the same --profile flag, --dry-run support, and JSON output contract. The same CLI you learn in dev works identically in prod.
--dry-run to preview without touching the cluster.The only tool that treats CockroachDB as CockroachDB — not Postgres with a different driver.
| Capability | cockroachchange | Generic tool A | Generic tool B |
|---|---|---|---|
| SQL DDL migrations | ✓ | ✓ | ✓ |
| Multi-region locality (REGIONAL BY ROW) | ✓ YAML | ✗ | ✗ |
| Survival goal versioning | ✓ YAML | ✗ | ✗ |
| Zone config lifecycle | ✓ YAML | ✗ | ✗ |
| DDL background job monitoring | ✓ SHOW JOBS | ✗ | ✗ |
| Serialization retry (40001) | ✓ exp. backoff | basic | basic |
| Schema lock handling (v26.1) | ✓ auto unlock | ✗ | ✗ |
| Drift detection | ✓ | ✗ | partial |
| Hash-sharded index scaffolding | ✓ generate | ✗ | ✗ |
| CRDB-aware schema analyser | ✓ 8 rules | ✗ | ✗ |
| CockroachDB Cloud support | ✓ | basic | basic |
| MCP server for AI agents | coming soon | ✗ | ✗ |