{
 "categories": [
  "database",
  "developer-tools"
 ],
 "deployment": "hybrid",
 "evidence": [
  {
   "date": "2026-10-01",
   "fact": "homepage",
   "note": "Cockroach Labs presents CockroachDB as its distributed database and describes fully managed, customer-cloud, and self-hosted ways to run it.",
   "source": "https://www.cockroachlabs.com/",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "license",
   "note": "Self-hosted CockroachDB from the 24.3.0 release date uses the CockroachDB Software License. Enterprise Free is free for businesses under $10M annual revenue, Enterprise is paid, and single-node cockroach start-single-node and cockroach demo need no license key. Cloud deployments carry an Enterprise license.",
   "source": "https://www.cockroachlabs.com/docs/v26.3/licensing-faqs",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "deployment",
   "note": "Cockroach Labs documents fully managed Cloud, deployment in the customer's cloud account, and self-hosted operation including Kubernetes, on-premises, and hybrid.",
   "source": "https://www.cockroachlabs.com/",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "platforms",
   "note": "The cockroach sql reference includes a macOS terminal configuration section, so the SQL client is documented on macOS.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "platforms",
   "note": "The self-hosted MCP server page documents pre-built binaries for Linux and Windows.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroachdb-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "platforms",
   "note": "Cloud MCP setup is performed in the CockroachDB Cloud Console, a web application.",
   "source": "https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.exists",
   "note": "Cockroach Labs documents the Cloud API as a REST interface for the lifecycle of clusters in an organization.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.kinds[0]",
   "note": "Cockroach Labs states that CockroachDB speaks the PostgreSQL wire protocol and supports most PostgreSQL syntax, drivers, and ORMs.",
   "source": "https://www.cockroachlabs.com/",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.kinds[1]",
   "note": "The Cloud API guide shows HTTPS calls to https://cockroachlabs.cloud/api/v1/clusters with JSON bodies.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.auth[0]",
   "note": "Cloud API requests send a service-account secret key as Authorization Bearer. The guide states that only service accounts can authenticate to the API.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.coverage",
   "note": "The opened guide covers cluster lifecycle, including list and create for Basic, Standard, and Advanced clusters, at 10 requests per second per user. SQL remains a separate interface. The guide is the management plane, not every console action.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.api.docs",
   "note": "Opened as the current CockroachDB Cloud API guide for v1 version 2024-09-16.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.mcp.first_party",
   "note": "Cockroach Labs documents the self-hosted CockroachDB MCP Server, with stdio and HTTP transports, read tools by default, and write tools behind CRDB_MCP_ENABLE_WRITE_QUERIES.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroachdb-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.mcp.verdict",
   "note": "Cockroach Labs also hosts the CockroachDB Cloud MCP server at https://cockroachlabs.cloud/mcp, with OAuth or service-account API key authentication.",
   "source": "https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.cli.exists",
   "note": "cockroach sql executes SQL from the command line with --execute, --file, or stdin. Non-interactive output is documented as a stable interface except for informational lines that begin with #.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.extensibility.scripting[0]",
   "note": "The SQL client runs SQL statements, including batches passed to --execute or a file.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.data_access.export[0]",
   "note": "Non-interactive cockroach sql output is a documented stable interface for programmatic use.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.data_access.import[0]",
   "note": "cockroach sql accepts SQL from --execute, a file, or stdin, which is the path for loading statements into a cluster.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "modalities.agent_docs.llms_txt",
   "note": "https://docs.cockroachlabs.com/llms.txt is a plain-text documentation index for CockroachDB and Cockroach Continuum.",
   "source": "https://docs.cockroachlabs.com/llms.txt",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "verdict.scores.api",
   "note": "SQL over the PostgreSQL wire protocol plus a versioned Cloud REST API, bearer service-account keys, and a stable cockroach sql output contract support production automation. Service-account-only Cloud API access and the 10 request-per-second limit keep the score at 8.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "verdict.scores.mcp",
   "note": "Two official MCP servers expose schema and SQL tools. Self-hosted writes are opt-in. Cloud writes are create_database, create_table, and insert_rows, with a 20 second timeout and a 10 KiB response cap.",
   "source": "https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "verdict.scores.cli",
   "note": "cockroach sql is an official non-interactive SQL client with a documented stable output format. It is the query CLI, not the Cloud management API.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroach-sql",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "freshness.watch[0].url",
   "note": "Opened the v26.2 self-hosted MCP server page. Read tools remain the default and writes still require CRDB_MCP_ENABLE_WRITE_QUERIES.",
   "source": "https://www.cockroachlabs.com/docs/v26.2/cockroachdb-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "freshness.watch[1].url",
   "note": "Opened the Cloud MCP page. The hosted URL is still https://cockroachlabs.cloud/mcp, with OAuth or API-key auth and the recorded read and write tools.",
   "source": "https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "freshness.watch[2].url",
   "note": "Opened the Cloud API guide. Bearer service-account auth, Cc-Version, and the v1 clusters endpoint match the record.",
   "source": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "tier": "declared"
  },
  {
   "date": "2026-10-01",
   "fact": "freshness.watch[3].url",
   "note": "Opened the v26.3 licensing FAQ. Enterprise, Enterprise Free, Trial, and single-node rules match the license field.",
   "source": "https://www.cockroachlabs.com/docs/v26.3/licensing-faqs",
   "tier": "declared"
  }
 ],
 "freshness": {
  "last_verified": "2026-10-01",
  "volatility": "high",
  "watch": [
   {
    "type": "mcp",
    "url": "https://www.cockroachlabs.com/docs/v26.2/cockroachdb-mcp-server"
   },
   {
    "type": "mcp",
    "url": "https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server"
   },
   {
    "type": "docs",
    "url": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api"
   },
   {
    "type": "docs",
    "url": "https://www.cockroachlabs.com/docs/v26.3/licensing-faqs"
   }
  ]
 },
 "homepage": "https://www.cockroachlabs.com/",
 "id": "cockroachdb",
 "license": "freemium",
 "modalities": {
  "agent_docs": {
   "llms_txt": true
  },
  "api": {
   "auth": [
    "bearer-api-key"
   ],
   "coverage": "partial",
   "docs": "https://docs.cockroachlabs.com/docs/cockroachcloud/cloud-api",
   "exists": true,
   "kinds": [
    "sql",
    "rest"
   ]
  },
  "cli": {
   "exists": true
  },
  "computer_use": {
   "issues": [],
   "viability": "unknown"
  },
  "data_access": {
   "export": [
    "sql"
   ],
   "import": [
    "sql"
   ]
  },
  "extensibility": {
   "scripting": [
    "sql"
   ],
   "webhooks": "unknown"
  },
  "integrations": {
   "make": "unknown",
   "n8n": "unknown",
   "power_automate": "unknown",
   "zapier": "unknown"
  },
  "mcp": {
   "first_party": true,
   "third_party": [],
   "verdict": "official"
  },
  "rpa": {
   "drivability": "unknown",
   "notes": "No repeatable UI probe was run. CockroachDB SQL, the Cloud API, the cockroach SQL client, and the first-party MCP servers cover query and cluster work without browser control.\n",
   "ui_stack": [
    "web-dom"
   ],
   "vendor_support": []
  },
  "sdk": {
   "exists": "unknown",
   "languages": [],
   "official": "unknown"
  }
 },
 "name": "CockroachDB",
 "platforms": [
  "linux",
  "macos",
  "windows",
  "web"
 ],
 "related": {
  "alternatives": [
   "neon",
   "clickhouse"
  ],
  "our_products": []
 },
 "schema_version": 1,
 "score_version": 1,
 "status": "active",
 "vendor": "Cockroach Labs",
 "verdict": {
  "best_path": "api",
  "scores": {
   "api": 8,
   "cli": 7,
   "computer_use": null,
   "integrations": null,
   "mcp": 7,
   "overall": 8,
   "rpa": null
  },
  "summary": "CockroachDB is automatable today through SQL and the CockroachDB Cloud API. This record is CockroachDB, including self-hosted clusters and CockroachDB Cloud. It is the database, not the separate CockroachDB docs assistant. CockroachDB speaks the PostgreSQL wire protocol. The cockroach sql client runs statements from an interactive shell or from the command line with --execute, --file, or stdin, and Cockroach Labs documents the non-interactive output as a stable interface aside from lines that begin with #. The Cloud API is a separate REST management plane at https://cockroachlabs.cloud/api/v1. The opened guide uses version 2024-09-16, sent with the Cc-Version header. Service accounts authenticate with Authorization Bearer and a secret key. The documented rate limit is 10 requests per second per user. The guide shows cluster list and create calls for Basic, Standard, and Advanced clusters. Only service accounts can call the Cloud API. Cockroach Labs documents two first-party MCP servers. The self-hosted server in cockroachdb/cockroachdb-mcp-server runs over stdio or HTTPS. Read tools are the default, and writes require CRDB_MCP_ENABLE_WRITE_QUERIES. The Cloud MCP is hosted at https://cockroachlabs.cloud/mcp and uses OAuth or a service-account API key. By default it can reach every cluster the caller can access. An optional mcp-cluster-id header pins one cluster. Cloud read tools include list_clusters, get_cluster, list_databases, list_tables, get_table_schema, select_query, explain_query, show_statement, and show_running_queries. Cloud write tools are create_database, create_table, and insert_rows. Cloud tool calls run one statement, time out after 20 seconds, and cap responses at 10 KiB. A docs index is published at https://docs.cockroachlabs.com/llms.txt. iPaaS connector catalogs were not opened. Computer-use viability is unassessed. API scores 8 and is the best path.\n"
 }
}