Best for
- Teams needing real-time monitoring and AI-driven optimization advice for ClickHouse
- Developers and data engineers who want to surface ClickHouse data to AI assistants
- Users deploying on Docker, Kubernetes, or ClickHouse Cloud
chmonitor is a MCP server for ClickHouse providing read-only monitoring and AI recommendations, suitable for teams integrating ClickHouse with AI tools. It supports multiple deployment methods, has active community and documentation, but note it recommends rather than auto-executes, requiring user evaluation.
Strongest · Maintenance 15/20 Weakest · Reliability 7/20
Static review · not runListed 2026-08-07
Read the FMRS scoring method →Runtime:Hosted (no local runtime) · Docker
CLICKHOUSE_HOST
ClickHouse endpoint (e.g. https://host:8443); required when self-hosting, not needed for the hosted endpoint.
CLICKHOUSE_USER
ClickHouse username; docs recommend a least-privilege read-only user.
CLICKHOUSE_PASSWORD
Password for the ClickHouse user.
CHM_API_KEY_SECRET
Optional signing secret protecting /api/v1/* routes on self-hosted instances.
CLERK_SECRET_KEY
Clerk secret key, needed when Clerk auth is enabled.
CLOUDFLARE_API_TOKEN
API token needed to deploy to Cloudflare Workers; for deployers only.
CLICKHOUSE_TZ
Optional timezone, e.g. UTC.
CHM_AUTH_PROVIDER
Server-side auth provider: none, clerk, or proxy; defaults to none.
VITE_AUTH_PROVIDER
Client auth provider (build-time inlined); legacy NEXT_PUBLIC_AUTH_PROVIDER still works as fallback.
VITE_CLERK_PUBLISHABLE_KEY
Clerk publishable key (build-time inlined), needed to enable Clerk sign-in.
CHM_CONFIG_FILE
Optional path to a config.toml for feature toggles and access control.
CHM_FEATURE_AGENT_ACCESS
Optional env-based access level for the AI Agent feature (e.g. authenticated).
CHM_DISABLED_FEATURES
Optional comma-separated list of features to disable (e.g. settings,metrics).
https://dash.chmonitor.dev/api/mcp and header Authorization: Bearer chm_YOUR_API_KEY.{
"mcpServers": {
"chmonitor": {
"url": "https://dash.chmonitor.dev/api/mcp",
"headers": {
"Authorization": "Bearer chm_YOUR_API_KEY"
}
}
}
}
Shown for Claude Desktop. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.
{
"servers": {
"chmonitor": {
"url": "https://dash.chmonitor.dev/api/mcp",
"headers": {
"Authorization": "Bearer chm_YOUR_API_KEY"
}
}
}
}
Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).
claude mcp add --transport http chmonitor https://dash.chmonitor.dev/api/mcp --header 'Authorization: Bearer chm_YOUR_API_KEY'
Run it in a terminal; replace any <…> placeholders with your own values first.
After adding the MCP server in your client, chmonitor's read-only ClickHouse tools should appear in the tool list; asking "What databases and tables do I have?" and getting real schema back confirms the connection.
Once connected, you can ask your AI assistant things like:
Listed from the project's documentation, not tested by this site.
chmonitor is an open-source operational advisor for ClickHouse, providing real-time monitoring and AI-driven recommendations for indexes, partitions, and materialized views. It acts as a read-only MCP server exposing schema, queries, merges, replication, and cluster health over HTTP streamable transport, self-hostable or via cloud.
Connect ClickHouse to your AI assistants
Unofficial MCP server providing advanced access to the ChEMBL chemical database
Google's official database MCP toolbox — define AI-accessible database tools via config
Bytebase's official, minimalist two-tool database MCP server
Source revision fdafcd6059af Data synced 2026-10-12 Read the FMRS scoring method