metabase-mcp-server
Provides tools for interacting with Metabase API, enabling listing cards, databases, collections, executing queries, creating cards, and managing bookmarks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@metabase-mcp-serverlist my databases"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Metabase MCP Server
This project implements an MCP server to interact with the Metabase API, exposing key functionality via a MCP interface.
Features
π List Metabase cards
ποΈ List available databases
π Execute queries on cards
π§Ύ Run arbitrary queries
π Create new cards
π Create bookmark
π List collections
Related MCP server: Metabase MCP Server
Requirements
Python 3.12+
Installation
Clone the repository:
git clone https://github.com/cuenca-mx/metabase-mcp-server.git
cd metabase-mcp-server{
"mcpServers": {
"metabase": {
"command": "uv",
"args": [
"--directory",
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/metabase_mcp_server",
"run",
"app.py"
],
"env": {
"METABASE_URL": "https://metabase.domain.com/",
"METABASE_API_KEY": "your-secret-api-key"
}
}
}
}Development Setup
This project uses a Makefile to simplify development tasks:
make installEnvironment Variables
Configure required environment variables:
export $(<env.template)Running Tests
The project uses pytest for unit testing:
uv run pytestDebugging with MCP Inspector
Use the MCP Inspector for testing and debugging:
make devThis server cannot be deployed
Maintenance
Related MCP Connectors
BETA β Run SuiteQL, read/write NetSuite records, query SuiteAnalytics, and run saved bookmarks.
Read and update Markboard kanban boards: cards, checklists, labels, comments and files.
List reverse-ETL sources, destinations, models, syncs and runs; trigger syncs into SaaS tools.
Access the GitHub API, enabling file operations, repository management, search functionality, andβ¦
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase analytics platform, allowing them to query databases, manage dashboards and cards, execute SQL queries, and access analytics data through natural language.29 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase analytics platform, allowing users to query databases, manage dashboards and cards, execute SQL queries, and access analytics data through natural language.29 npm1MIT
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase through its API, allowing them to list, read, execute, and manage databases, tables, dashboards, cards, collections, and queries with support for multiple export formats.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with Metabase by providing access to dashboards, questions, and databases through the Metabase API. It allows users to list resources, execute existing cards, and run custom SQL queries to retrieve data through natural language.15 npm-