Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ—„๏ธ Databases
  3. MCP Cockroachdb
MCP Cockroachdb logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 12:31:48 PM

MCP Cockroachdb

User RatingsBe the first to rate and review this MCP server!
View Repository12 GitHub StarsTotal stargazers on GitHub for the source repository (12 stars).Visit Website
cockroachdbdatabasemcpnatural-languagemonitoring

MCP server enabling natural language management, monitoring, and querying of CockroachDB databases.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "amineelkouhen-mcp-cockroachdb": {
      "command": "uvx",
      "args": [
        "The"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Tool Schemas (63) Directory Badge Claim listing Alternatives๐Ÿ—„๏ธ More in Databases

Overview

This MCP server provides a natural language interface for LLMs and AI agents to interact with CockroachDB. It supports database operations, cluster monitoring, query execution, user management, and advanced features like vector search and changefeeds. Use it to integrate AI-driven workflows with CockroachDB for querying, administration, and diagnostics.

Use cases

โ€ขQuery CockroachDB using natural language commands
โ€ขMonitor cluster health and performance metrics
โ€ขManage databases, tables, users, and privileges
โ€ขPerform backup, restore, and job management tasks
โ€ขExecute vector similarity searches and changefeeds

Key features

โ€ขNatural-language query and transaction interface
โ€ขCluster monitoring and diagnostics tools
โ€ขDatabase and table management operations
โ€ขUser and privilege provisioning and control
โ€ขVector search with C-SPANN ANN index support
โ€ขBackup, restore, and changefeed management

Capabilities & Tool Schemas (63) ~235 tokensApproximate context cost of this serverโ€™s tool schemas (~4 chars/token), before any tool is called. Actual usage depends on your client and model.Self-reported Self-reportedParsed from the repository README, not verified against a live server โ€” may be incomplete or out of date.

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Cockroachdb.

alter_table_add_column

Callable MCP tool function

alter_table_drop_column

Callable MCP tool function

alter_table_rename_column

Callable MCP tool function

list_schemas

Callable MCP tool function

create_schema

Callable MCP tool function

drop_schema

Callable MCP tool function

Documentation Overview

MseeP.ai Security Assessment Badge

CockroachDB MCP Server

License: MIT Python Version MCP Compatible Trust Score

Overview

The CockroachDB MCP Server is a natural language interface designed for LLMs and agentic applications to manage, monitor, and query data in CockroachDB. It integrates seamlessly with MCP (Model Content Protocol) clients, such as Claude Desktop or Cursor, enabling AI-driven workflows to interact directly with your database.

Table of Contents

  • Overview
  • Features
  • Tools
    • Cluster Monitoring
    • Database Operations
    • Table Management
    • Query Engine
    • User & Privilege Management
    • Vector Search
    • Job Management
    • Backup & Restore
    • Statistics
    • Multi-Region
    • Changefeeds
    • Cluster Admin
    • Diagnostics
  • Installation
    • Quick Start with uvx
    • Development Installation
    • With Docker
    • As an MCPB Bundle (Smithery / Claude Desktop)
  • Configuration
    • Configuration via command line arguments
    • Configuration via Environment Variables
  • Integrations
    • OpenAI Agents SDK
    • Augment
    • Claude Desktop
    • VS Code with GitHub Copilot
    • Cursor
  • Testing
  • Contributing
  • License
  • Quality Badge
  • Contact

Features

  • Natural-Language Queries: AI agents can query and transact via natural language.
  • Cluster Monitoring: Cluster status, node health, replication, slow queries, contention, index recommendations.
  • Database Operations: List, create, drop, and switch databases.
  • Table Management: Create, drop, alter (add/drop/rename column), truncate, rename, describe; bulk-import; indexes, views, schemas.
  • Query Engine: Parameterized SQL with json/csv/table output, multi-statement transactions, explain, history.
  • User & Privilege Management: Provision SQL users and roles, grant/revoke privileges. Lets you run the agent under a scoped non-root user.
  • Vector Search: Similarity search with cosine/L2/inner-product metrics (auto-detected from index opclass), C-SPANN ANN index management (v25.2+).
  • Job Management: Observe and control async jobs (BACKUP, RESTORE, IMPORT, CHANGEFEED, SCHEMA CHANGE).
  • Backup & Restore: Full / database / table backup and restore against s3, gs, azure, nodelocal, userfile.
  • Statistics: Create and show optimizer statistics.
  • Multi-Region: Regions, survival goals, locality (REGIONAL_BY_ROW etc.), zone configuration.
  • Changefeeds: CDC pipelines to Kafka / webhook / cloud-storage with sink-scheme validation.
  • Cluster Admin: Cluster settings, decommission/drain (gated).
  • Diagnostics: Tracing spans, statement-diagnostics bundles.
  • Safety First: Strict identifier validation, parameterized values, --read-only mode, explicit confirm=True for destructive ops, redacted DSN responses.
  • Seamless MCP Integration: Works with any MCP client (Claude Desktop, Cursor, VS Code Copilot, OpenAI Agents SDK, etc.).
  • Multiple Transports: stdio (default) and streamable HTTP.

Tools

The CockroachDB MCP Server exposes CockroachDB as a set of MCP tools. Requests flow from any MCP client through a transport, into the safety layer, then to one of the thirteen tool categories, and finally to CockroachDB via an asyncpg connection pool.

mermaid
flowchart LR
    subgraph Clients["MCP Clients"]
        direction TB
        C1["Claude Desktop"]
        C2["Cursor"]
        C3["VS Code Copilot"]
        C4["OpenAI Agents SDK"]
        C5["Augment"]
    end

    subgraph Transport["Transport"]
        direction TB
        T1["stdio"]
        T2["streamable HTTP"]
    end

    subgraph Server["CockroachDB MCP Server (FastMCP)"]
        direction TB

        subgraph Safety["Safety Layer"]
            direction TB
            S1["Identifier validation<br/>(strict regex)"]
            S2["Parameterized values<br/>($1, $2, ...)"]
            S3["--read-only gate"]
            S4["--allow-destructive<br/>+ confirm=True"]
            S5["DSN redaction"]
        end

        subgraph Tools["Tool Categories (13)"]
            direction TB

            subgraph Obs["Observe & Diagnose"]
                O1["Cluster Monitoring"]
                O2["Diagnostics"]
                O3["Statistics"]
            end

            subgraph Data["Data & Schema"]
                D1["Database Operations"]
                D2["Table Management"]
                D3["Query Engine"]
                D4["Vector Search (C-SPANN)"]
            end

            subgraph Ops["Data Movement"]
                P1["Job Management"]
                P2["Backup & Restore"]
                P3["Changefeeds (CDC)"]
            end

            subgraph Adm["Admin & Topology"]
                A1["User & Privilege Management"]
                A2["Multi-Region"]
                A3["Cluster Admin"]
            end
        end

        Pool["asyncpg connection pool"]
    end

    DB[("CockroachDB<br/>single- or multi-region cluster")]

    Clients --> Transport
    Transport --> Safety
    Safety --> Tools
    Tools --> Pool
    Pool --> DB

The tools are organized into thirteen categories, grouped above by concern. Every write-shaped tool is gated by --read-only. Every destructive tool also requires --allow-destructive plus a per-call confirm=True parameter; see the Safety Model section.

Cluster Monitoring

Purpose: Provides tools for monitoring and managing CockroachDB clusters.

Summary:

  • Get cluster health and node status.
  • Show currently running queries.
  • Analyze query performance statistics.
  • Retrieve replication and distribution status for tables or the whole database.
  • Get query execution insights with optional keyword filtering.
  • Find slow queries from statement statistics with optional keyword filtering.
  • Get transaction execution insights with optional keyword filtering.
  • View contention events with optional table filtering.
  • Get index recommendations from query insights.

Database Operations

Purpose: Handles database-level operations and connection management.

Summary:

  • Connect to a CockroachDB database.
  • List, create, drop, and switch databases.
  • Get connection status and active sessions.
  • Retrieve database settings.

Table Management

Purpose: Provides tools for managing tables, indexes, views, schemas, and relationships in CockroachDB.

Summary:

  • Create, drop, describe, rename, and truncate tables (destructive ops gated).
  • alter_table_add_column, alter_table_drop_column, alter_table_rename_column.
  • Bulk import data into tables (CSV / Avro from s3/gs/azure/http(s)).
  • Manage indexes (create/drop).
  • Manage views (create/drop, list).
  • Manage schemas (list_schemas, create_schema, drop_schema).
  • List tables and table relationships; analyze schema structure and metadata.

Query Engine

Purpose: Executes and manages SQL queries and transactions.

Summary:

  • Execute SQL queries with formatting options (JSON, CSV, table).
  • Run multi-statement transactions.
  • Explain query plans for optimization.
  • Track and retrieve query history.

User & Privilege Management

Purpose: Manage SQL users, roles, and privileges. Use this from an administrative agent to provision the agent's own scoped (non-root) user.

Summary:

  • list_users, create_user, drop_user, alter_user_password.
  • create_role, drop_role, grant_role, revoke_role.
  • show_grants, grant_privileges, revoke_privileges.

Privileges are validated against an allowlist (SELECT, INSERT, UPDATE, DELETE, ALL, BACKUP, RESTORE, MODIFYCLUSTERSETTING, ...). Identifiers go through the same strict regex as everywhere else.

Vector Search

Purpose: Search VECTOR columns with CockroachDB's similarity operators (v25.2+) and manage C-SPANN ANN indexes.

Summary:

  • vector_similarity_search with metric of cosine (default), l2, ip, or auto (matches the existing index opclass). Returns distance and a derived similarity field.
  • create_cspann_index with metric โ†’ opclass mapping (vector_cosine_ops / vector_l2_ops / vector_ip_ops).
  • drop_cspann_index (destructive).

The query vector is always passed as a $1::VECTOR parameter; identifier and optional where clause values are validated. For normalized embeddings (e.g. Takara DS1, OpenAI text-embedding-3) all three metrics rank identically; the default cosine is the safest because it ignores magnitude.

Job Management

Purpose: Observe and control long-running CockroachDB jobs (BACKUP, RESTORE, IMPORT, SCHEMA CHANGE, CHANGEFEED).

Summary:

  • list_jobs (filter by status and type), get_job_status.
  • pause_job, resume_job, cancel_job (destructive).

Backup & Restore

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Databases View all alternatives
  • MCP Server Neon logoMCP Server Neon

    An MCP Server for creating and managing Postgres databases using Neon Serverless Postgres

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs MCP Server Neon โ†’
  • MCP Snowflake Server logoMCP Snowflake Server

    Snowflake integration implementing read and (optional) write operations as well as insight tracking

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs MCP Snowflake Server โ†’
  • Mongodb Lens logoMongodb Lens

    MongoDB Lens: Full Featured MCP Server for MongoDB Databases

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Mongodb Lens โ†’
  • MCP Server Duckdb logoMCP Server Duckdb

    DuckDB database integration with schema inspection and query capabilities

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs MCP Server Duckdb โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
12
Stargazers on the source repository.
Last commit
1mo ago
Most recent push to the default branch.
Tools exposed
63
Callable tools this server registers over MCP.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Cockroachdb

It supports stdio (default) and streamable HTTP transports.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Cockroachdb AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/amineelkouhen-mcp-cockroachdb?style=directory)](https://allmcps.com/mcp/amineelkouhen-mcp-cockroachdb)
HTML Embed
<a href="https://allmcps.com/mcp/amineelkouhen-mcp-cockroachdb"><img src="https://allmcps.com/api/badge/amineelkouhen-mcp-cockroachdb?style=directory" alt="MCP Cockroachdb on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ—„๏ธDatabases
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimePython
AuthAPI key
LicenseMIT
ClientsClaude Desktop, Cursor, Cline / VS Code
Last updatedAug 9, 2026
10/10 checks healthy over the last 32d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars12
GitHub Star CountTotal stargazers on GitHub representing community popularity (12 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 16, 2026
53Quality signal: Good ยท 53/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools26/30
Adoption & activity4/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 7d ago via OSV.dev ยท The (PyPI)

โ˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ—„๏ธ Databases โ†’Best MCP servers for Databases โ†’Alternatives to MCP Cockroachdb โ†’Install in Claude DesktopInstall in CursorInstall in VS Code