Hypequery is an open-source embedded analytics and semantic layer toolkit built natively for ClickHouse that runs directly within your application codebase. Supporting both TypeScript and Python, it enables developers to define datasets, dimensions, measures, and tenant isolation rules in code rather than managing disparate SQL queries. With support for auto-generated OpenAPI endpoints, typed React hooks, and a governed MCP server, it allows web dashboards, microservices, and AI coding agents to reliably query metrics from a single source of truth without exposing unrestricted SQL.
주요 기능
01Multi-tenant by design with fail-closed tenant scoping across all query layers
02Type-safe ClickHouse query builder and metric definition layer in TypeScript and Python
03108 GitHub stars
04ClickHouse-native optimizations including argMax, percentiles, FINAL, LIMIT BY, and window expressions
05Governed MCP server exposing approved metrics and dataset schemas to AI agents instead of raw SQL
06Automatic generation of validated HTTP endpoints, OpenAPI specifications, and typed React hooks
사용 사례
01Granting AI agents like Claude Code, Cursor, and Codex safe, bounded access to business analytics
02Building type-safe, OpenAPI-compliant internal analytics microservices directly on ClickHouse
03Embedding governed, multi-tenant analytics and interactive dashboards into web applications