← Back to directory
H

Hypequery ClickHouse MCP Server

Official
Query ClickHouse analytics through governed tools.
Category
Database #16 of 86
Stars
★ 109 Popular
Transport
stdio (local process)
Runtime
Node.js
Credentials
No credential needed
License
Other / unspecified
Last commit
Tools
4
59FMRS · C

The supplied sources describe an MCP server for ClickHouse analytics through named datasets and metrics, list four tools, and provide a stdio npm configuration. License evidence differs: repository metadata says NOASSERTION, while the README states Apache-2.0.

Strongest · Documentation 15/20 Weakest · Maintenance 7/20

Reliability
10/20
Security and permissions
15/20
Maintenance
7/20
Documentation
15/20
Setup experience
12/20
Why each score
Reliability 10/20
The README describes stdio startup, four tools, output shapes, error classifications, request limits, and cancellation behavior, showing some design for the expected path and failures. The supplied material contains no CI, committed tests, or verifiable execution evidence for the handshake and tool behavior, so the static-calibration cap keeps the score below 12; points are also deducted because edge behavior cannot be checked.
Security and permissions 15/20
The material describes constrained semantic tools, server-side credentials, trusted tenant identity, input validation, HTTP authentication, and host and origin checks; it also claims errors are redacted. Points are deducted because these controls are README claims without implementation evidence, and no security-response channel is shown. No red-line evidence appears in the supplied material.
Maintenance 7/20
Repository metadata says the project is not archived and lists 108 stars and 9 open issues; the README states Apache-2.0, and the manifest lists version 0.17.0. There is no evidence about commit history, release cadence, issue response, dependency updates, or a security-response channel, so maintenance continuity and governance receive limited credit.
Documentation 15/20
The subdirectory README provides installation, configuration, client examples, tool descriptions, authentication and tenancy modes, limits, error formats, and deployment options. It also says end-to-end cancellation still needs integrated release qualification. Points are deducted for limited parameter detail, cost guidance, troubleshooting, and verifiability; some security and behavior guarantees are documentation claims only.
Setup experience 12/20
The README gives npm installation, a config-file example, an npx stdio startup command, and an MCP client configuration example. Points are deducted because users must prepare and compile the config module and supply the runtime and backend setup themselves; the material provides no verified end-to-end connection evidence.

Static review · not runReviewed 2026-12-01

Read the FMRS scoring method →

Fit and risk

What it can accessUses the networkConnects to a database

Best for

  • Engineering teams using ClickHouse that want to expose analytics through named datasets and metrics.
  • Teams with a configured hypequery semantic layer that can manage server-side database credentials and query access.

Not for

  • Users who need arbitrary SQL queries or direct database administration tools.
  • Setups without configured datasets, metrics, or an available ClickHouse backend.
  • Teams looking for a hosted BI product or hosted semantic-layer server.

Required permissions

  • The server needs access to the ClickHouse analytics data or authorized backend discovery and query endpoints configured for it.
  • The MCP client can call discovery, schema, and query tools for the published datasets and metrics.
  • In multi-tenant deployments, trusted server configuration should supply tenant identity; do not put server credentials in browser code.

Risks and side effects

  • Query results may contain analytics data permitted by the published datasets; mistakes in publication scope or tenant configuration can expose data inappropriately.
  • Queries consume backend resources. The server describes timeout, response-size, and row limits, but deployment settings affect resource use.
  • Python HTTP backend mode relies on authorized endpoints and requires HTTPS except for loopback development; view changes or backend 409 responses invalidate the session and require an explicit reconnect.
  • The README says end-to-end ClickHouse cancellation remains part of integrated release qualification.

Setup

Before you start

Runtime:Node.js

HYPEQUERY_CLIENT_CONTRACT_URL required Set this to the full authorized discovery endpoint URL for the Python HTTP backend, including its mount prefix; get it from the backend deployment configuration.
HYPEQUERY_API_KEY requiredsecret Bearer credential used to authorize requests to the Python HTTP backend; get it from the backend credential configuration.

Install @hypequery/mcp, @hypequery/datasets, and @hypequery/clickhouse. Prepare and compile a config module exporting datasets and analytics, then configure the MCP client to start the stdio server with npx hypequery-mcp --config /absolute/path/to/mcp-config.js. The config path is required.

.mcp.json
{"mcpServers":{"hypequery-clickhouse":{"command":"npx","args":["hypequery-mcp","--config","/absolute/path/to/mcp-config.js"]}}}

Shown for Claude Code. Other clients may use a different file or key (VS Code uses "servers") — the configurator below converts it.

.vscode/mcp.json
{
  "servers": {
    "hypequery-clickhouse": {
      "command": "npx",
      "args": [
        "hypequery-mcp",
        "--config",
        "/absolute/path/to/mcp-config.js"
      ]
    }
  }
}

Goes in your project's .vscode/mcp.json (VS Code uses a "servers" key).

~/.codex/config.toml
[mcp_servers.hypequery-clickhouse]
command = "npx"
args = ["hypequery-mcp", "--config", "/absolute/path/to/mcp-config.js"]

Append to ~/.codex/config.toml (OpenAI Codex CLI uses TOML).

Terminal
claude mcp add hypequery-clickhouse -- npx hypequery-mcp --config /absolute/path/to/mcp-config.js

Run it in a terminal; replace any <…> placeholders with your own values first.

Check that it works

Confirm that list_datasets, get_dataset_schema, query_metric, and query_dataset appear in the client's tool list. Then ask it to list available datasets and confirm the server returns the published datasets.

Troubleshooting

  1. Check that the config path points to a compiled module exporting datasets and analytics.
  2. Confirm the required npm packages are installed and the server process can reach ClickHouse or the configured backend endpoint.
  3. Check published dataset and metric names, fields, filters, and query limits against their schemas.
  4. For HTTP mode, check the discovery endpoint, credentials, and HTTPS setup; after a view change or 409, create a new executor and reconnect.

Things to try

Once connected, you can ask your AI assistant things like:

  • List the available datasets.
  • Show the fields, metrics, and relationships in the orders dataset.
  • Query revenue by region for the last month.
  • Explore the orders dataset and count orders by status.

Tools 4

list_datasets read-only
Discover available analytics datasets.
get_dataset_schema read-only
Inspect a dataset's dimensions, measures, metrics, and relationships.
query_metric read-only
Execute a named metric query.
query_dataset read-only
Explore fields in a published dataset.

Use cases

Let agents query approved datasets and metrics.
Reuse metric definitions across dashboards, APIs, and agents.
Provide analytics queries with server-side tenant scoping.

Supported clients

Claude Code
Cursor
Codex

Listed from the project's documentation, not tested by this site.

Overview

Hypequery ClickHouse MCP Server exposes datasets and metrics you define as MCP tools for agents to discover and query. It is intended for ClickHouse analytics configured through the hypequery semantic layer and does not provide a raw SQL tool. The server can run locally or use an authorized view from a Python HTTP backend.

Similar servers

Source revision e7dc4eadeaa9 Data synced 2026-12-05 Read the FMRS scoring method Markdown

Maintainer badge: embed FMRS score

Paste this Markdown into your repository README to display a live score badge:

README.md
[![FollowMCP](https://followmcp.com/badges/hypequery-mcp-server.svg)](https://followmcp.com/en/servers/hypequery-mcp-server)