mcpclickhouse
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mcpclickhouse" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5209a3e7d1ca94306ef558e194aa078cfbc61a6c7221e3bbba2e9f146541bad4. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/query-clickhouse-analytics-safely-from-mcp-clients before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Use the official ClickHouse MCP server when the assistant must access schema-aware, auditable analytics on ClickHouse via restricted tooling instead of transient database credentials.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Python runtime or package runner, mcp-clickhouse package, ClickHouse credentials, MCP-capable client
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "从MCP客户端安全地查询ClickHouse分析数据"
slug: "query-clickhouse-analytics-safely-from-mcp-clients"
version: "1.0.0"
displayName: "从MCP客户端安全地查询ClickHouse分析数据"
summary: "当助手需要通过受限工具而非临时数据库凭据访问ClickHouse的模式感知、可审查的分析功能时,请使用ClickHouse官方MCP服务器。"
license: "MIT"
description: "当助手需要通过受限工具而非临时数据库凭据访问ClickHouse的模式感知、可审查的分析功能时,请使用ClickHouse官方MCP服务器。"
github_stars: 801
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Data Extraction & Transformation"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 801从MCP客户端安全地查询ClickHouse分析数据
Use ClickHouse's official MCP server when an assistant needs schema-aware, reviewable analytics access to ClickHouse through bounded tools instead of ad hoc database credentials.
Prerequisites
Python runtime or package runner, mcp-clickhouse package, ClickHouse credentials, MCP-capable client
Installation
Use the upstream install or setup path that matches your environment:
- In test-services directory run docker compose up -d to start the ClickHouse cluster.
- Run uv sync to install the dependencies. To install uv follow the instructions here. Then do source .venv/bin/activate.
- uv sync --all-extras --dev # install dev dependencies
- uv run ruff check . # run linting
Requirements and caveats from upstream:
- Requires the optional chdb extra: pip install 'mcp-clickhouse[chdb]'
- When using HTTP or SSE transport, authentication is required by default. The stdio transport (default) does not require authentication as it only communicates via standard input/output.
- "--python",
Basic usage or getting-started notes:
-
Queries run in read-only mode by default (CLICKHOUSE_ALLOW_WRITE_ACCESS=false), but writes can be enabled explicitly if needed.
-
Example:
-
Example (Azure Entra):
-
Extracted from upstream docs: https://raw.githubusercontent.com/ClickHouse/mcp-clickhouse/HEAD/README.md
Documentation
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供通过 MCP 协议安全访问 ClickHouse 分析数据的能力,满足特定场景下的数据提取需求
Highlights
- 触发描述精准,明确指出了使用受限工具访问 ClickHouse 的核心场景
Areas to improve
-
缺少 When to Use/示例章节 Reported severity: Minor
文档缺少清晰的 Phase/步骤划分和端到端完整示例
Recommendation: 建议补充详细的 When to Use 说明和完整的端到端使用示例,帮助用户更好地理解和使用该 Skill
Highlights
- frontmatter 完整,包含必要的元数据信息
Highlights
- 工具来源明确,参数说明基本正确,覆盖了主要异常情况
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 38 -
Accounts, secrets or authorization
Use a dedicated least-privilege account. Keep secrets out of public content and command logs; verify the receiving service and tenant.
Mentioned in main document · lines 23, 27
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- docs.astral.sh
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Python runtime or package runner, mcp-clickhouse package, ClickHouse credentials, MCP-capable client
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.