What this thread does
As of November 2026, have an admin enable Metabase MCP, add its HTTP endpoint in Claude Code, then authenticate with your Metabase account. The current connection guide lists five permission scopes; use that list when reviewing consent.
Do first: copy the server URL from Admin > AI > MCP and decide whether Claude Code needs user-wide or project-local registration, following the connection guide.
What Metabase documents
According to the official Metabase docs:
1. Admin turns it on: Admin > AI > MCP, switch on the MCP server. If "Disable all AI features" is on, the MCP settings are greyed out. No AI provider has to be configured in Metabase. 2. Server URL: https://<your-metabase>/api/metabase-mcp (an admin can copy it from the same settings page). 3. Claude Code: claude mcp add --scope user --transport http metabase https://<your-metabase>/api/metabase-mcp, then start claude, run /mcp, pick the Metabase server and choose Authenticate (you may have to Enable it first). claude mcp get metabase shows where it was added. 4. Claude web or Desktop: add the URL in the connector directory and sign in to Metabase. Suggested settings: Authentication "Sign in now", OAuth client "Register automatically", headers empty.
Metabase runs its own OAuth server. The token is limited to your Metabase permissions, with scopes such as agent:content:read, agent:content:write, agent:query:run, agent:sql:run and agent:delivery:write; a scope can never grant more than your account can do.
What the docs say can go wrong
claude mcp addwithout--scope useronly registers the server in the directory you ran it from, so it seems to be missing elsewhere.- "Failed to connect" with no sign-in prompt usually means the Site URL is not reachable from your client, for example an internal Docker hostname. Set
MB_SITE_URLto an address your client can reach. - Tools missing: check that the MCP toggle and the AI features are both on.
- Claude Code cannot render inline charts, so it does not list the
visualize_querytool; the docs say this is expected. - Clients connected before Metabase 0.64 must sign in again after upgrading.
- MCP calls do not show up in AI usage auditing because they do not go through Metabot (the docs say so). The docs point to other records instead: an Authorizations tab under Admin > AI > MCP for client registrations and approve or deny decisions, and, on Pro and Enterprise plans, MCP analytics under Monitor > AI Auditing showing calls by client, tool and user.
Things worth trying
- Name the database or collection in the prompt when you have more than one warehouse.
- Connect with an account that can only see what the agent needs, because the token inherits that account's permissions.
- Build the habit of checking numbers against a saved question you already trust.
Caveats
These instructions follow vendor documentation; consult the docs for your installed version. A second thread covers building dashboards with the mb CLI in a dev instance.
Sources
- Metabase MCP documentation: endpoint, admin toggle, user/project registration, OAuth, inherited permissions, five consent scopes, inline-chart availability, Site URL troubleshooting, authorizations and paid-plan MCP analytics.
Started from a post by @Metabase, packaged by the editor. Original post