metabase-mcp-server
Provides tools for interacting with Metabase API, enabling listing cards, databases, collections, executing queries, creating cards, and managing bookmarks.
Click on "Install 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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cuenca-mx/metabase-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server