Metabase MCP
MCP server by Serdnaley Verified · npm:@serdnaley
Connects Metabase to AI assistants and apps using a plain API key. It suits teams that need headless access from servers, CI jobs or containers, where interactive OAuth login is not practical.
Install Metabase MCP
Built from the published package, never by AI.
claude mcp add metabase-mcp -- npx -y @serdnaley/metabase-mcpRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"metabase-mcp": {
"args": [
"-y",
"@serdnaley/metabase-mcp"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"metabase-mcp": {
"args": [
"-y",
"@serdnaley/metabase-mcp"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"metabase-mcp": {
"args": [
"-y",
"@serdnaley/metabase-mcp"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add metabase-mcp -- npx -y @serdnaley/metabase-mcp{
"mcpServers": {
"metabase-mcp": {
"args": [
"-y",
"@serdnaley/metabase-mcp"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add metabase-mcp npx -y @serdnaley/metabase-mcpGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the metabase-mcp block.
About
Metabase MCP is an MCP server for Metabase, published as @serdnaley/metabase-mcp. It authenticates with a Metabase API key, or with email and password, so it can run without a browser or OAuth flow. It runs locally over stdio for desktop clients, or as a Streamable HTTP service protected by a bearer token. Metabase credentials stay on the server.
The server exposes 187 tools across 34 toolsets, covering dashboards, questions, collections, users, groups, permissions, databases, settings, alerts and more. Toolsets, per-tool enable and disable settings, and a read-only mode let administrators limit what the assistant can do. Query results are compact and capped in size. It is aimed at analysts, data teams and administrators who want an AI assistant to work with their Metabase instance.
Written from the project's README and checked against it.
Tools it gives your assistant
execute_queryRuns a query and returns compact columns and rows, capped by row limits.execute_card_queryRuns a saved question and returns its compact results.run_metricRuns a metric and returns compact results.create_cardCreates a new saved question. Write tool, can be disabled.get_cardReads a saved question. Can be enabled alone via METABASE_TOOLS_ENABLE.export_*Exports full result sets to a file using the output_path option.Dashboards toolsetWorks with Metabase dashboards.Permissions and users toolsetsManages users, groups and permissions for admin automation.Alerts and subscriptions toolsetsWorks with Metabase alerts and subscriptions.Resources and promptsBrowses databases, cards, dashboards and collections, and offers ready-made workflows.
What you need
- A Metabase instance URL
- A Metabase API key, or an email and password
- npx for the default setup
- Docker, if you use the container image
Try asking
- List the dashboards in my Metabase collection Sales
- Run the saved question with ID 42 and show the first rows
- Export the full results of this query to a file
Good to know
- Query tools return at most METABASE_MAX_ROWS rows per call, default 500.
- Paid-only Metabase features work only when your instance has them. CI covers the free edition.
- HTTP mode requires a bearer token of at least 16 characters, unless it runs on a loopback host without auth.
- Anyone with the HTTP token acts as the Metabase API key's user.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Metabase MCP
All alternatives →World Monitor is a real-time global intelligence dashboard covering conflict, markets, energy, trade, shipping and cyber. Its MCP server gives AI assistants access to that data, and it is aimed at analysts, agents and scripts.
Lets AI agents create and change Power BI semantic models through a local MCP server. Built for developers who want natural language modeling in Power BI Desktop, Fabric workspaces and PBIP files.
Seal Open Data serves French public datasets from data.gouv.fr to AI assistants. It covers topics such as territories, companies, housing and population. It is aimed at users who want to query French open data from clients like Claude.
OpenMetadata MCP server lets MCP-compatible assistants search metadata, inspect lineage, and manage data quality tests. It is for data teams and AI agents that need governed context about enterprise data.
Compiles, validates and renders semantic chart specs for AI assistants through the Model Context Protocol. It is for agents that need reliable, good-looking and interactive charts across several chart libraries.
Query PostHog analytics, manage feature flags and experiments, and investigate errors from your AI assistant. It suits product teams and developers who already use PostHog for analytics, replays, and error tracking.
Compare with World Monitor, Power BI Authoring MCP Server (Local) or Seal Open Data
Metabase MCP: common questions
Does Metabase MCP work without OAuth?
Yes. It authenticates with a Metabase API key, or with an email and password, so it can run on servers, in CI and in containers without an interactive login.
Which Metabase versions are supported?
The source says it is tested against Metabase 0.59 and 0.64, and works with both OSS and paid editions.
Can I stop the assistant from making changes?
Yes. Setting METABASE_READ_ONLY_MODE to true hides all write tools, and METABASE_TOOLS_DISABLE can block specific tools by name or pattern.
How do I install Metabase MCP?
In Claude Code run claude mcp add metabase-mcp -- npx -y @serdnaley/metabase-mcp. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Metabase MCP the official server?
Metabase MCP is published by npm:@serdnaley from its verified domain in the official MCP Registry.
Is Metabase MCP free?
The code is public, but no licence file was found, so check the repository before commercial use.
Is Metabase MCP safe to use?
It scores 63 of 100. Grades: licence F, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Metabase MCP?
Similar MCP servers: World Monitor, Power BI Authoring MCP Server (Local), Seal Open Data, OpenMetadata.
Does Metabase MCP work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
