Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Metabase MCP Server

MCP server by CognitionAI Verified · npm:@cognitionai

Connects AI assistants to Metabase, the analytics platform, through the Model Context Protocol. It is for people who want assistants to work with their Metabase dashboards, questions, databases and tables.

  • Score 65
  • 65 stars
  • 3.2k a week
  • NOASSERTION
  • Updated

Install Metabase MCP Server

Built from the published package, never by AI.

claude mcp add metabase-mcp-server -- npx -y @cognitionai/metabase-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Metabase MCP Server in Claude Code

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-server block.

About

The Metabase MCP Server is a Model Context Protocol server that gives AI assistants access to a Metabase instance. The README describes it as providing full access to Metabase's analytics platform. It is distributed as the npm package @cognitionai/metabase-mcp-server and can also run from a Docker image.

You set METABASE_URL and either METABASE_API_KEY or a username and password, then start the server with npx. Command-line flags choose which tools load: essential tools by default, all tools with --all, write tools with --write, or read-only tools with --read. The README lists about 81 tools across dashboards, cards and questions, databases, tables, and collections and search. It is aimed at people who use Metabase and want an AI assistant to help with it.

Written from the project's README and checked against it.

Tools it gives your assistant

  • list_dashboardsList all dashboards.
  • create_dashboardCreate new dashboard.
  • list_cardsList all cards/questions.
  • execute_cardExecute card query.
  • list_databasesList all databases.
  • execute_queryExecute SQL queries.
  • list_tablesList tables with filtering.
  • get_table_dataRetrieve table data.
  • list_collectionsList all collections.
  • search_contentSearch across all content.

What you need

  • Node.js 20.19.0+ and npm 8.0.0+ recommended
  • A Metabase instance URL
  • A Metabase API key, or a Metabase username and password
  • Docker, if using the Docker image

Try asking

  • List all dashboards in my Metabase instance
  • Run the card with ID 42 and show me the results
  • Search Metabase for content about monthly revenue

Good to know

  • Only essential tools load by default. Use --all to load the full set.
  • The --read and --write flags limit the server to read-only or write tools.
  • Username and password authentication is the fallback when no API key is set.
  • Tool errors depend on the permissions of the user or API key in Metabase.

Security check

A

No 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 Server

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Metabase MCP Server: common questions

How do I connect Metabase to an AI assistant?

The README shows a Claude Desktop and Windsurf IDE config that runs the server with npx and passes METABASE_URL and METABASE_API_KEY as environment variables. The server can also run from a local build.

Does it support authentication without an API key?

Yes. The README lists username and password authentication with METABASE_USERNAME and METABASE_PASSWORD as a fallback when METABASE_API_KEY is not set.

Can I restrict the tools the assistant gets?

Yes. The --read flag loads only read-only tools, the --write flag loads only write tools, and --essential is the default.

How do I install Metabase MCP Server?

In Claude Code run claude mcp add metabase-mcp-server -- npx -y @cognitionai/metabase-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Metabase MCP Server the official server?

Metabase MCP Server is published by npm:@cognitionai from its verified domain in the official MCP Registry.

Is Metabase MCP Server free?

The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.

Is Metabase MCP Server safe to use?

It scores 65 of 100. Grades: maintenance C, licence F, quality B. 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 Server?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Metabase MCP Server 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.

Metabase MCP Server Install

Add to stack

Loading.