Metabase MCP Server
Product · Developer tool by Metabase
Connect AI agents to your data with the official Metabase MCP server.Base
Metabase MCP Server connects AI clients like Claude and Cursor to your data, allowing agents to query metrics and build dashboards while respecting your permissions. It is the ideal tool for developers building agentic data workflows on a governed semantic layer.
- Languages
- English
Category: Developer Tools
- ProtocolBase
- Model Context Protocol (MCP)Base
- Supported ClientsBase
- Claude Code, Cursor, CodexBase
- Data SourcesBase
- 20+ (PostgreSQL, MySQL, BigQuery, Snowflake, etc.)Base
- Access ControlBase
- Per-group tool accessBase
- Audit CapabilitiesBase
- MCP analytics and conversation logsBase
- InterfaceBase
- CLI and APIBase
- Official Model Context Protocol (MCP) implementation
- Connects AI clients like Claude and Cursor to your data
- Respects existing Metabase permissions and semantic layer
- Interactive charts as in-line results in AI chat
Overview
Metabase MCP Server is a developer tool that implements the Model Context Protocol to bridge the gap between AI agents and business data. It allows businesses to connect AI clients like Claude, Cursor, and Codex directly to their Metabase instance, enabling agents to understand data schemas and query metrics. The server ensures that AI interactions remain governed by existing user permissions and the semantic layer defined in Metabase Data Studio. Developers can use it to build dashboards, create collections, and receive interactive charts as in-line results within their AI workspace. By providing a programmatic interface for LLMs, it facilitates the creation of custom data agents and automated analytical workflows. The tool is available across all Metabase editions, including the free open-source version.
Agentic Workflows
- AI Client Connection: The server implements the Model Context Protocol (MCP) to connect AI clients like Claude or Cursor directly to Metabase data.
- Resource Creation: Developers can create dashboards, questions, and collections directly from their AI client interface.
- Interactive Visualizations: The server returns interactive charts as in-line results within the AI chat environment.
- SQL Execution: AI agents can execute SQL queries against connected databases through the MCP interface.
Governance and Security
- Permission-Aware Access: The server respects the existing permissions and semantic definitions of the person connecting to the instance.
- Scoped Tool Access: Admins can set per-group access controls for specific MCP tools to govern what agents can see and do.
- Usage Auditing: The system provides audit logs for MCP analytics to monitor agent interactions with data.
- Semantic Layer Integration: AI agents are informed by metadata, definitions, and verified models defined in Metabase Data Studio.
Developer Tools and APIs
- Scoped Live Export: Developers can use MCP for scoped live exports of data from their instance.
- CLI Data UploadsBase: The Metabase CLI allows for quick analysis by uploading CSV files to the built-in database.
- Agent Workspace API: The Agent Workspace API provides programmatic access to build custom data agents on top of Metabase.
Use cases
- Developers connect Claude to Metabase to generate and debug SQL queries using their existing data model.Base
- Data teams use the MCP server to allow AI agents to build and organize dashboards and collections programmatically.Base,
Specifications
- ProtocolBase
- Model Context Protocol (MCP)Base
- Supported ClientsBase
- Claude Code, Cursor, CodexBase
- Data SourcesBase
- 20+ (PostgreSQL, MySQL, BigQuery, Snowflake, etc.)Base
- Access ControlBase
- Per-group tool accessBase
- Audit CapabilitiesBase
- MCP analytics and conversation logsBase
- InterfaceBase
- CLI and APIBase
How it works
- Deploy Metabase: Install Metabase via Docker or JAR, or use Metabase Cloud to host your instance.
- Connect AI ClientBase: Connect your AI client (such as Claude or Cursor) to the Metabase MCP server using your API key.
- Inherit Semantic LayerBase: The agent uses your defined metrics, models, and permissions in Data Studio to understand your data.
- Interact with DataBase: Prompt the agent to build dashboards, run SQL, or visualize data directly within your workspace.
Pricing
- Open SourceBase
- FreeBase
- StarterBase
- Included in $100/mo planBase
- ProBase
- Included in $575/mo planBase
FAQ
Does Metabase have an MCP server?
Yes, the Metabase MCP server allows you to connect your AI client to Metabase to query, visualize, and explore data in the same place you work with other tools.
How is security handled for AI agents?
The MCP server respects your existing permissions, meaning AI never sees more than the person asking, and admins can choose which MCP tools each group can use.
Added by AntSpace from public sources (metabase.com).