cube

📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics

What is cube?

📊 Cube Core is open-source semantic layer for AI, BI and embedded analytics

Overview of cube

What it is

Cube Core is an open-source semantic layer. It allows users to define metrics, dimensions, joins, and access rules once in code, then expose them through SQL, REST, and GraphQL APIs to downstream consumers such as BI tools, custom applications, or AI agents. Cube Core is headless—it does not ship a user interface—so developers can build the analytics experience that fits their product. It works with all SQL data sources, including cloud data warehouses (Snowflake, Databricks, BigQuery), query engines (Presto, Amazon Athena), and application databases (Postgres). It includes a built-in relational caching engine to provide sub-second latency and high concurrency for API requests.

Key features

  • Define metrics, dimensions, joins, and access rules once in code.
  • Expose data through SQL, REST, and GraphQL APIs.
  • Works with all SQL data sources (Snowflake, Databricks, BigQuery, Presto, Amazon Athena, Postgres, and more).
  • Built-in relational caching engine for sub-second latency and high concurrency.
  • Headless architecture: no UI, enabling fully custom analytics experiences.
  • Open-source and standalone semantic layer that can be consumed by any analytics application or AI agent.

Use cases

  • Custom BI experiences where you want to own the entire stack.
  • Deeply integrated embedded analytics within a product.
  • AI agents that require a governed semantic foundation.
  • Internal analytics and dashboards without re-implementing the data model across tools.

Getting started

Run Cube Core locally with Docker. In a new project folder, execute:

docker run -p 4000:4000 \
  -p 15432:15432 \
  -v ${PWD}:/cube/conf \
  -e CUBEJS_DEV_MODE=true \
  cubejs/cube

Then open http://localhost:4000 in your browser to continue setup. Note: development mode bypasses authentication and is intended only for local development; never expose it to the internet or use in production.

License and pricing

Cube Client is MIT licensed. Cube Backend is Apache 2.0 licensed. The project is open source.

Based on the project's public README and repository metadata.

Add this badge to your README

Featured on YunoDB Badge styles & help

Maintain this project? Show that it is featured on YunoDB.

Markdown[![Featured on YunoDB](https://yunodb.com/badge/cube-jscube.svg)](https://yunodb.com/tools/cube-jscube?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/cube-jscube?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/cube-jscube.svg" alt="Featured on YunoDB" height="20"></a>