Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

ClickHouse 8 min read Announcement mediumAdept

Announcing the Managed ClickStack MCP Server

ClickStack's MCP server, which exposes observability-specific investigation tools for logs, metrics and traces to agents like Claude Code, Cursor and Codex, is now available in Managed ClickStack on ClickHouse Cloud with OAuth and per-service dedicated compute. Semantic tools beat raw SQL generation: internal benchmarks show 25% fewer tool calls, 2.5x more consistency and roughly 20% higher eval scores than the generic ClickHouse MCP. The event patterns tool, for example, samples matching events, clusters them with Drain3 in the MCP layer and extrapolates counts, keeping query cost fixed instead of scanning the full dataset. The server also exposes orchestration tools so agents can persist investigations as dashboards and saved searches, while SQL remains available as an escape hatch.

Assumes: Model Context Protocol basicslogs, metrics and traces

Related posts

  • Open House observability announcements: MCP server, AI Notebooks, and ClickStack Cloud

    ClickHouse easyNovice

    ClickHouse unveiled three observability updates: ClickStack Cloud, a serverless managed OpenTelemetry endpoint now in private preview; general availability of Managed ClickStack for teams that want control over ingestion and sizing; and AI Notebooks in beta, which turn incident investigations into branching, editable, shareable workspaces. A new open-source ClickStack MCP server exposes intent-level observability tools such as log pattern trends, outlier attribute correlation and slow-trace inspection, along with dashboard and search management, so external agents need not generate raw SQL. In internal benchmarks against the generic ClickHouse MCP, these tools cut tool calls by 25%, raised consistency 2.5x and improved eval scores by about 20%, while raw SQL stays available as an escape hatch. A Docker all-in-one container and a Claude Code connection command make it easy to try locally.

  • How we build and evaluate our MCP server for SRE agents

    ClickHouse mediumAdept

    ClickHouse's open-source hdx-evals framework benchmarks MCP servers for SRE agents. It seeds deterministic synthetic telemetry (tens of millions of spans and logs with planted anomalies and distractors) into ClickHouse and runs sandboxed Claude Code agents against each MCP/model combination. Grading combines weighted regex checks with proximity-based negative checks for distractors (40%), a blinded LLM judge (60%), and a rate-based penalty for agent-caused tool errors. Five scenarios cover root cause, latency regression, Simpson's-paradox segmentation, noise reduction and no-incident health checks. Against a raw SQL ClickHouse MCP, the higher-level ClickStack MCP gave 18% more accurate outcomes, 26% fewer tool calls and 2.4x more consistent results.

  • The observability UI as we know it is dead. So what comes next?

    ClickHouse easyNovice

    ClickHouse Observability Apps, now in private preview in ClickStack, let teams describe an observability application in natural language and have an agent generate it over live logs, traces and metrics, instead of waiting for a vendor to build every custom view. Generated apps write and test SQL against ClickHouse, lean on OpenTelemetry semantic conventions, and reuse ClickStack's investigation APIs and UI components. They run in a sandboxed iframe that can only request validated actions such as running read-only queries under the viewer's permissions. Open problems include checking that queries answer the intended question and hardening against prompt injection, which is handled today by marking query results and logs as untrusted input.

  • What's new in ClickStack - May 2026

    ClickHouse easyNovice

    ClickStack's May 2026 update focuses on making dashboards useful during investigations. It adds configurable table row actions that link to templated searches or other dashboards, scoped multi-source filters, threshold-colored number tiles, and a service map with p50/p95/p99 latency, throughput, Lucene/SQL filtering and a focus mode. Other additions include experimental PromQL support built on the ClickHouse TimeSeries Engine, a Browser RUM dashboard template, a split-pane trace view, configurable event-pattern columns, and new MCP tools for agents. The direct-read attribute search optimization, measured at 1.4x–10x faster, is now on by default because it works with ALIAS columns and no longer needs extra storage.

  • Tracing OpenAI agents with ClickStack

    ClickHouse mediumAdept

    OpenAI's agents SDK has built-in tracing that can be redirected from OpenAI's hosted product to a custom TracingExporter. Spans can then be written into ClickHouse and explored in HyperDX as part of ClickStack. The worked example uses a gpt-5-mini agent that queries the ClickHouse SQL Playground through the ClickHouse MCP Server. The exporter is attached via a BatchTraceProcessor, adds the missing model name to response spans, and inserts rows into a JSON-typed ClickHouse table. The traces show tool calls, failed SQL attempts and LLM responses, which helps when comparing how different models handle ambiguous instructions.

The quest for software engineering knowledge.

Look:
Layout: