DataOps ClickHouse MCP server with query optimization and pipeline monitoring
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
mcp-name: io.github.Aguantar/clickhouse-dataops-mcp
A DataOps-focused MCP server for ClickHouse with query optimization, pipeline latency analysis, and data quality monitoring.
Unlike generic ClickHouse MCP servers that only run queries, this server acts as a query optimization advisor:
ch_query β Execute SELECT with automatic partition pruning warningsch_explain_query β EXPLAIN-based analysis with optimization suggestionsch_table_schema β Comprehensive table metadata (columns, keys, partitions, samples)ch_pipeline_latency β CDC pipeline per-segment latency (p50/p95/p99)ch_data_quality β Null/duplicate/gap detection with market coverage checksch_slow_queries β Slow query detection with root cause diagnosisch_disk_usage β Disk analysis with TTL and optimization recommendationsch_list_tables β Table catalog with built-in descriptionsAll queries are read-only. DDL/DML operations are blocked at the SQL validation layer:
DROP, TRUNCATE, DELETE, ALTER, INSERT, UPDATE, CREATE, etc.; separator)Add to your .mcp.json:
| Variable | Default | Description |
|---|---|---|
CLICKHOUSE_HOST | localhost | ClickHouse HTTP host |
CLICKHOUSE_PORT | 8123 | ClickHouse HTTP port |
CLICKHOUSE_USER | default | ClickHouse username |
CLICKHOUSE_PASSWORD | (empty) | ClickHouse password |
CLICKHOUSE_DATABASE | cdc_pipeline | Default database |
CLICKHOUSE_QUERY_TIMEOUT | 30 | Query timeout in seconds |
MIT
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/clickhouse-dataops-mcp)<a href="https://allmcps.com/mcp/clickhouse-dataops-mcp"><img src="https://allmcps.com/api/badge/clickhouse-dataops-mcp?style=directory" alt="Clickhouse Dataops Mcp on AllMCPs" /></a>