> hypequery

Introduction

Welcome to the hypequery docs. Find all the resources to get started.

What is hypequery?

hypequery is a code-first semantic layer for ClickHouse, built for TypeScript teams who want scalable, type-safe analytics.

Instead of scattering SQL across applications, dashboards, and scripts, hypequery gives you a single, versioned place where analytics logic lives. In code.

hypequery is a library, not a hosted platform. It integrates directly with your existing ClickHouse setup and runs wherever your application runs.


hypequery consists of a number of small, opt-in packages for building type-safe analytics:

  • Query builder (@hypequery/clickhouse) Write type-safe ClickHouse queries in TypeScript

  • Datasets (semantic layer) (@hypequery/datasets) Define metrics, dimensions, and reusable analytics logic

  • Runtime / APIs (@hypequery/serve) Expose queries and datasets via APIs with validation, auth, and multi-tenancy

  • Extras

    • @hypequery/mcp → Query datasets from AI models
    • @hypequery/react → Hooks for frontend apps

On this page