Website β’ Docs β’ Examples β’ Blog β’ Slack β’ X
Cube Core is an open-source semantic layer. Cube Core can be used to build embedded analytics in your applications or create your own business intelligence tool. Cube Core is headless and comes with multiple APIs for embedded analytics and BI: REST, GraphQL, and SQL.
If you are looking for a fully integrated platform, check out Cube, a modern AI-first business intelligence platform. We use Cube Core to power it.
Learn more about connecting Cube to data sources and analytics & visualization tools.
Cube Core was designed to work with all SQL data sources, including cloud data warehouses like Snowflake, Databricks, and BigQuery; query engines like Presto and Amazon Athena; and application databases like Postgres. Cube Core has a built-in relational caching engine to provide sub-second latency and high concurrency for API requests.
For more details, see the introduction page in our documentation.
Every business intelligence tool relies on a semantic layer as its core engineβa critical component that defines metrics, dimensions, and business logic while abstracting the complexity of underlying data sources. However, most semantic layers are proprietary, tightly coupled to specific BI platforms, and cannot be reused across different applications.
Cube Core is an open-source project that aims to create an open, modern semantic layer that can be used to power any analytics application, including business intelligence tools and embedded analytics. By decoupling the semantic layer from specific tools and making it accessible through standard APIs, Cube Core enables organizations to define their metrics once and use them everywhereβfrom custom dashboards to embedded analytics, from data exploration tools to automated reporting systems.
You can get started with Cube locally or self-host it with Docker.
Once Docker is installed, in a new folder for your project, run the following command:
docker run -p 4000:4000 \
-p 15432:15432 \
-v ${PWD}:/cube/conf \
-e CUBEJS_DEV_MODE=true \
cubejs/cubeThen, open http://localhost:4000 in your browser to continue setup.
For a step-by-step guide, see the docs.
Cube is a complete modern agentic analytics platform built on Cube Core. It provides a fully integrated solution with a user-friendly interface, advanced analytics capabilities, and managed infrastructure.
There are many ways you can contribute to Cube Core! Here are a few possibilities:
- Star this repo and follow us on X.
- Add Cube to your stack on Stackshare.
- Upvote issues with π reaction so we know what the demand is for particular issues to prioritize them within the roadmap.
- Create issues every time you feel something is missing or goes wrong.
- Ask questions on Stack Overflow with cube.js tag if others might have these questions as well.
- Provide pull requests for all open issues and especially for those with help wanted and good first issue labels.
All sorts of contributions are welcome and extremely helpful π Please refer to the contribution guide for more information.
Cube Client is MIT licensed.
Cube Backend is Apache 2.0 licensed.

