ClickHouse Cloud (hosted)

ClickHouse Cloud (hosted)

Official

ClickHouse's hosted remote MCP for ClickHouse Cloud: OAuth sign-in, read-only SQL, plus services, backups, ClickPipes and cost.

Score 58(?)ClickHouseVerified Top MCPs for Databases →

Quick answer

What it does

Exposes ClickHouse Cloud over Streamable HTTP: get_organizations, get_organization_details, get_services_list, get_service_details, list_databases, list_tables, run_select_query (SELECT only), list_clickpipes, get_clickpipe, list_service_backups, get_service_backup_details, get_service_backup_configuration and get_organization_cost (31-day window).

Best for

  • Read-only analytics on ClickHouse Cloud under OAuth
  • Schema discovery across Cloud services
  • Checking backup schedules and recent backups
  • Reviewing ClickPipes configuration

Not for

  • Self-managed ClickHouse clusters
  • Inserts, DDL or other writes

Source: top-mcps.com/mcp/clickhouse-cloud — verified Nov 2026

Setup recipe

Pick your client, then follow the three steps.

  1. 1

    Install

    claude_desktop_config.json
    {
      "mcpServers": {
        "clickhouse-cloud": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp.clickhouse.cloud/mcp"
          ]
        }
      }
    }

    Claude Desktop launches stdio servers, so mcp-remote bridges to the hosted endpoint and opens the sign-in in your browser. On Pro, Max, Team and Enterprise you can skip the file: Settings → Connectors → Add custom connector → https://mcp.clickhouse.cloud/mcp. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    CLI or .mcp.json
    claude mcp add --transport http clickhouse-cloud https://mcp.clickhouse.cloud/mcp

    Then run /mcp inside Claude Code to finish the sign-in. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    .cursor/mcp.json
    {
      "mcpServers": {
        "clickhouse-cloud": {
          "url": "https://mcp.clickhouse.cloud/mcp"
        }
      }
    }

    Global path: ~/.cursor/mcp.json. Cursor shows "Needs login" once it connects — click it to authorize. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    .vscode/mcp.json
    {
      "servers": {
        "clickhouse-cloud": {
          "type": "http",
          "url": "https://mcp.clickhouse.cloud/mcp"
        }
      }
    }

    VS Code uses the "servers" key. Run MCP: List Servers → Start Server and allow the sign-in. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    ~/.codeium/windsurf/mcp_config.json
    {
      "mcpServers": {
        "clickhouse-cloud": {
          "serverUrl": "https://mcp.clickhouse.cloud/mcp"
        }
      }
    }

    Windsurf uses "serverUrl" for hosted servers. Open via Cascade → hammer icon → Configure. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    cline_mcp_settings.json
    {
      "mcpServers": {
        "clickhouse-cloud": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp.clickhouse.cloud/mcp"
          ]
        }
      }
    }

    Bridged through mcp-remote. Open via the Cline sidebar → MCP Servers → Edit. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    ~/.continue/config.json
    {
      "experimental": {
        "modelContextProtocolServers": [
          {
            "transport": {
              "type": "streamable-http",
              "url": "https://mcp.clickhouse.cloud/mcp"
            }
          }
        ]
      }
    }

    Continue takes the hosted URL directly in the transport block. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    CLI
    codex mcp add clickhouse-cloud --url https://mcp.clickhouse.cloud/mcp

    Codex detects OAuth support and opens the browser to authorize. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    ~/.config/zed/settings.json
    {
      "context_servers": {
        "clickhouse-cloud": {
          "command": {
            "path": "npx",
            "args": [
              "-y",
              "mcp-remote",
              "https://mcp.clickhouse.cloud/mcp"
            ]
          }
        }
      }
    }

    Bridged through mcp-remote under "context_servers". Settings live-reload on save. Authorization happens in the browser on first use (OAuth); no token goes in the config file.

    ChatGPT → Settings → Connectors (remote URL)
    {
      "name": "ClickHouse Cloud (hosted)",
      "transport": "http",
      "url": "https://mcp.clickhouse.cloud/mcp"
    }

    Paste this into Settings → Connectors → Add custom connector. Requires ChatGPT Pro / Team / Enterprise / Edu with Developer mode enabled.

  2. 2

    Set required secrets

    No credentials required — this MCP runs over stdio without authentication.

  3. 3

    Try a minimum working prompt

    Check last week's backups and spend for one service

    In my ClickHouse Cloud organization, find the service named analytics-prod. List its backups from the last 7 days with their status, show its backup schedule and retention, and report the organization cost for the last 7 days. Read only - change nothing.

    Tested with: Claude Code, Cursor.

Tools & permissions

ToolDescriptionArgsSide effects
get_organizationsList the ClickHouse Cloud organizations the user can access.—Read
get_organization_detailsDetails of one organization.—Read
get_services_listList the services in an organization.—Read
get_service_detailsDetails of one service.—Read
list_databasesList the databases in a service.—Read
list_tablesList tables in a database, with like / notLike filters.—Read
run_select_queryRun a read-only SELECT query (timeoutSeconds default 300, max 3600).—Read
list_clickpipesList the ClickPipes of a service.—Read
get_clickpipeDetails of one ClickPipe.—Read
list_service_backupsList the backups of a service.—Read
get_service_backup_detailsDetails of one backup.—Read
get_service_backup_configurationBackup schedule and retention settings.—Read
get_organization_costBilling and usage cost data, at most a 31-day window.—Read

Security & scope

Access scope
Read-only
Sandbox
Hosted by ClickHouse. Acts as the signed-in ClickHouse Cloud user through an OAuth grant, or as a ClickHouse Cloud API key sent as HTTP Basic for headless hosts; query tools are SELECT-only on the server.
Gotchas
  • get_organization_cost returns billing data for the organization, so anyone the agent reports to sees spend.
  • An API key used for headless access needs an IP allowlist: an empty list denies all access, and a key with query permission reaches every service it is attached to.
  • The server is closed-source and hosted; its behaviour can change without a release you can pin.

Agent prompt pack

— copy into Claude, Cursor, or ChatGPT.
Paste into Claude, Cursor, or ChatGPT. Edit the [brackets] before sending.
Recommend the best MCP servers for [task: e.g. databases work] in [client: Claude].

Constraints:
- Prefer tools that are [official | open-source | read-only] — pick what matters for my use case.
- Exclude MCPs that require [e.g. a paid plan, OAuth-only flows, remote-only transport].
- Return at most 3 picks, ranked.

For each pick include:
1. One-sentence rationale.
2. The ready-to-paste install snippet for my client.
3. Any required secrets I need to create before installing.

Cross-check the top-mcps.com listing: https://top-mcps.com/top-mcps-for-databases
Compare ClickHouse Cloud (hosted) against a real alternative. Swap the second MCP in [brackets] if you want a different match.
Compare ClickHouse Cloud (hosted) MCP vs [ClickHouse MCP] for the following job: [describe the job, e.g. "let an agent create GitHub issues on bug triage"].

Judge them on:
- Setup time and complexity (what a new user hits first).
- Auth model (none / API key / OAuth 2.1) and credential risk.
- Transport (stdio / Streamable HTTP / SSE) and where the server runs.
- Required secrets and the blast radius if they leak.
- Operational risk in an unattended agent loop.
- Which one is "good enough" for a weekend prototype vs. production.

End with one sentence: which should I pick for my scenario, which is: [my scenario].

References:
- https://top-mcps.com/mcp/clickhouse-cloud
- top-mcps.com listing for ClickHouse
Asks the agent to install and verify. Works inside Claude Code, Cursor Agent, Codex CLI.
Install the ClickHouse Cloud (hosted) MCP server for my [client: Claude] at the default config path for that client.

Use the exact install snippet published at https://top-mcps.com/mcp/clickhouse-cloud (fetch https://top-mcps.com/mcp/clickhouse-cloud.json for the canonical server.json if you can read URLs).

Before finishing:
1. Create the required secrets (no secrets) and put them in the appropriate env block — do not hard-code them.
2. Restart or reload the client so it picks up the new server.
3. Verify the server is connected (green / running state) and at least one tool is listed.
4. If anything fails, read the client's MCP logs and report the exact error — do not silently retry.

Confirm when done and list the tools the server now exposes.

Frequently asked questions

What changed

— 1 update tracked.
  1. Added alongside the ClickHouse server (mcp-clickhouse): ClickHouse's hosted remote server for ClickHouse Cloud, the one the official clickhouse Claude plugin bundles.

More Databases MCPs

Other tools in the same category worth evaluating.

Postgres MCP ProPRO

Production-grade Postgres MCP with index advice, EXPLAIN, and health checks.

database, sql, postgres, performance
5 minMedium
SQLite

Local SQLite database access with full read/write support.

database, sqlite, local, storage
2 minLow

Full Supabase access: database, auth, storage, and edge functions.

supabase, database, backend, postgres
5 minLow

Compared with ClickHouse Cloud (hosted)

Side-by-side breakdowns for the choices people most often weigh against this MCP.

Exploring Top MCPs for Databases? See all Databases MCPs →