# Connect cube.dev to Your AI Agent (Universal MCP)

> Use your AI to analyze data, build dashboards, and create reports in cube.dev — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http cube-dev https://api.universalmcp.app/mcp/cube-dev`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/cube-dev` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "cube-dev", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: cube.dev | Category: Marketing & Analytics (cube.dev) | Auth: Direct read-only database login
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Semantic models, Query results, Change drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=cube-dev | Guide: https://universalmcp.app/mcp/cube-dev
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (15 actions: 6 Read, 9 Write)
Perform over 10 actions across data modeling, semantic layer, AI agents, embedded analytics, self-serve analytics, and performance. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Data Modeling (4):** Create Data Model (write), Define Measure (write), Define Dimension (write), Join Data Model Tables (write)
- **Semantic Layer (3):** Query Semantic Model (read), Review Data Model Definitions (read), Connect Warehouse Data Source (write)
- **AI Agents (2):** Request Answer Through MCP (read), Schedule Agent Data Check (write)
- **Embedded Analytics (2):** Create Embedded Dashboard (write), View Embedded Dashboard (read)
- **Self-serve Analytics (2):** Explore Business Metrics (read), Build Self-serve Report (write)
- **Performance (2):** Configure Query Caching (write), Review Query Performance (read)

## Example Prompts for cube.dev
- **Revenue drivers:** "Which measures in the cube.dev semantic layer explain the revenue change between Q2 and Q3 for each region?"
- **Metric definitions:** "List every measure and dimension in the orders cube with its SQL owner and last refresh time."
- **Cohort retention:** "Compare net retention by signup cohort for Harbor Retail over the last six months in cube.dev."
- **Draft metric change:** "Draft a change note to rename the revenue measure and mark it for analyst review before any deploy."
