# Cube Semantic Layer

> Agentic analytics platform built on a semantic layer, with the open-source Cube Core underneath and workbooks, dashboards, embedded analytics, an analytics chat, and an MCP server for AI agents on top.

Source: https://toolsfordata.com/tools/cube/ · Updated 2026-12-02

[Website](https://cube.dev) · [Docs](https://docs.cube.dev/) · [Pricing](https://cube.dev/pricing)

Best for: data teams that want the semantic layer and the analytics on top of it from one vendor, including analytics embedded in their own product.

## Overview

- Core Strength: Semantic layer plus the analytics on top of it
- Best For: One vendor for metrics, dashboards, AI chat and embedded analytics
- Deployment Model: SaaS, dedicated, or bring your own cloud
- Pricing: Free; $40 or $80 per developer/month plus compute; Enterprise on request
- Notable Caveat: SAML SSO and SCIM need Enterprise; Ossie and platform sync are in preview
- Modeling: Full — derived metrics, multi-fact, hierarchies, as code
- Portability: Full — import, export, Apache Ossie
- Query Interfaces: Full — SQL, REST/GraphQL, MDX/DAX, MCP
- BI & Spreadsheets: Full — BI tools, spreadsheets, embedded
- AI Agents: Full — chat, AI modeling, verified queries, evals…
- Performance: Full — pre-aggregations, result cache
- Governance: Partial — row security, validation
- Security & Access: Full — SSO, SCIM, RBAC, audit log…

## What it's used for

Cube is used to define metrics once and serve the same numbers to BI tools, spreadsheets, embedded apps and AI agents, with its own workbooks, dashboards and analytics chat on top.

## Semantic models

Models are YAML, JavaScript or Python files in Git. Cubes hold measures, dimensions, hierarchies and joins with an explicit relationship type, and multi-fact views query several fact tables that share dimensions without double counting.

## Portability

dbt pull turns dbt models into cubes (Premium and above), and lkml2cube converts LookML. Export to Apache Ossie, Snowflake Semantic Views and Databricks Metric Views is in preview, turned on by support.

## Workflows

Clients query through a Postgres-compatible SQL API, REST, GraphQL, and a DAX API for Power BI. Excel (Enterprise plan) and Google Sheets have add-ins, and a React SDK embeds dashboards and chat with per-tenant security. No data catalog connector is documented.

## AI

Analytics Chat answers plain-English questions with governed queries, and a hosted MCP server lets Claude, Cursor and Codex query Cube's agents. Certified queries, memory, and evals that score the agent per branch are built in.

## Query optimizations

Pre-aggregations materialize rollups and refresh them on a schedule, and Cube sends each query to the smallest rollup that fits. A result cache sits in front of them.

## DataOps

The Content Validator finds reports that still use fields removed from the model. The Orchestration API triggers refreshes from Airflow, Dagster or Prefect, and monitoring data exports to Datadog, Grafana Cloud, New Relic and CloudWatch.

## Governance

Data access policies filter rows and hide members per group at query time. The docs describe no lineage.

## Security

SAML SSO, SCIM, custom roles and the audit log need the Enterprise plan. Cube states SOC 2 Type II, HIPAA and GDPR compliance and offers private links on dedicated infrastructure.

## Deployment

Cube Cloud runs on shared or dedicated infrastructure, or in your own AWS, Azure or Google Cloud account on the Enterprise plan. To run it all yourself, use Cube Core.

## Pricing

Cube has a free plan. Starter costs $40 and Premium $80 per developer per month, plus compute; Enterprise is priced on request. The engine, Cube Core, is free under Apache 2.0.

## Review

Strengths:
- Most features in the semantic layer matrix: 39 of 42.
- SQL, REST, GraphQL and DAX APIs, plus Excel and Google Sheets add-ins.
- Built on Cube Core, so the model files also run on the open-source engine.

Caveats:
- SAML SSO, SCIM and the audit log need Enterprise.
- No lineage and no data catalog connector.
- Ossie and platform exports are still in preview.

Recommendation: Use Cube when you want the semantic layer and the analytics on top from one vendor. Choose AtScale if Excel and Power BI users across several warehouses come first, or the dbt Semantic Layer if your models already live in dbt.

## Pricing

- Model: per developer, usage-based
- Free: Free plan
- Free self-hosted edition: Cube Core (Apache 2.0 backend, MIT clients)
- Entry team price: $40/developer/month (Starter), plus compute
- Entry enterprise price: Custom
- Source: https://cube.dev/pricing (checked 2026-12-02)

## Features

### Semantic Models

- Metrics & Dimensions: Yes — Cube's core primitive is the "cube," which defines reusable named measures and dimensions once in YAML/JS/Python, distinct from per-report SQL. ([source](https://docs.cube.dev/docs/data-modeling/concepts/syntax))
- Joins & Relationships: Yes — Joins are declared between cubes with an explicit relationship parameter (one_to_one, one_to_many, many_to_one) so consumers never write join SQL themselves. ([source](https://docs.cube.dev/reference/data-modeling/joins))
- Calculated & Derived Metrics: Yes — The number measure type supports arithmetic over other measures (ratios, ratios-to-percent) and multi_stage measures support time-shifted/running calculations like growth rates. ([source](https://docs.cube.dev/reference/data-modeling/measures))
- Hierarchies: Yes — Cubes support a hierarchies parameter that groups dimensions into ordered drill levels (e.g. state to city), configured once and reusable across views. ([source](https://docs.cube.dev/reference/data-modeling/hierarchies))
- Multi-Fact Models: Yes — Multi-fact views analyze several fact tables that share dimensions without row multiplication, on the Tesseract engine (default since v1.7.0). ([source](https://docs.cube.dev/docs/data-modeling/multi-fact-views))
- Definitions as Code: Yes — Data models are text files (YAML/JS/Python) that live in a Git repository, support dev/staging branches, PR review, and continuous deployment. ([source](https://docs.cube.dev/admin/deployment/continuous-deployment))

### Portability

- Model Import: Yes — dbt pull converts dbt models into cubes (Premium and above), and lkml2cube converts LookML. ([source](https://docs.cube.dev/reference/data-modeling/lkml2cube))
- Model Export: Yes — Exports models to Apache Ossie and publishes views to Snowflake Semantic Views and Databricks Metric Views. All three are in preview, activated by support. ([source](https://docs.cube.dev/docs/integrations/apache-ossie))
- Apache Ossie Support: Yes — Converts models to and from Ossie. In preview, activated by support. ([source](https://docs.cube.dev/docs/integrations/apache-ossie))

### Workflows

- SQL API: Yes — A Postgres-compatible SQL API lets any SQL client query cubes and views by name as if they were tables. ([source](https://docs.cube.dev/reference/core-data-apis/sql-api/index))
- REST / GraphQL API: Yes — Cube documents both a REST (JSON) API and a GraphQL API for querying metrics and dimensions programmatically. ([source](https://docs.cube.dev/reference/core-data-apis/rest-api/index))
- MDX / DAX API: Yes — The DAX API connects Power BI natively. ([source](https://docs.cube.dev/reference/core-data-apis/index))
- BI Tool Integrations: Yes — Native integrations exist for Power BI (including a DAX API), Tableau, and Semantic Layer Sync for Apache Superset and Preset, in addition to Postgres-wire-protocol connectivity for any SQL-speaking BI tool. ([source](https://docs.cube.dev/docs/integrations/tableau))
- Spreadsheet Integration: Yes — Native add-ins for Microsoft Excel (Enterprise plan) and Google Sheets. ([source](https://docs.cube.dev/docs/integrations/microsoft-excel))
- Embedded Analytics: Yes — Cube supports white-labeled iframe embedding of dashboards and analytics chat, plus a React Embed SDK with JWT-based multitenancy for per-tenant security. ([source](https://docs.cube.dev/embedding/index))
- Multi-Warehouse Support: Yes — Cube documents 25+ supported data sources including Snowflake, BigQuery, Databricks, Redshift, Postgres, DuckDB, ClickHouse, and Trino. ([source](https://docs.cube.dev/admin/connect-to-data/data-sources/index))
- dbt Integration: Yes — Cube reads a dbt project directly from its Git repository and converts each dbt model into a Cube cube definition (models/columns only, not dbt metrics or tests) without ever querying the warehouse during import. ([source](https://docs.cube.dev/docs/integrations/dbt))
- Data Catalog Integration: No — A metadata API exists, but the full documentation index has no connector to a data catalog. ([source](https://docs.cube.dev/reference/core-data-apis/rest-api/reference))

### AI & Agents

- MCP Server: Yes — A hosted MCP server over HTTPS/OAuth lets Claude, Cursor, Codex, and other MCP clients discover deployments and query Cube's AI agents directly. ([source](https://docs.cube.dev/docs/integrations/mcp-server))
- Natural Language Query: Yes — Analytics Chat answers plain-English questions directly by generating governed queries against the semantic model and returning summaries/trends. ([source](https://docs.cube.dev/docs/explore-analyze/analytics-chat))
- AI-Assisted Modeling: Yes — The model IDE includes AI assistance for developing the data model in branches. ([source](https://docs.cube.dev/docs/getting-started/develop-in-ide))
- AI Metadata & Synonyms: Yes — Descriptions plus AI context in meta, read by the agent and hidden from users; synonyms can be listed there. ([source](https://docs.cube.dev/docs/data-modeling/ai-context))
- Verified Queries: Yes — Certified queries are a library of trusted SQL the agent uses as reference examples. ([source](https://docs.cube.dev/admin/ai/certified-queries))
- AI Memory: Yes — Memories are stored, retrieved and isolated across tenants, spaces and users. ([source](https://docs.cube.dev/admin/ai/memory-isolation))
- Agent Evaluation: Yes — Evals run the agent against questions with known answers and report pass, fail and accuracy per branch. ([source](https://docs.cube.dev/admin/ai/evals))

### Query Optimizations

- Pre-Aggregations: Yes — Pre-aggregations materialize and automatically refresh rollups of measures at defined grains, and Cube routes incoming queries to the smallest matching rollup for sub-second performance. ([source](https://docs.cube.dev/docs/pre-aggregations/index))
- Query Caching: Yes — An in-memory cache of executed query results is active by default as a distinct first-level cache, separate from the scheduled, proactively-maintained pre-aggregation layer. ([source](https://docs.cube.dev/docs/pre-aggregations/index))

### DataOps

- Model Testing & Validation: Yes — The Content Validator finds reports and scheduled tasks that reference fields or views no longer in the model, before a change ships. ([source](https://docs.cube.dev/docs/data-modeling/content-validator))
- Orchestration Integration: Yes — The Orchestration API triggers pre-aggregation refreshes from Airflow, Dagster or Prefect. ([source](https://docs.cube.dev/reference/orchestration-api/index))
- Observability & Monitoring: Yes — Usage analytics, query history and performance charts, with exports to Datadog, Grafana Cloud, New Relic and CloudWatch. ([source](https://docs.cube.dev/admin/monitoring/monitoring-integrations/index))

### Data Governance

- Row & Column-Level Security: Yes — Data Access Policies apply row-level filters (e.g. restricting a group to rows matching a user attribute) and member-level (column) security, evaluated at query time. ([source](https://docs.cube.dev/docs/data-modeling/access-control/row-level-security))
- Data Lineage: No — No lineage feature appears in the full documentation index. ([source](https://docs.cube.dev/llms.txt))

### Security

- SSO: Yes — Cube Cloud supports SAML 2.0 SSO with Okta, Microsoft Entra ID, and Google Workspace, restricted to the Enterprise plan. ([source](https://docs.cube.dev/admin/sso/index))
- RBAC: Yes — Cube Cloud has four built-in roles (Admin, Developer, Explorer, Viewer) distinguishing model editors from query-only consumers, with custom roles available on Enterprise. ([source](https://docs.cube.dev/admin/users-and-permissions/roles-and-permissions))
- Audit Log: Yes — Enterprise-plan audit log records user management, authentication, deployment, and data-model/dev-workflow events with timestamps and user identity, exportable via CSV or API. ([source](https://docs.cube.dev/admin/monitoring/audit-log))
- Compliance Certifications: Yes — Cube's security page states SOC 2 Type II, HIPAA, and GDPR compliance, alongside VPC/BYOC deployment options and regular third-party penetration testing. ([source](https://cube.dev/security))
- SCIM Provisioning: Yes — SCIM guides for Okta and Microsoft Entra ID. ([source](https://docs.cube.dev/admin/sso/okta/scim))
- Private Networking: Yes — AWS PrivateLink, Azure Private Link and Google Private Service Connect on dedicated infrastructure. ([source](https://docs.cube.dev/admin/deployment/dedicated/aws/private-link))

### Deployment

- Multi-Environment Support: Yes — Cube Cloud runs separate production, per-branch staging, and per-user development environments, each with its own API endpoint, so model changes can be tested before reaching production. ([source](https://docs.cube.dev/admin/deployment/environments))
- SaaS Deployment: Yes — Cube Cloud is a fully managed cloud service across Free, Starter, Premium, and Enterprise plans, with shared, dedicated, and BYOC infrastructure tiers. ([source](https://cube.dev/pricing))
- Self-Hosted Deployment: Yes — Bring your own cloud on AWS, Azure or GCP, on the Enterprise plan. Cube Core is the version you run entirely yourself. ([source](https://docs.cube.dev/admin/deployment/dedicated/aws/byoc))
- Cloud-Native App: No — Deployment options are shared, dedicated and bring your own cloud; no native app on a data platform is listed. ([source](https://docs.cube.dev/admin/deployment/infrastructure))
- Open Source: No — Cube is the commercial platform; the open-source engine underneath is Cube Core, which has its own row. ([source](https://cube.dev/llms.txt))

## Integrations

61 integrations, each sourced from the vendor docs.

- AI Agents: Claude, ChatGPT, Cursor, OpenAI Codex, Microsoft Copilot
- Authentication: Auth0, Amazon Cognito, Okta, Microsoft Entra ID, Google Workspace
- BI: Tableau, Power BI
- Code Repositories: GitHub, GitLab, Bitbucket
- Data Orchestration: Apache Airflow, Dagster, Prefect
- Data Platform: Databricks, Microsoft Fabric
- Data Transformation: dbt
- Data Warehouse: Amazon Redshift, ClickHouse, DuckDB, Google BigQuery, Snowflake, SingleStore, OpenText Analytics Database (Vertica), Firebolt
- Databases: Apache Druid, Apache Pinot, Microsoft SQL Server, MongoDB, MySQL, Oracle DB, PostgreSQL, QuestDB, SQLite
- LLM Providers: Anthropic, OpenAI, Amazon Bedrock, Google Vertex AI, Databricks Model Serving, Snowflake Cortex LLMs
- Monitoring: Datadog, Grafana Cloud, New Relic, Amazon CloudWatch
- Notifications: Slack
- Query Engine: Amazon Athena, Presto, Trino
- Semantic Layer: LookML, Apache Ossie, Snowflake Semantic Views, Databricks Metric Views
- Spreadsheets: Microsoft Excel, Google Sheets
- Streaming: ksqlDB, Materialize, RisingWave

## Alternatives

- [Cube Core](https://toolsfordata.com/tools/cube-core/): Consider Cube Core to run the same engine and model files yourself for free, without the chat, workbooks, DAX API or single sign-on.
- [AtScale](https://toolsfordata.com/tools/atscale/): Consider AtScale if most users work in Excel and Power BI over several warehouses, and you prefer to run it in your own cloud.
- [dbt Semantic Layer](https://toolsfordata.com/tools/dbt-semantic-layer/): Consider the dbt Semantic Layer if your models already live in dbt and you want metrics defined next to them, on a paid dbt plan.
- [Honeydew](https://toolsfordata.com/tools/honeydew/): Consider Honeydew for a Snowflake-first model with a native app, an Ossie converter and catalog sync to Atlan and Collibra.
- [Strategy Mosaic](https://toolsfordata.com/tools/strategy-mosaic/): Consider Strategy Mosaic if you already run Strategy (MicroStrategy) and want modeling, agents and governance from the same vendor.
- [Snowflake Semantic Views](https://toolsfordata.com/tools/snowflake-semantic-views/): Consider Snowflake Semantic Views if everything runs on Snowflake and you'd rather not add another tool to define metrics.
