Production-grade Postgres MCP with index advice, EXPLAIN, and health checks.
- Home
- Top MCPs for Databases
- ClickHouse Cloud (hosted)
ClickHouse Cloud (hosted)
ClickHouse's hosted remote MCP for ClickHouse Cloud: OAuth sign-in, read-only SQL, plus services, backups, ClickPipes and cost.
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
Install
claude_desktop_config.jsonjson{ "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.jsonshellclaude mcp add --transport http clickhouse-cloud https://mcp.clickhouse.cloud/mcpThen 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.jsonjson{ "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.jsonjsonc{ "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.jsonjson{ "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.jsonjson{ "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.jsonjson{ "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.
CLIshellcodex mcp add clickhouse-cloud --url https://mcp.clickhouse.cloud/mcpCodex 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.jsonjsonc{ "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)json{ "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
Set required secrets
No credentials required — this MCP runs over stdio without authentication.
- 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
| Tool | Description | Args | Side effects |
|---|---|---|---|
get_organizations | List the ClickHouse Cloud organizations the user can access. | — | Read |
get_organization_details | Details of one organization. | — | Read |
get_services_list | List the services in an organization. | — | Read |
get_service_details | Details of one service. | — | Read |
list_databases | List the databases in a service. | — | Read |
list_tables | List tables in a database, with like / notLike filters. | — | Read |
run_select_query | Run a read-only SELECT query (timeoutSeconds default 300, max 3600). | — | Read |
list_clickpipes | List the ClickPipes of a service. | — | Read |
get_clickpipe | Details of one ClickPipe. | — | Read |
list_service_backups | List the backups of a service. | — | Read |
get_service_backup_details | Details of one backup. | — | Read |
get_service_backup_configuration | Backup schedule and retention settings. | — | Read |
get_organization_cost | Billing 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.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) 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
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.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.
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 →
