Framework · Enterprise Platforms

Cube

Define metrics and dimensions once in a governed semantic layer and serve them to AI agents and BI tools over SQL, REST, GraphQL, and an MCP server.

Description

Cube is a semantic layer that defines business metrics, dimensions, joins, and access rules once and exposes them through multiple query interfaces. Its open-source core, Cube Core, is released under Apache 2.0. AI agents reach the governed metrics over SQL, REST, GraphQL, and an MCP server rather than authoring raw SQL against the warehouse. MCP-compatible clients such as Claude and Cursor connect to Cube to get analytics answers grounded in the same model.

Solution

An AI agent connects to Cube through its MCP server (or another supported interface), poses a natural-language analytics question, and Cube resolves it against governed metrics and dimensions defined in the semantic layer, returning an answer grounded in the shared model rather than executing free-authored SQL on raw tables.

Primary use cases

  • serving governed metrics to AI agents over an MCP server
  • defining business metrics once for reuse across tools
  • querying a semantic layer from BI and analytics interfaces

Open the full interactive page

Diagram, neighbourhood map, code examples, related patterns and full provenance.