Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the ClickHouse Cloud in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Manage a ClickHouse Cloud organization from your AI agent: list services with their state, endpoints and scaling, start, stop or wake them, change IP access, tags and autoscaling, check backups and ClickPipes, read usage costs in ClickHouse Credits and the remaining credits, and look at notifications, quotas, members, roles, API keys and the audit log.
Try asking
Example prompts for ClickHouse Cloud
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → ClickHouse Cloud, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
ClickHouse Cloud + Meta Muse
Manage a ClickHouse Cloud organization from your AI agent: list services with their state, endpoints and scaling, start, stop or wake them, change IP access, tags and autoscaling, check backups and ClickPipes, read usage costs in ClickHouse Credits and the remaining credits, and look at notifications, quotas, members, roles, API keys and the audit log.
Prerequisites
See the full setup instructions baked into the connector (visible in the in-app store when you select the connector). The required environment variables for this connector are:
CLICKHOUSE_CLOUD_KEY_ID, CLICKHOUSE_CLOUD_KEY_SECRET
Step 1 — Get credentials
Setting up takes about 3 minutes. You need access to the ClickHouse Cloud console of the organization.
- In the ClickHouse Cloud console (https://console.clickhouse.cloud) open Organization, API keys and click New API key.
- Give it a name, an expiry, optionally an IP allow list, and the role it needs: a read-only or developer role is enough for the reads; starting, stopping, scaling and updating services needs admin or a custom role with the service manage permission.
- Copy the Key ID into
CLICKHOUSE_CLOUD_KEY_IDand the Key secret intoCLICKHOUSE_CLOUD_KEY_SECRET. The secret is shown only once; if it is lost, create a new key. The API takes both as HTTP Basic auth (key id as user name, secret as password). - Install the connector and run
clickhouse_cloud_list_organizations: it returns theorganization_idevery other tool needs and confirms the key.
This connector talks to the Cloud control plane (https://api.clickhouse.cloud/v1) and does not run SQL. For queries on your tables, install the ClickHouse connector, which uses a service's HTTPS interface.
What it reads:
- Organization and key:
clickhouse_cloud_list_organizations,clickhouse_cloud_get_organization(private endpoints, BYOC settings) andclickhouse_cloud_whoami(the key, its organization and roles; a beta endpoint at ClickHouse). - Services:
clickhouse_cloud_list_services(optionally filtered by tags such astag:Environment=Production) andclickhouse_cloud_get_servicewith state, cloud provider and region, ClickHouse version, tier, endpoints, replica memory and count, idle scaling, IP access list, release channel and tags.clickhouse_cloud_get_service_settingsshows the server settings that differ from the defaults,clickhouse_cloud_get_service_metricsthe current Prometheus metrics as text (filtered_metricsfor the short curated list). - Backups:
clickhouse_cloud_list_backups,clickhouse_cloud_get_backup(status, start and finish, size, duration, full or incremental) andclickhouse_cloud_get_backup_configuration(backup period, retention and daily start time). - Ingestion:
clickhouse_cloud_list_clickpipesandclickhouse_cloud_get_clickpipefor ClickPipes from Kafka, S3, Postgres, MySQL and other sources. They need a key with the ClickPipes manage permission. - Cost and health:
clickhouse_cloud_get_usage_costper day and per entity (data warehouse, service, ClickPipe) with the metrics behind it (compute, storage, backup, data transfer),clickhouse_cloud_get_credit_balances(needs the billing view permission),clickhouse_cloud_list_notifications(billing, service health, ClickPipe failures, upgrades; filter by severity, type, resource or dates) andclickhouse_cloud_list_quotas. - People and access:
clickhouse_cloud_list_members,clickhouse_cloud_list_invitations,clickhouse_cloud_list_roles,clickhouse_cloud_list_api_keys(secrets are never returned) andclickhouse_cloud_list_activities, the audit log with actor, IP address and target ids.
What it changes:
clickhouse_cloud_change_service_statestarts, stops or wakes (awake) a service. A stop shuts the compute down: data is kept and compute billing stops, but queries fail until the service is started again, so the AI asks you first.clickhouse_cloud_update_servicerenames a service, sets the release channel (slow,defaultorfast) and adds or removes IP access list entries and tags. Only the fields passed change; removals run before additions.clickhouse_cloud_update_replica_scalingchanges memory per replica (min and max in GB, multiples of 4; memory limits on the Production tier only), the autoscaling mode, the replica counts, idle scaling and the idle timeout (at least 5 minutes).clickhouse_cloud_change_clickpipe_statestarts, stops or resyncs a ClickPipe. A resync copies the source tables again, so the AI confirms it with you.clickhouse_cloud_create_invitationinvites a person by e-mail with role ids fromclickhouse_cloud_list_roles.
All 26 tools are active after installation; none is switched off. Give the key a read-only role if the AI should only look.
Data formats: every answer is {status, requestId, result} and the data is in result. Ids are UUIDs, times ISO 8601 in UTC. Costs are in ClickHouse Credits (CHC): grandTotalCHC for the period and totalCHC per record. Memory is in GB, backup size in bytes, durations in seconds. A service state passes through starting or stopping before running or stopped; idle means scaled to zero, and the next query wakes it.
Paging: clickhouse_cloud_list_organizations, clickhouse_cloud_list_api_keys and clickhouse_cloud_list_notifications take limit (up to 250) and return nextCursor when more items exist; the AI passes it as cursor until it is missing. All other lists return everything at once.
Limits: one usage cost report covers at most 31 days (to_date at most 30 days after from_date); for longer periods the AI makes several calls. The API is rate limited per key.
Common errors: 401 means a wrong key id or secret, or an expired or disabled key. 403 means the key's role lacks the permission for the call (billing, ClickPipes and service management are separate permissions), or the caller's IP is outside the key's allow list: on AnythingMCP Cloud add the server's outbound IP, self-hosted the IP of your server. 404 means a wrong organization, service or backup id. 429 means the rate limit; wait a few seconds and try again.
The connector does not run SQL, does not create or delete services, does not restore or delete backups, does not create or revoke API keys and does not remove members.
Step 2 — Install the adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Step 3 — Add the connector in Muse
Your server URL: in AnythingMCP, open MCP Servers → the server this connector is on, and copy its URL (
https://cloud.anythingmcp.com/mcp/…). Use it wherever this guide showsYOUR_SERVER_ID.
Muse adds remote MCP servers as custom connectors and signs in to them with OAuth.
- In Muse, open Settings → Connectors and choose Add custom connector.
- Paste the MCP server URL
https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID. - Muse opens the AnythingMCP sign-in page: sign in and approve access.
- In a chat, ask Muse for something that needs the
ClickHouse Cloudtools.
You can also set it up from a chat, on the web, in the iOS and Android apps or in WhatsApp. Send Muse this message:
Create a Custom Connector for a new remote MCP server, then connect to it:
Name: AnythingMCP
Transport: remote streamable HTTP
URL: https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID
Auth: OAuth
Self-hosting? Use your instance's public HTTPS address instead of https://cloud.anythingmcp.com. Muse connects from Meta's cloud, so localhost does not work.
Available tools
| Tool | What it does |
|---|---|
clickhouse_cloud_whoami | Who the API key is: key id, name, organization and assigned roles (actorType tells a key from a user) |
clickhouse_cloud_list_organizations | Organizations the API key belongs to (an organization key sees exactly one): id, name, creation date, private endpoints, BYOC configuration |
clickhouse_cloud_get_organization | Details of one organization: name, creation date, private endpoints and BYOC settings |
clickhouse_cloud_list_services | All ClickHouse services of the organization: id, name, cloud provider and region, state (running, idle, stopped, starting, stopping… |
clickhouse_cloud_get_service | One service with its current state, endpoints, ClickHouse version, scaling settings (min and max replica memory in GB, replicas, idle… |
clickhouse_cloud_get_service_settings | ClickHouse server settings changed on the service (the values that differ from the defaults) |
clickhouse_cloud_get_service_metrics | Current Prometheus metrics of a service as Prometheus text exposition (queries, inserts, memory, storage, merges, ...) |
clickhouse_cloud_list_backups | Backups of a service, newest first: id, status (done, error, in_progress), start and finish time, size in bytes, duration in seconds, type… |
clickhouse_cloud_get_backup | One backup of a service: status, start and finish time, size in bytes, duration and type |
clickhouse_cloud_get_backup_configuration | Backup schedule of a service: backup period in hours, retention period in hours and the daily start time (UTC) when set |
clickhouse_cloud_list_clickpipes | ClickPipes (managed ingestion from Kafka, S3, Postgres, MySQL, ...) of a service: id, name, state, source, destination table and scaling |
clickhouse_cloud_get_clickpipe | One ClickPipe with its state, source, destination, field mappings and settings |
clickhouse_cloud_get_usage_cost | Usage cost of the organization per day and per entity (data warehouse, service, ClickPipe) in ClickHouse Credits (CHC), with the metrics… |
clickhouse_cloud_get_credit_balances | Remaining prepaid credits of the organization, in total and per credit balance |
clickhouse_cloud_list_activities | Audit log of the organization: who did what and when (service created, stopped, scaled, key created, member invited, ...), with actor, IP… |
clickhouse_cloud_list_notifications | Notifications of the organization (billing, service health, ClickPipe failures, upgrades, ...), newest first, with severity, resource and… |
clickhouse_cloud_list_quotas | Quotas of the organization (for example the maximum number of services) with the current usage and whether they can be raised |
clickhouse_cloud_list_members | Members of the organization: user id, name, e-mail, role and assigned roles, join date |
clickhouse_cloud_list_invitations | Open invitations to the organization: e-mail, role, creation and expiry date |
clickhouse_cloud_list_roles | Roles defined in the organization (built-in and custom) with their permissions; the role ids are used by clickhouse_cloud_create_invitation |
clickhouse_cloud_list_api_keys | API keys of the organization: id, name, state, roles, key suffix, creation, expiry and last use |
clickhouse_cloud_change_service_state | Start, stop or wake a service. stop shuts the compute down (data is kept, billing for compute stops); start brings a stopped service back… |
clickhouse_cloud_update_service | Rename a service, change its release channel, add or remove IP access list entries or tags |
clickhouse_cloud_update_replica_scaling | Change the autoscaling of a service: memory per replica (min and max in GB, multiples of 4), number of replicas, idle scaling and idle… |
clickhouse_cloud_change_clickpipe_state | Start or stop a ClickPipe, or resync it (a database CDC pipe copies the source tables again) |
clickhouse_cloud_create_invitation | Invite a person to the organization by e-mail |
Example prompts
- "Which of our ClickHouse Cloud services are running right now, and which are idle or stopped?"
- "How many ClickHouse Credits did we use in October, split by service? Which day was the most expensive?"
- "Did last night's backup of the production service finish? Show its size and duration."
- "Add 203.0.113.0/24 with the description 'office' to the IP access list of the staging service."
- "Who stopped or scaled a service in the last 7 days? Show me the audit log entries."
FAQ
Where is Muse available? Meta currently offers Muse in the US and Canada, on the web, in the iOS and Android apps and in WhatsApp.
Does Meta review this connector? No. Meta doesn't review custom connectors. Muse sees only the tools you switched on for this MCP server in AnythingMCP, and you can disconnect it anytime under Settings → Connectors.
Next steps
- Connector landing page
- Connect to Claude
- Connect to ChatGPT
- Connect to Cursor
- Connect to Gemini
- Connect to Microsoft Copilot
Was this guide helpful?