ClickHouse MCP server

Ask in plain English to query your ClickHouse data, check services and backups, and review cloud costs.

Tools
13
Transport
Remote (HTTP)
Sign-in
Sign in with ClickHouse
Made by
ClickHouse
RevampKey connects ClickHouse in one click and adds its 3 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open ClickHouse in RevampKey

Get RevampKey to connect ClickHouse

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and ClickHouse is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials backup-and-clickpipe-health-audit query-performance-and-cost-review; do
  curl -fsSL --create-dirs -o .claude/skills/clickhouse-$s/SKILL.md https://revampkey.com/marketplace/clickhouse/skills/$s/SKILL.md
done

What the ClickHouse MCP server does

ClickHouse is an open-source database built for analytics. It stores data by column, so it can scan and add up very large datasets quickly. ClickHouse also sells a managed version called ClickHouse Cloud. Developers and data teams use it for real-time analytics and dashboards, observability with logs, metrics and traces, data warehousing, and machine learning work. Companies such as Lyft, GitLab and Cisco are listed as ClickHouse Cloud customers.

Once you connect ClickHouse, you can ask about your ClickHouse Cloud organizations, services, databases and tables. The agent can inspect table columns and run read-only SELECT queries. It can check a service's backups, its backup schedule and retention settings, and the ClickPipes set up on a service. It can also pull organization cost. All 13 tools are read-only, so the agent reads and reports. It does not change your data or service settings.

What you can do with ClickHouse and an AI agent

Checking a service before a report

Your finance lead wants daily order counts before a Monday meeting. You ask the agent to find the right service, list its databases, and run a SELECT that counts orders per day from the orders table. The agent returns the results and summarizes the trend in a few lines. It only reads data, so nothing in your service changes.

Reviewing ClickHouse Cloud spend

Your manager asks what ClickHouse Cloud costs this month. You ask the agent to list your organizations, then pull the cost for the one you need. It returns the cost figures and lists the services in that organization, so you can answer with real numbers instead of checking the billing pages by hand.

Confirming backups before a release

Before a schema change ships, you want to confirm the analytics service has recent backups. You ask the agent for that service's backups, which are listed most recent first. Then you ask for the details of the newest one and the backup schedule. The agent reports what it finds, and you decide whether to go ahead.

How to set up the ClickHouse MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · Sign in with ClickHouse

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for ClickHouse and click Connect. Approve access on ClickHouse's own sign-in page. RevampKey never sees your password.

  3. Ask in plain language. The 3 ClickHouse skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect ClickHouse · 1 click

    Get RevampKey to connect ClickHouse

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and ClickHouse is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    for s in essentials backup-and-clickpipe-health-audit query-performance-and-cost-review; do
      curl -fsSL --create-dirs -o .claude/skills/clickhouse-$s/SKILL.md https://revampkey.com/marketplace/clickhouse/skills/$s/SKILL.md
    done

Using a different MCP client?

Add a new remote (HTTP) MCP server in its settings and paste this URL. Sign in with ClickHouse the first time it connects.

Server URLhttps://mcp.clickhouse.cloud/mcp

Skip the config file

In RevampKey, ClickHouse is one click: sign-in and the server and the 3 skills are set up for you.

Download RevampKey

ClickHouse agent skills

Playbooks that teach the agent how to do real ClickHouse work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 3 skills in detail →

What to ask once ClickHouse is connected

Plain words work. Copy one to try it.

  • “Run a SELECT that counts orders per day for the last 30 days in the shop database.”
  • “Which services are in my production organization, and what are the details of the analytics one?”
  • “What has my ClickHouse Cloud organization cost so far this month?”
  • “When did my analytics service last back up, and what is its backup schedule?”
  • “Which ClickPipes are set up on my events service, and what are their details?”
  • “Audit backups and ClickPipes across my ClickHouse organization and tell me what needs attention.”Audit ClickHouse backups and ClickPipe health with AI
  • “Why did our ClickHouse spend jump in the second half of last month, and what is causing it?”Review ClickHouse query performance and cost

What the agent can do in ClickHouse

13 tools in 5 groups. Reading needs no approval; RevampKey asks before every change.

Query and schema exploration
Run read-only SELECT queries against a service. List the databases in a service and the tables in a database, including their column definitions. Filter table names with patterns to find the tables you need.run_select_querylist_databaseslist_tables
Organizations and services
See the ClickHouse Cloud organizations your account can reach. List the services in an organization and read the details of a specific service.get_organizationsget_organization_detailsget_services_listget_service_details
Costs and billing
Pull cost data for a ClickHouse Cloud organization. Use it to answer questions about spend without opening the billing pages.get_organization_cost
Backups
List a service's backups, most recent first. Open the details of one backup, or read the service's backup schedule and retention settings.list_service_backupsget_service_backup_detailsget_service_backup_configuration
ClickPipes
See the ClickPipes configured for a service. Open the details of a specific ClickPipe to check how it is set up.list_clickpipesget_clickpipe

All 13 ClickHouse MCP tools

Show all 13 tools13 read

Read (13) Run without asking

  • get_clickpipe
  • get_organization_cost
  • get_organization_details
  • get_organizations
  • get_service_backup_configuration
  • get_service_backup_details
  • get_service_details
  • get_services_list
  • list_clickpipes
  • list_databases
  • list_service_backups
  • list_tables
  • run_select_query

ClickHouse MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
ClickHouse skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

ClickHouse MCP server FAQ

What do I need to connect ClickHouse to RevampKey?

You need a ClickHouse Cloud account with access to the organization and services you want. Click Connect in RevampKey, then approve access on ClickHouse's own sign-in page. Each service must also have the remote MCP server turned on. Someone with the control-plane:service:manage-mcp permission can turn it on in the ClickHouse Cloud console under Connect, then MCP.

What can the agent do in ClickHouse, and what can it not do?

The agent can list organizations, services, databases, tables, backups and ClickPipes. It can read table columns, run read-only SELECT queries, and pull organization cost. All 13 tools are read-only. The agent cannot change data, alter service configuration, or run destructive operations.

How do data access and approvals work?

The agent only sees the organizations and services your ClickHouse user can access. You approve access once on ClickHouse's sign-in page. The agent asks before it changes anything, and none of its tools make changes. Check the agent's answers against your data before you act on them.

Does this work with self-hosted ClickHouse?

This connector covers ClickHouse Cloud services. Self-hosted ClickHouse uses a separate open-source server, mcp-clickhouse, which has three tools: run_select_query, list_databases and list_tables. It runs locally and needs its own setup. It does not include service, backup, ClickPipe or cost tools.

What is the ClickHouse MCP server URL?

The ClickHouse MCP server URL is https://mcp.clickhouse.cloud/mcp. It uses the Streamable HTTP transport, so any client that supports remote MCP servers can connect to it.

How does the ClickHouse MCP server authenticate?

With ClickHouse's own sign-in (OAuth). You approve access in your browser; no password is shared with the client.

What can an AI agent do with the ClickHouse MCP server?

It exposes 13 tools: 13 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for ClickHouse?

Yes. 3 SKILL.md playbooks teach an agent how to do real ClickHouse work step by step. RevampKey installs them when you connect ClickHouse; for Claude Code, Cursor or Codex you can copy them into your project.

Connect ClickHouse in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and ClickHouse is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect ClickHouse · 1 click

Get RevampKey to connect ClickHouse

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and ClickHouse is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

for s in essentials backup-and-clickpipe-health-audit query-performance-and-cost-review; do
  curl -fsSL --create-dirs -o .claude/skills/clickhouse-$s/SKILL.md https://revampkey.com/marketplace/clickhouse/skills/$s/SKILL.md
done