Getting started

hypequery documentation

The analytics layer for ClickHouse, in your codebase. Define metrics once in TypeScript or Python and serve them to dashboards, APIs, and AI agents.

hypequery is an open-source semantic layer for ClickHouse that runs inside your application. You define datasets once: the dimensions people group by, the measures they aggregate, the relationships between tables, and the tenant rules that keep each customer to their own rows. Every consumer then queries those definitions by name, so a number means the same thing in a dashboard, an API response, and an AI agent's answer.

It is a library, not another service to deploy. TypeScript and Python implement the same specifications and pass the same conformance fixtures, so equivalent definitions produce the same semantic and deployment artifacts in either language.

Choose your language

How the pieces fit

  1. Define datasets in code, next to your application, and review them in pull requests like any other change.
  2. Query them in-process from jobs, reports, notebooks, and your own routes, scoped to a tenant.
  3. Serve them over HTTP when another consumer needs them: authenticated endpoints with OpenAPI, mounted in the framework you already run.
  4. Connect clients to those endpoints: typed React hooks for dashboards and the MCP server for agents. Both work whether the backend is TypeScript or Python.

Learn more

Get early access to hypequery cloud.

Cloud hosts the same model you run in your backend, with a managed API and MCP server, versions, and rollback. We're letting teams in a few at a time. Join the waitlist and we'll reach out when your project can go live.

How do you want to build your analytics layer? (Optional)
What features do you most need? (Optional)

Pick as many as you like.

Only your email is required. All other questions are optional.