Compare

MooseStack is EOL: hypequery vs Moose for ClickHouse

MooseStack has reached end of life and is no longer maintained. See how its data models, query models, APIs and MCP tools map to hypequery in TypeScript or Python, then plan the migration.

Updated

Decision type

Architecture and workflow fit

Audience

TypeScript teams building on ClickHouse

Outcome

Choose a path and move into implementation

Project status

Adding typed queries and APIs to a ClickHouse you already run

Schema source

Introspected from your live ClickHouse schema

Migration boundary

Typed queries, semantic datasets, APIs, React hooks, and MCP

What this page is for

Use this page when the real question is how one tool changes the shape of your ClickHouse application code, not just which syntax looks nicer.

What this page is not

It is not a broad ecosystem roundup. It stays narrow on the tradeoff a ClickHouse-heavy TypeScript team is actually deciding.

Recommended next move

If the tradeoff already looks clear, stop reading comparisons and test the fit against one real query in your own schema.

Dimension
hypequery
MooseStack
Project status
Adding typed queries and APIs to a ClickHouse you already run
End of life and no longer actively maintained
Schema source
Introspected from your live ClickHouse schema
Defined in code and migrated into ClickHouse
Migration boundary
Typed queries, semantic datasets, APIs, React hooks, and MCP
Move DDL, Redpanda, and Temporal responsibilities separately
Scope
Actively maintained TypeScript and Python packages inside your application
Unmaintained framework code can inform migration but should not be a new dependency
Languages
TypeScript; Python SDK in beta
TypeScript and Python
Streaming and workflows
Not covered: keep dedicated ingestion and workflow tools
Redpanda and Temporal modules, now unmaintained
Agents and MCP
Governed dataset and metric MCP server, from either SDK
Development harness MCP and query-model tools

When to keep MooseStack for now

  • Your Moose app runs in production and works today: migrate one query model at a time rather than in one cutover.
  • You depend on Moose’s streaming and workflow modules and have not chosen replacements yet. hypequery does not cover streaming, workflows or DDL migrations.
  • Your ClickHouse schema is declared in Moose code and no migration tool owns the DDL yet.
Back to comparisons

Published · Updated

MooseStack has reached end of life

The decision is no longer between two actively maintained projects. In June 2026 the MooseStack maintainers announced that MooseStack has reached end of life and is no longer actively maintained. Read the official MooseStack EOL statement on GitHub.

That means we do not recommend starting a new production analytics backend on MooseStack. Existing users should first decide which parts of Moose they actually need to replace: ClickHouse schema management, streaming ingestion, workflows, query models and APIs, or the agent-facing development harness. hypequery covers the query model, API, React and MCP portion, in TypeScript or Python. It does not attempt to replace Redpanda, Temporal, or a migration system.

For a step-by-step inventory of a TypeScript project, use the MooseStack to hypequery migration guide. For a Python project, start with the Python SDK docs.

How Moose maps to hypequery

Moose shipped TypeScript and Python libraries, and so does hypequery. The Python SDK is in beta.

Moosehypequery TypeScripthypequery Python (beta)
OlapTable data modelsTypes generated from the live schema with npx hypequery generateDataset scaffolds generated from the live schema with hypequery generate datasets
Query models: defineQueryModel() / define_query_model()Datasets with dimensions, measures, filters and relationships (@hypequery/datasets)The same dataset model in the hypequery package
Agent tools: registerModelTools() / create_model_tool()@hypequery/mcp exposes datasets and metrics as MCP toolshypequery mcp serves datasets over stdio
Query APIs (Api)@hypequery/serve: validated routes with OpenAPI, mounted in Next.js, Node.js or any Fetch runtimeServe on FastAPI, Django or Flask (ASGI, WSGI, or native URLs and blueprints)
DashboardsTyped React hooks on the same contractThe same React hooks, generated from the Python API's exported client contract
Tenant scopingTenant scope enforced from trusted runtime contextThe same, including your app's own login (django_user, flask_session)
Streaming, workflows, DDL migrationsNot covered: bring dedicated toolsNot covered: bring dedicated tools

TypeScript also includes a ClickHouse-native query builder for queries that stay local to one service. Python has no query builder; queries go through datasets. Python adds typed DataFrames (to_pandas, to_polars, to_arrow) and runs on embedded ClickHouse through chDB for local development and tests. The Python feature status page tracks what is available today.

What hypequery replaces

If your Moose application used typed data models, query models and APIs to power a product, hypequery provides the active, narrower path:

  • generate types or dataset scaffolds from the ClickHouse schema that exists now;
  • move reusable analytics into typed datasets, dimensions, measures and metrics;
  • expose those contracts through validated HTTP routes;
  • consume them through typed React hooks;
  • expose governed metrics and dataset queries through MCP tools for AI agents;
  • enforce multi-tenant scope from trusted runtime context.

The direction of schema ownership changes. Moose was code-first infrastructure: code declared tables and pushed schema into ClickHouse. hypequery is database-first at the physical layer and code-first at the semantic layer: your migration tool owns ClickHouse DDL, the hypequery CLI introspects the live result, and your TypeScript or Python code owns the product-facing analytics contract.

What hypequery does not replace

hypequery is not a streaming or workflow platform. Keep or choose dedicated tools for:

  • Kafka or Redpanda ingestion;
  • Temporal workflows and scheduled orchestration;
  • ClickHouse DDL migrations;
  • infrastructure provisioning and deployment of ClickHouse itself.

This smaller boundary is deliberate. It lets teams migrate the application-facing analytics layer without rebuilding ingestion and infrastructure at the same time.

Current comparison

AreaMooseStack at EOLhypequery
MaintenanceEnd of life; no longer actively maintainedActively developed open-source packages
LanguagesTypeScript and PythonTypeScript; Python in beta
Physical schemaDeclared in Moose code and migrated into ClickHouseIntrospected from the live ClickHouse schema
Semantic modelQuery models over data modelsDatasets with dimensions, measures, metrics and relationships, in TypeScript or Python
Query builderMoose query layerClickHouse-native typed builder in TypeScript, with FINAL, LIMIT BY, percentiles, argMax, CTEs and expressions
HTTP APIsFramework-managed query APIsValidated Serve routes inside your app: Node.js, Next.js and Fetch runtimes in TypeScript; FastAPI, Django and Flask in Python
ReactApplication-owned integrationTyped TanStack Query hooks, from either SDK
AgentsDevelopment harness MCP and query-model toolsGoverned dataset and metric MCP server, from either SDK
Streaming and workflowsRedpanda and Temporal modulesBring your existing tools

Migration shape

The safest migration is incremental:

  1. Freeze new Moose-specific surface and export the current ClickHouse DDL, tables and materialized views.
  2. Assign schema migrations, ingestion and workflows to explicit tools outside the application query layer.
  3. Generate hypequery types (TypeScript) or dataset scaffolds (Python) from the live ClickHouse schema.
  4. Port one query model at a time to a dataset and compare the generated SQL and results.
  5. Promote shared calculations into measures and metrics.
  6. Move API consumers to Serve routes, then React hooks or MCP tools.
  7. Remove the Moose runtime only after traffic, jobs and deployment dependencies have been accounted for.

Both can run against the same ClickHouse during the transition, so there is no reason to combine the infrastructure and query migrations into one cutover.

Recommendation

For a new application on ClickHouse, use an actively maintained semantic layer rather than adopting an unmaintained framework. hypequery is the fit when you already have, or want to keep control of, ClickHouse and need typed datasets, multi-tenant analytics APIs, React hooks and MCP tools, from TypeScript or Python.

If you need the full infrastructure scope Moose once provided, pair hypequery with the dedicated ingestion, workflow and migration tools your team is prepared to operate. Start with the migration guide for TypeScript or the Python quick start, check the current capability matrix, and test it against one real table.

Decision checkpoint

If the tradeoff is already clear, move into implementation

Most teams do not need another round of comparison content after this point. The better test is whether the workflow holds up on your own schema and your own query complexity.

Related content

Continue into implementation

FAQ

Are hypequery and Moose solving the same problem?

They overlap on typed ClickHouse queries and APIs, but Moose also owned schema, streaming, workflows, and a development runtime. hypequery replaces the application-facing analytics layer; dedicated tools should own the other responsibilities.

Should I choose MooseStack for a new project?

No. MooseStack’s maintainers announced end of life and the project is no longer actively maintained. Use the historical architecture as migration context, not as a new production dependency.

I used MooseStack from Python. Is there a Python path?

Yes. The hypequery Python SDK (beta) defines the same datasets in Python, serves them from FastAPI, Django, or Flask, exposes them to agents with hypequery mcp, and feeds the same React hooks through an exported client contract. Python has no query builder; queries go through datasets.

Can hypequery replace every MooseStack module?

No. hypequery covers typed ClickHouse queries, semantic datasets, APIs, React hooks, multi-tenancy, and MCP. Keep or choose separate tools for DDL migrations, streaming ingestion, and workflow orchestration.

Next step

Move from evaluation to your first dataset

Define a dataset in TypeScript or Python, query it by name, and decide whether it runs in-process or over HTTP.

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.