Skip to main content
plugin

clickhouse — Claude Code plugin: ClickHouse skills and MCP server

Wires Claude into ClickHouse Cloud: browse schemas, run read-only SQL, and get ClickHouse best-practice rules.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin install clickhouse@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official
Open on GitHub

What clickhouse does

The official ClickHouse plugin for Claude ships two things. First, a set of skills holding best-practice rules on schema design, query optimization and data ingestion. Second, an MCP server that links Claude to the ClickHouse Cloud Remote MCP server.

With the MCP server connected, the agent can list organizations, services, databases and table schemas, run read-only SQL against your clusters, and pull up backup status, billing costs and ClickPipe configurations. The skills load on their own whenever you touch ClickHouse — there is no command to invoke them.

Rules come from ClickHouse/agent-skills and stay current through a weekly GitHub Action that pushes upstream changes straight to main; the source lives as a git submodule at submodules/agent-skills. Queries are read-only, so nothing in your data gets modified through the plugin. Licensed under Apache 2.0.

What it helps with

  • inspect table schemas in ClickHouse Cloud without opening the console
  • run a read-only SQL query and get an analytical answer right away
  • check when a service was last backed up
  • review ClickHouse billing costs
  • look at a ClickPipe configuration

Example prompts for the agent

  • List the services in my ClickHouse organization
  • Run a read-only query: how many rows are in the events table today
  • Check the backups for my service and show this month's costs

How to install clickhouse

Plugin marketplace

/plugin install clickhouse@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-official

Step by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own

Questions about clickhouse

How do I install clickhouse in Claude Code?

Add the marketplace first with /plugin marketplace add anthropics/claude-plugins-official, then run /plugin install clickhouse@claude-plugins-official.

What does the clickhouse plugin do?

It adds ClickHouse best-practice skills to Claude plus an MCP server for ClickHouse Cloud: schema inspection, read-only SQL queries, backups, billing and ClickPipe.

Can the plugin write to my ClickHouse data?

No. The MCP server runs read-only SQL queries only, so inserts and updates are not available through it.

Source text

SKILL.md · Apache-2.0
# ClickHouse Claude Code Plugin

The official Claude Code Plugin for [ClickHouse](https://clickhouse.com/). Extends Claude Code with ClickHouse best practice skills, rules, and the ClickHouse MCP server.

## Installation

Install from the Claude Code plugin directory (pending marketplace approval):

```bash
claude plugin install clickhouse@claude-plugins-official
```

Or clone the repo and load it directly:

```bash
git clone --recursive https://github.com/ClickHouse/clickhouse-claude-code-plugin
claude --plugin-dir ./clickhouse-claude-code-plugin
```

## What's included

- **Skills** — ClickHouse best practice rules covering schema design, query optimization, and data ingestion, applied automatically when you work with ClickHouse
- **MCP Server** — connects Claude Code to the [ClickHouse Cloud Remote MCP server](https://clickhouse.com/docs/cloud/features/ai-ml/remote-mcp) for schema inspection and read-only SQL queries against your clusters

See [`skills/clickhouse-best-practices/`](./skills/clickhouse-best-practices/) for the full rule set.

## Keeping skills up to date

Best practice rules are sourced from [ClickHouse/agent-skills](https://github.com/ClickHouse/agent-skills) and kept in sync via a weekly GitHub Action that pushes upstream changes directly to `main`. The source is tracked as a git submodule at `submodules/agent-skills`.

## License

Apache 2.0 — see [LICENSE](./LICENSE) for details.

© ClickHouse · Apache-2.0 · ClickHouse/clickhouse-claude-code-plugin

Similar plugins

All plugins for Data and databases →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor