metabase-server

MCP.Pizza Chef: imlewc

The published description mentions six actions, but the code actually registers thirty-four. Alongside listing dashboards, opening saved questions, and running raw database queries, it can create, edit, and delete cards, dashboards, and collections, and it can administer your Metabase users, groups, and permissions. Nothing asks you to confirm a deletion and there is no look-but-don't-touch mode. It needs your Metabase web address plus either a Metabase key or, in the setup the instructions actually show, your real Metabase username and password.

Data

Use This MCP server To

Ask which dashboards we already have about customer churn Run a saved Metabase question and read me the numbers Query our sales database in plain English Build a new dashboard from questions I describe Check who currently has access to a Metabase collection Pull last quarter's totals into a summary I can paste

README

MseeP.ai Security Assessment Badge

metabase-server MCP Server

smithery badge

A Model Context Protocol server for Metabase integration.

This is a TypeScript-based MCP server that implements integration with Metabase API. It allows AI assistants to interact with Metabase, providing access to:

  • Dashboards, questions/cards, and databases as resources
  • Tools for listing and executing Metabase queries
  • Ability to view and interact with Metabase data

Features

Resources

  • List and access Metabase resources via metabase:// URIs
  • Access dashboards, cards/questions, and databases
  • JSON content type for structured data access

Tools

  • list_dashboards - List all dashboards in Metabase
  • list_cards - List all questions/cards in Metabase
  • list_databases - List all databases in Metabase
  • execute_card - Execute a Metabase question/card and get results
  • get_dashboard_cards - Get all cards in a dashboard
  • execute_query - Execute a SQL query against a Metabase database

Configuration

Before running the server, you need to set environment variables for authentication. The server supports two methods:

  1. API Key (Preferred):

    • METABASE_URL: The URL of your Metabase instance (e.g., https://your-metabase-instance.com).
    • METABASE_API_KEY: Your Metabase API key.
  2. Username/Password (Fallback):

    • METABASE_URL: The URL of your Metabase instance.
    • METABASE_USERNAME: Your Metabase username.
    • METABASE_PASSWORD: Your Metabase password.

The server will first check for METABASE_API_KEY. If it's set, API key authentication will be used. If METABASE_API_KEY is not set, the server will fall back to using METABASE_USERNAME and METABASE_PASSWORD. You must provide credentials for at least one of these methods.

Example setup:

Using API Key:

metabase-server FAQ

Does it only read my data, or can it change things?
It can change a great deal. Beyond the six read-and-run actions listed in the documentation, the code also creates, edits, and deletes saved questions, dashboards, and collections, and it can create, edit, and disable Metabase user accounts and rearrange group permissions. There is no read-only setting and no confirmation step before a delete, so give it an account with only the access you are comfortable handing over.
What credentials does it need, and do they cost anything?
Your Metabase web address plus one of two things: a Metabase key, or your actual Metabase username and password. The key is the safer choice. The command shown in the install instructions uses the username and password, which means your real account password sits in a settings file on your computer.
Can I use this to get an answer out of a dashboard without opening Metabase?
Yes. Ask for a saved question by name and it runs it and hands back the rows, capped at fifty by default unless you ask for more.
Which apps does it work in?
Claude Desktop and Claude Code have documented setups, and there is a one-command install through Smithery. Any other app that lets you paste in an MCP server entry should work too.
Does it leave anything on my computer?
Yes, and the documentation does not mention it. Fifteen of the actions write their full results, including the rows returned by your queries, to a file named .last-response.json sitting beside the installed program.
How hard is setup?
Not hard. It installs from a package with one command, and you paste a short block with your Metabase address and credentials into your app's settings.
Is it still being maintained?
The code was last changed in April 2026, so it is quiet but not abandoned. The ready-made package was last published in February 2026, so the one-command install may be slightly behind the code you see on the project page.
Can I use it at work?
Technically yes, but the project ships no licence file at all, which leaves the legal position unclear. Check with whoever handles that at your company before rolling it out.