[Home](/index.md) › [Tools](/tools.md) › CockroachDB

# CockroachDB

Distributed SQL database

Website: [https://www.cockroachlabs.com](https://parible.co/go/cockroachdb?link=website&from=markdown)

![CockroachDB homepage](https://ohtvsdyfknahbwffwdqi.supabase.co/storage/v1/object/public/tool-screenshots/dce35411-15b7-4d13-99c4-13826dc9efbd/1795112713714-1800.webp)

## Overview

CockroachDB is a [distributed SQL database](/categories/backend-and-infrastructure.md) engineered for horizontal scalability, high availability and transactional consistency across multiple regions. It speaks the PostgreSQL wire protocol, letting applications connect using standard PostgreSQL drivers and tools. Every node in a cluster can process reads and writes, while Raft consensus maintains replicas in sync to survive hardware and data center failures without manual failovers or downtime.

The platform deploys as a self-hosted installation, a managed service across major cloud providers or inside a team's own cloud account. Through Cockroach Continuum, teams run multiple isolated virtual databases on shared or dedicated infrastructure with decoupled compute and usage-based storage. An agentic operations assistant monitors estate telemetry to flag performance issues and recommend remediation steps for human approval.

### Categories

- [Databases](/categories/backend-and-infrastructure/databases.md)

## Features

- SOC 2 Type II
- Vector search
- ISO 27001
- Point-in-time recovery
- Self-Hostable
- HIPAA
- EU Data Residency
- GDPR DPA
- Read replicas
- SAML SSO
- Bring Your Own Key
- SCIM Provisioning

[View all features](/tools/cockroachdb/features.md)

## Pricing

CockroachDB offers a free plan, with paid plans from $0.092 per vCPU-hour. Enterprise pricing is available through sales.

### Cockroach Continuum

| Plan | Price |
| --- | --- |
| Standard | From $0.092 per vCPU-hour |
| Mission Critical | From $0.162 per vCPU-hour |

### CockroachDB Cloud

| Plan | Price |
| --- | --- |
| Basic | $0/month |
| Standard | From $0.18 per hour for 2 vCPUs (starting) |
| Advanced | From $0.60 per hour for 4 vCPUs (starting) |

Last checked November 19, 2026. We aim to show the cheapest entry price for each pricing plan. Where possible this is the monthly price, otherwise we show the per-month price billed yearly, or the yearly price when that is all the vendor lists. Usage prices are shown per unit. Prices come from CockroachDB’s website and may change. [Confirm current pricing with CockroachDB](https://www.cockroachlabs.com/pricing/) before you buy.

## Use CockroachDB with AI agents

### Remote MCP

CockroachDB has an MCP server available for your AI agent. Connect using the URL below.

```
https://cockroachlabs.cloud/mcp
```

[Read the MCP docs](https://docs.cockroachlabs.com/docs/cockroachcloud/connect-to-the-cockroachdb-cloud-mcp-server)

[View details of CockroachDB Cloud MCP server](/mcp/cockroachdb-cloud.md)

### Local MCP

CockroachDB has an MCP server available to run locally. Use CockroachDB MCP Server to give your agent access.

```sh
go install github.com/cockroachdb/cockroachdb-mcp-server@latest
```

[Read the MCP docs](https://docs.cockroachlabs.com/docs/stable/install-cockroachdb-mcp-server)

### CLI

#### ccloud

CockroachDB has CLI tools available so your agent can run commands in the terminal. Install the CLI using the command below.

```sh
brew install cockroachdb/tap/ccloud
```

[Read the CLI docs](https://docs.cockroachlabs.com/docs/cockroachcloud/ccloud-get-started.md)

#### cockroach

CockroachDB has CLI tools available so your agent can run commands in the terminal. Install the CLI using the command below.

```sh
brew install cockroachdb/tap/cockroach
```

[Read the CLI docs](https://docs.cockroachlabs.com/docs/stable/install-cockroachdb-mac)

## Alternatives to CockroachDB

- [Redis Cloud](/tools/redis-cloud.md): Managed in-memory database
- [ClickHouse Cloud](/tools/clickhouse-cloud.md): Managed analytical database
- [Neon](/tools/neon.md): Serverless Postgres backend
- [Cloudflare D1](/tools/cloudflare-d1.md): Serverless SQLite database
- [Prisma Postgres](/tools/prisma-postgres.md): Serverless PostgreSQL database
- [MongoDB](/tools/mongodb.md): Multi-cloud document database

[View all alternatives](/tools/cockroachdb/alternatives.md)

## Frequently asked questions

### How much does CockroachDB cost?

CockroachDB has both free and paid plans. Paid plans start from $0.092 per vCPU-hour.

### Is CockroachDB free?

Yes, CockroachDB can be used for free with its Basic plan. Paid plans start from $0.092 per vCPU-hour.

### Does CockroachDB have a free trial?

Yes, CockroachDB offers a 30-day free trial of its Standard plan, so you can try it before you pay. No credit card is required.

### Does CockroachDB have an MCP server?

Yes, CockroachDB has remote and local MCP servers, so AI agents can work with it directly. See the [AI agents section](#ai-agents) for how to connect them.

### Does CockroachDB have AI features?

We haven’t confirmed any AI features for CockroachDB yet.

### Does CockroachDB have an enterprise plan?

Yes, CockroachDB offers an enterprise plan.

### What are the alternatives to CockroachDB?

Popular alternatives to CockroachDB include [Redis Cloud](/tools/redis-cloud.md), [ClickHouse Cloud](/tools/clickhouse-cloud.md), [Neon](/tools/neon.md), [Cloudflare D1](/tools/cloudflare-d1.md), [Prisma Postgres](/tools/prisma-postgres.md), and [MongoDB](/tools/mongodb.md). To find more alternatives to CockroachDB, view our [full list of alternatives](/tools/cockroachdb/alternatives.md).
