Cube MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Cube MCP Serverrun a query for total revenue by month this year"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Cube MCP Server
A production-shaped Model Context Protocol server for Cube, built by 7Block Labs. It makes Cube's API usable directly by AI agents (Claude, ChatGPT, Cursor) — metered to the caller's own key — instead of leaving it to community wrappers.
Built for the Cube team as a working example of the official MCP server we'd ship & launch for you (OAuth + per-plan metering + listings in the Claude and ChatGPT directories).
python -m venv .venv && source .venv/bin/activate && pip install -e .
export CUBE_API_TOKEN=... # your Cube API key
python -m cube_mcp.server # stdio
TRANSPORT=http PORT=8000 python -m cube_mcp.server # remoteClaude Code: claude mcp add --transport http cube http://localhost:8000/mcp
API: https://your-deployment.cubecloud.dev/cubejs-api/v1 · docs: https://cube.dev/docs/product/apis-integrations/rest-api/reference · auth: raw JWT in Authorization header (no 'Bearer' prefix); set CUBE_API_BASE to your deployment
Tools
Tool | What it does |
| List cubes/views with measures, dimensions, segments |
| Run a Cube query and return result rows |
| Return the SQL Cube generates for a query |
Want this hardened (OAuth, metering) and listed in Claude + ChatGPT? 7Block Labs builds and launches MCP servers for data & API companies. MIT licensed.
This server cannot be deployed
Maintenance
Related MCP Connectors
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
- mcpOAuthcom.keboola
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
Verified, pay-per-use API tools for AI agents through one authenticated connection.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase through its API, allowing them to list, read, execute, and manage databases, tables, dashboards, cards, collections, and queries with support for multiple export formats.-
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to query and analyze data from Cube.js analytics platforms, allowing natural language access to cubes, measures, dimensions, and complex analytics queries.9MIT
- AlicenseBqualityDmaintenanceEnables users to interact with Cube's AI agent for real-time analytics and data exploration through a chat interface. It supports generating data visualizations, performing SQL queries, and analyzing trends using natural language.117 npm13MIT
- AlicenseAqualityDmaintenanceEnables AI assistants to interact with Metabase for database operations, SQL queries, dashboard management, and analytics automation.28MIT