MCP server

Connect your AI agents to Metabase, not straight to your database

Bring Claude, ChatGPT, Cursor or any MCP client. Through the Metabase MCP server, your agent signs in as a person, sees only what they can see, finds the metrics you've already defined, and uses only the tools you allow.

The MCP server is on every plan, including open source. Tool access by group and MCP analytics are on Pro and Enterprise.

Claude

Why are signups down in 2026? Add a weekly view to the dashboard.

  • Used published metric: Signups
  • Used visualize_query
  • Used dashboard_write

Signups are down across every source in 2026, so it’s broad, not one channel:

• Organic still leads with 62, down from 92.

• Google is next with 30, down from 50.

I added a weekly view to the New accounts by source dashboard. Want an alert if it drops?

Build dashboards your team can use, without leaving the chat

An answer in a chat ends with the chat. Through the MCP server, your agent saves what it builds to Metabase, where your team can use it and it keeps running on live data.

One request in Claude builds a Revenue by Region dashboard in Metabase, with its date filter wired to every card, and creates an alert for when weekly revenue drops 10%.
  • Questions and dashboards

    Saved in Metabase with their filters wired up, on live data your team can open and check.

  • Documents

    An analysis written up as a Metabase Document, with its charts in it.

  • Alerts and subscriptions

    Alerts on the numbers you watch, and dashboards sent by email or Slack on a schedule.

Ask and explore without leaving the chat

In Claude, ChatGPT, Cursor or VS Code, your agent searches your content, queries your data and answers with Metabase charts you can click into.

  • Charts in the chat. Switch chart types, change the time range, or drill through to the rows behind a number.
  • The query behind it. Open any answer in Metabase to check its query and keep exploring.
  • Agents in your own product. If you embed Metabase with JWT sign-in, an AI agent you build into your app can use the MCP server as whoever is signed in to your app, with that person's permissions. On Pro and Enterprise. See MCP with embedding.
Claude
A monthly orders chart from Metabase inside a Claude chat, with chart type buttons, a drill-through menu, and an Explore in Metabase link.

Agents get the access you give them, and no more

An agent signs in as a person, so it inherits that person's permissions. On Pro and Enterprise, you also decide which MCP tools each group's agents can use.

  • Each person's permissions. Data permissions, collection permissions and row and column security apply to their agent too. No tool reaches data the person couldn't see in Metabase.
  • Tools by group. Let analysts run SQL and build dashboards from Claude, and give everyone else tools that only search and read. Blocked tools never show up in the client.
  • Scopes people approve. The sign-in screen lists what a client wants, like running queries or writing content, and a scope never adds access the person doesn't have.
  • An off switch. Turn off the MCP server, or every AI feature at once, without disconnecting your provider.
Explore AI governance
The same question asked from Claude by the data team and by everyone else. The data team's agent can run SQL and save a dashboard; everyone else's can only search and read.

See what every agent did

On Pro and Enterprise, MCP analytics in Monitor shows who uses which clients and tools, and logs every call.

  • Usage. Calls over time by client, tool and person, plus errors by type.
  • Tool calls. Every call with its tool, client, person, status and how long it took.
  • Authorizations. Every client that registered, and who approved or denied its access.
Explore usage analytics and auditing
MCP analytics in Monitor: calls over time, calls by tool, and calls by client, from Claude and Cursor to ChatGPT and Claude Code.

Your data deserves better than vibes

Point an agent straight at your database and it signs in with a shared credential, guesses at your metrics from raw tables, and leaves nothing but query logs behind. Through the Metabase MCP server, it works as a person, inside the rules you've already set.

Agent on your database Metabase MCP server
Sign-in One shared database credential Signs in as the person using it
Permissions Every table the credential can read That person’s permissions, down to rows and columns
Tools Whatever the database user can do Only the tools you allow each group
Numbers match your metrics Joins and definitions guessed from the schema Prefers the metrics in your Library
Audit Database query logs, if you kept them Every call, by person, client and tool

Row and column security, tool access by group and MCP analytics are on Pro and Enterprise plans. The MCP server is on every plan.

Frequently asked questions

Does Metabase have an MCP server?
Yes. Every Metabase includes an MCP server, on every plan, including open source. Admins turn it on or off in Admin > AI > MCP, and people connect their AI client to your Metabase's /api/metabase-mcp URL. Tool access by group and MCP analytics are on Pro and Enterprise. See the MCP server docs.
Why use Metabase's MCP server instead of connecting an agent straight to our database?
A database connection gives an agent whatever its credential can reach. It sees every table that credential can read, guesses at joins and metric definitions from the schema, and leaves no record beyond your database's query logs. Through Metabase's MCP server, the agent signs in as a person and gets only that person's permissions, and its searches favor the metrics and models you've published to the Library. On Pro and Enterprise, you also choose which tools each group's agents can use, and see every call in MCP analytics.
Can we keep agents on our verified metrics?
You can steer them there, but you can't restrict them to it. Search favors the metrics and models you've published to the Library, and agents can query your metrics directly. They can still query any table the person has data permissions for, so data permissions decide which tables are in reach. You can also block raw SQL for a group, so its agents build queries instead of writing their own SQL. See MCP tools access.
Which AI clients work with the Metabase MCP server?
Any MCP client can connect, including Claude (on the web, desktop and Claude Code), ChatGPT, Cursor and VS Code. Claude, ChatGPT, Cursor and VS Code can also show Metabase's interactive charts in the chat, once an admin turns that on for them.
How do we connect Claude to Metabase?
In Claude on the web or Claude Desktop, add Metabase from Claude's connector directory, enter your Metabase's MCP URL (its address followed by /api/metabase-mcp), and sign in to your Metabase. In Claude Code, add it with claude mcp add, then sign in from /mcp. The MCP server has to be on in Admin > AI > MCP. See connecting Claude Code.
Should we use the MCP server or the Metabase CLI?
Use the MCP server when people want to ask questions, explore and build as they chat, in Claude, ChatGPT, Cursor or VS Code. Use the Metabase CLI when a coding agent like Claude Code or Codex is building or changing content in bulk, running in a script or CI, or making changes that ship through git. The same permissions apply to both. See analytics as code.
Can an agent see data the person who connected it can't?
No. An agent signs in as a person and runs with that person's permissions, including row and column security. Scopes and MCP tool access can narrow what it does, but never widen it.
Do MCP agents count toward Metabot's token limits?
No. Token limits and token reporting cover Metabot, which runs on the model you connect to Metabase. Agents connected through the MCP server run on their own model, outside Metabase, so Metabase doesn't count or cap their tokens. It does log every call they make, in MCP analytics.
Can we use the MCP server in our embedded analytics?
Yes, on Pro and Enterprise. If your product has its own AI agent, it can query your embedded Metabase through the MCP server on behalf of whoever is signed in to your app. Your backend signs a JWT for that person, as it does for SSO, and exchanges it for an access token, so the agent gets that person's permissions and there's no consent screen. See using the MCP server when embedding Metabase.