selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

chmonitor logo

Self-host chmonitor

v0.3.11

Operational advisor for ClickHouse with AI recommendations

BetaOpen SourceGPL-3.0
Updatedlast week
LanguageTypescript
Setup difficultyModerate
MobileResponsive
ThemeDark mode
Stars
305
Port
3000 (HTTP dashboard)
Requires
ClickHouse
Docker
ghcr.io/chmonitor/chmonitor
Install with Docker
Overview charts showing query count, duration, and data written over timeCluster topology map with nodes, shards, replicas, and Keeper quorumCluster insights with findings, record-breaking queries, and storage statsAI agent interface for asking about schema, storage, queries, and healthSQL console with read-only SQL, history, and EXPLAIN

What is chmonitor?

chmonitor is a purpose-built dashboard and advisor for ClickHouse clusters. It connects directly to ClickHouse system tables over HTTP — no exporters or agents required — and provides real-time views of queries, merges, replication, storage, and cluster health. An integrated AI agent (with MCP server at /api/mcp) offers read-only recommendations for skip indexes, projections, PREWHERE rewrites, and TTL tuning. The dashboard supports multiple ClickHouse hosts from a single instance, includes alerting with webhooks to Slack, Discord, PagerDuty, Opsgenie, Matrix, Telegram, and more, and can also monitor PeerDB replication and Postgres (beta). It runs as a single Docker container, on Kubernetes via Helm, on Cloudflare Workers, or as a standalone Node.js binary. Licensed GPL-3.0 with optional commercial licenses for invoicing and support; all features are free in the community build.

chmonitor alternatives

All self-hosted alternatives to ClickHouse native /dashboard → All self-hosted alternatives to Datadog → All self-hosted alternatives to Grafana + ClickHouse plugin →

Should you self-host chmonitor?

chmonitor scores 53/100 on selfhost.directory (how scoring works) and ranks #32 of 41 in Database Management. It has 305 GitHub stars.

It shipped 7 stable releases in the past year. The latest, v0.3.11, came out on 4 November 2026.

Setup is moderate: expect some configuration beyond a single command. An official Docker image is available. It is GPL-3.0-licensed and written mostly in Typescript.

Its closest alternative on selfhost.directory is netdata (86/100, 81 433 stars). It scores higher overall, so compare the two before you pick. See chmonitor vs netdata side by side.

Features

  • AI advisor with MCP server
  • Alerting with webhooks
  • CLI tool (chm)
  • Cluster insights and findings
  • Cluster topology visualization
  • Data Explorer with SQL console
  • MCP Server
  • PostgreSQL monitoring (beta)Beta feature, free on every plan while in beta
  • Query monitoring and analysis
  • Schema compare and settings diff
  • TTL and partition health
  • Workspace roles

chmonitor README

chmonitor

chmonitor

The operational advisor for ClickHouse

Build and Test GitHub stars Latest release Docker image License

Live demo · Website · Docs · Getting started · Quick start

chmonitor v0.3 launch film

Watch the v0.3 launch film

chmonitor is a dashboard and advisor for ClickHouse. It reads system.* tables and shows what the cluster is doing — queries, merges, replication, storage, health — then recommends what to change next.

It does not apply DDL for you. Recommendations stay recommendations.

Runs the same way on Docker, Kubernetes, bare metal, or ClickHouse Cloud. Self-host it free (GPL-3.0), or use the hosted demo.

Current release: v0.3.11. Upgrading from v0.2? See Migrate to v0.3.


What it does

You need chmonitor
See the cluster Overview, topology, health checks, 30+ charts
Catch expensive work Running, slow, failed, and historical queries
Understand data Explorer, table size, parts, compression, TTLs
Keep replicas healthy Merges, mutations, replication queue, Keeper
Get a second opinion AI advisor: projections, skip indexes, PREWHERE, MVs
Ask in English Built-in AI agent + MCP for Claude / Cursor
Work from a terminal chm CLI — live TUI and chm doctor

Works with multiple ClickHouse hosts from one dashboard (?host=0).

More detail: docs · AI agent · editions


Quick start

One container, pointed at any reachable ClickHouse (OSS, Altinity, or ClickHouse Cloud):

docker run -d --name chmonitor -p 3000:3000 \
  -e CLICKHOUSE_HOST=https://clickhouse.example.com:8443 \
  -e CLICKHOUSE_USER=default \
  -e CLICKHOUSE_PASSWORD=change-me \
  ghcr.io/chmonitor/chmonitor:0.3.11

Open http://localhost:3000. Pin a version tag in production; use :latest only if you want the rolling tip. Image tags carry no v prefix. The release v0.3.11 publishes 0.3.11, plus 0.3 and latest.

Want a look first? dash.chmonitor.dev — no setup.

Install the CLI:

curl -sSf https://chmonitor.dev/install.sh | bash
chm doctor

Deploy

Same CLICKHOUSE_HOST / CLICKHOUSE_USER / CLICKHOUSE_PASSWORD everywhere.

Target Guide
Docker docs/operate/deploy/docker
Kubernetes (Helm) docs/operate/deploy/k8s
Cloudflare Workers docs/operate/deploy
Railway / Render / Fly One-click
Local development Getting started

Release artifacts (Docker image, Node standalone, Workers archive) are on the GitHub Releases page.


Editions

chmonitor is GPL-3.0: self-host every feature, unlimited hosts, no payment, no key. A commercial license is optional and buys paper, not features — an invoice and named vendor, priority email support for the paid term, and an opt-in listing. Same binary either way.

License Hosts Yearly Lifetime
Personal Self Hosted Unlimited Free Free
Team 3 $499 $1,349
Unlimited Unlimited $999 $2,999

You do not get extra dashboard features versus the free build today. A host is one monitored connection; replicas in the same shard are not counted.

Details: Editions · Commercial license · Buy.


Sponsors

Self-hosting is free under GPL-3.0. Sponsorship is not a license — it buys no features, no support window, and no key. It funds the free build, and it earns a listing.

Tier One-off You get
Supporter $19 Your name on the sponsors page
Backer $59 Your name and a link to your site on the sponsors page
Hero $99 Your logo and link under the homepage hero, plus the sponsors page
Partner $199 A larger hero slot, plus a short line about you on the sponsors page

Want to support the free build? Start sponsoring — from $19 one-off, or $99 to put your logo under the homepage hero.

The wall: chmonitor.dev/sponsors. A commercial license is a separate thing — see Editions.


Screenshots

Overview charts: query count, duration, and data written over time

How to install chmonitor

Install chmonitor with Docker

Docker installed and running. A reachable ClickHouse endpoint with a monitoring user (SELECT on system.*).
Environment variables
CLICKHOUSE_HOST, CLICKHOUSE_USER, CLICKHOUSE_PASSWORD

docker run -d --name chmonitor -p 3000:3000
-e CLICKHOUSE_HOST='http://localhost:8123'
-e CLICKHOUSE_USER='monitoring'
-e CLICKHOUSE_PASSWORD='change-me'
ghcr.io/chmonitor/chmonitor:X.Y.Z

Pin a version tag in production; use :latest only for rolling tip

How to configure chmonitor

  • CLICKHOUSE_HOSThttp://localhost:8123Comma-separated ClickHouse host URLs
  • CLICKHOUSE_USERdefaultComma-separated usernames, one per host
  • CLICKHOUSE_PASSWORDComma-separated passwords, one per host
  • CLICKHOUSE_NAMEComma-separated display labels shown in the host selector
  • CHM_AUTH_PROVIDERnoneAuth provider: none, clerk, proxy, or trusted

    values: none, clerk, proxy, trusted

chmonitor releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Database Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…