Open-Source Semantic Layer
19.9k 2026-04-26
cube-js/cube
Cube Core is an open-source semantic layer that unifies data definitions and business logic, providing APIs for AI, BI, and embedded analytics applications.
Core Features
Headless semantic layer with REST, GraphQL, and SQL APIs.
Connects to all SQL data sources, including cloud data warehouses and databases.
Built-in relational caching engine for sub-second latency and high concurrency.
Define metrics, dimensions, and business logic once for consistent use across applications and AI agents.
Decouples the semantic layer from specific BI tools, enabling greater flexibility.
Quick Start
docker run -p 4000:4000 -p 15432:15432 -v ${PWD}:/cube/conf -e CUBEJS_DEV_MODE=true cubejs/cubeDetailed Introduction
Cube Core addresses the limitations of proprietary semantic layers by offering an open-source, decoupled solution. It serves as a central hub for defining metrics, dimensions, and business logic, abstracting data complexity from underlying sources. By providing standard APIs (REST, GraphQL, SQL), Cube Core enables organizations to build consistent, high-performance data experiences for embedded analytics, custom BI tools, and AI agents, ensuring data consistency and reusability across diverse applications.