setup
This skill guides agents through connecting to ClickHouse Cloud via an OAuth-authenticated MCP server at mcp.clickhouse.cloud/mcp, providing read-only access…
Identity proven by GitHub's verified organisation badge (ClickHouse)
- Agents
- Claude Code
- License
- Apache-2.0 (permissive)
- Pin
- 652664cpinned Oct 9, 2026
- Context cost
- about 810 tokenswhen the skill loads
- GitHub stars
- 7on clickhouse/clickhouse-claude-code-plugin
- Scripts
- None found
What it does
“Guides users through setting up the ClickHouse MCP server connection bundled with this plugin. Use when the user first installs the plugin or has trouble connecting to ClickHouse.”
Generated summary from the skill's own text
This skill guides agents through connecting to ClickHouse Cloud via an OAuth-authenticated MCP server at mcp.clickhouse.cloud/mcp, providing read-only access to databases, tables, queries, backups, and billing data. The agent can list organizations and services, explore database schemas, run SELECT queries, and retrieve ClickPipes and backup information, but all queries are subject to a 30-second timeout enforced by Claude Code.
When to use it
- User installs the ClickHouse plugin and needs connection setup assistance
- Agent must verify MCP server is available and authenticate with ClickHouse Cloud
- User wants to explore ClickHouse Cloud databases, tables, or run read-only queries
- Troubleshooting connection problems with the remote MCP endpoint
When not to
- Queries need longer than 30 seconds to complete
- Write operations or modifications to ClickHouse data are required
- User has no ClickHouse Cloud account or internet connectivity
Install
These commands install from the publisher's repository and need no account.
skills CLI
npx skills add clickhouse/clickhouse-claude-code-plugin --skill setupInstalls from the repository's default branch, which may have changed since the commit we checked.
GitHub CLI 2.90 or later
gh skill install clickhouse/clickhouse-claude-code-plugin setup@652664c8924c5a9454d9a7a5f6191944b4adfb11Installs the commit we checked (652664c).
Copy by hand
Download the folder at 652664c and put it in .claude/skills/setup for Claude Code and in .agents/skills/setup for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode.
Claude Code plugin
/plugin install clickhouse@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Claude Code plugin
/plugin install clickhouse-best-practices@claude-plugins-officialThe publisher's plugin in Claude's official marketplace. It may hold more than this skill, and we have not pinned it.
Copy for your agent
A prompt for any coding agent. It installs this skill from GitHub at the pinned commit, copies the files as they are, and runs nothing unless you ask.
Prompt
Install the agent skill "setup" by ClickHouse. Source, pinned to commit 652664c8924c5a9454d9a7a5f6191944b4adfb11: https://github.com/clickhouse/clickhouse-claude-code-plugin/tree/652664c8924c5a9454d9a7a5f6191944b4adfb11/skills/setup 1. Download that folder at exactly this commit. Do not use the default branch. 2. Copy every file unchanged, keeping the folder structure, into .claude/skills/setup/ for Claude Code and .agents/skills/setup/ for Codex, Cursor, Gemini CLI, GitHub Copilot and OpenCode. Create the folders if they do not exist. 3. Do not edit the files, and do not run any script in the folder unless I ask you to. 4. When you are done, list the files you copied and where you put them. Listing and checks: https://www.agentnative.dev/skills/clickhouse/setup
SKILL.md at the pin
--- name: setup description: Guides users through setting up the ClickHouse MCP server connection bundled with this plugin. Use when the user first installs the plugin or has trouble connecting to ClickHouse. disable-model-invocation: true --- # ClickHouse Plugin Setup This plugin includes the [ClickHouse Cloud Remote MCP server](https://clickhouse.com/docs/cloud/features/ai-ml/remote-mcp) at `https://mcp.clickhouse.cloud/mcp`. It provides secure, read-only access to your ClickHouse Cloud clusters. ## Setup Steps 1. **Verify the MCP server is connected**: Check that the ClickHouse MCP server appears in your available tools. If it does, you're ready to go. 2. **Authenticate via OAuth**: The MCP server uses OAuth with your ClickHouse Cloud credentials. Follow the prompts when first connecting to authorize access. 3. **Test the connection**: Try listing databases or running a simple SELECT query to confirm everything works. ## Troubleshooting - **Server not appearing**: Run `/reload-plugins` to reload plugin MCP servers. - **Authentication errors**: Re-authenticate by following the OAuth flow when prompted. - **Connection timeouts**: Verify your network can reach `https://mcp.clickhouse.cloud`. The MCP server is a remote HTTP endpoint and requires internet access. ## Claude Code Timeout Limitation Claude Code enforces a **30-second timeout** on all MCP tool calls. This cannot be changed by the user or the MCP server. While the `run_select_query` tool accepts a `timeoutSeconds` parameter (default 300s, max 3600s), Claude Code will kill the connection after 30 seconds regardless of this setting. **Implications:** - Keep queries simple and fast — complex analytical queries that take longer than 30 seconds will fail - Use `LIMIT` clauses to bound result sets - Prefer querying materialized views or pre-aggregated tables over raw scans of large tables - If a query times out, break it into smaller, faster queries rather than increasing `timeoutSeconds` ## What the MCP Server Provides Once connected, the ClickHouse MCP server provides these tools: ### Organization & Service Management - **get_organizations** — list all accessible ClickHouse Cloud organizations - **get_organization_details** — details of a single organization - **get_services_list** — list all services in an organization - **get_service_details** — details of a single service ### Database Exploration - **list_databases** — list all databases in a service - **list_tables** — list tables in a database (supports `like`/`notLike` filtering) - **run_select_query** — execute read-only SELECT queries (⚠️ subject to 30s Claude Code timeout) ### ClickPipes - **list_clickpipes** — list all ClickPipes for a service - **get_clickpipe** — details of a specific ClickPipe ### Backups - **list_service_backups** — list all backups for a service - **get_service_backup_details** — details of a specific backup - **get_service_backup_configuration** — backup schedule and retention settings ### Billing - **get_organization_cost** — billing and usage cost data (max 31-day window) All tools are read-only. See the [ClickHouse MCP docs](https://clickhouse.com/docs/use-cases/AI/MCP/remote_mcp) for details. ## Best Practices Skill This plugin also includes the `clickhouse-best-practices` skill with 28 rules covering schema design, query optimization, and insert strategy. That skill activates automatically when you work with ClickHouse -- no setup needed.
From clickhouse/clickhouse-claude-code-plugin at 652664c, shown as plain text under its license: Apache-2.0 (permissive). The license text is in LICENSE.
View SKILL.md on GitHub at 652664cFiles
- SKILL.md3.5 KB · 1005b8a72fb2
1 file, 3.5 KB in total. Each file has a sha256 in the pin's manifest; the first 12 characters are shown.
Skill folder on GitHub at 652664cMore from ClickHouse
chdb-datastore
This skill enables working with tabular data using a pandas-compatible API backed by ClickHouse for faster execution.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
chdb-sql
The skill enables running ClickHouse SQL queries on local files (parquet, csv, json), remote databases (Postgres, MySQL, MongoDB, ClickHouse Cloud), and cloud…
Contains scripts
Claude Code, Codex, Cursor +3 · about 960 tokens · pinned 6 days ago
clickhouse-architecture-advisor
This skill guides agents through ClickHouse architecture decisions for specific workloads like observability, SIEM, and financial services.
Claude Code, Codex, Cursor +4 · about 690 tokens · pinned 6 days ago
clickhouse-best-practices
This skill provides 31 ClickHouse best practices rules covering schema design, query optimization, data ingestion, and agent connectivity.
Claude Code, Codex, Cursor +4 · about 2.5K tokens · pinned 6 days ago
clickhouse-js-node-rowbinary
This skill generates TypeScript/JavaScript code to read and write ClickHouse RowBinary format streams in Node.js.
Contains scripts
Claude Code, Codex, Cursor +3 · about 1.2K tokens · pinned 6 days ago
clickhouse-js-node-troubleshooting
Diagnose and fix issues with the ClickHouse Node.js client (@clickhouse/client) running in Node.js environments.
Claude Code, Codex, Cursor +4 · about 1.1K tokens · pinned 6 days ago
Related in Data and databases
algolia-automation
This skill automates Algolia search and indexing operations through the Rube MCP interface.
by ComposioOfficial publisher
Claude Code, Codex, Cursor +3 · about 690 tokens · pinned 6 days ago
building-a-dashboard
This skill constructs or modifies PostHog dashboards by selecting and arranging insight tiles.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +4 · about 2.1K tokens · pinned 6 days ago
signals-scout-product-analytics
This skill monitors product analytics behavioral flows (funnels, retention, lifecycle, stickiness, paths) for regressions in conversion or retention rates…
by PostHogOfficial publisher
Claude Code, Codex, Cursor +3 · about 6.2K tokens · pinned 6 days ago
signals-scout-revenue-analytics
This skill monitors PostHog's revenue analytics for upstream failures and configuration issues.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +3 · about 5.6K tokens · pinned 6 days ago
signals-scout-web-analytics
This skill monitors PostHog web traffic for acquisition and site-health changes invisible in aggregate metrics.
by PostHogOfficial publisher
Claude Code, Codex, Cursor +3 · about 8.9K tokens · pinned 6 days ago
dsql
This skill enables agents to build and manage Aurora DSQL, a serverless PostgreSQL-compatible distributed SQL database.
by Amazon (AWS)Official publisher
Contains scripts
Claude Code, Codex, Cursor +3 · about 6.5K tokens · pinned 6 days ago