
metabase mcp server
A Model Context Protocol server that enables interaction with Metabase via LLMs
Repository Info
About This Server
A Model Context Protocol server that enables interaction with Metabase via LLMs
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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
Requirements
- Python 3.12+
- uv
Installation
- Clone the repository:
git clone https://github.com/cuenca-mx/metabase-mcp-server.git
cd metabase-mcp-server
- Configure your AI assistant client (Claude, Cursor, etc.) by adding the following configuration:
{
"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 install
Environment Variables
Configure required environment variables:
export $(<env.template)
Running Tests
The project uses pytest for unit testing:
uv run pytest
Debugging with MCP Inspector
Use the MCP Inspector for testing and debugging:
make dev
Quick Start
Clone the repository
git clone https://github.com/cuenca-mx/metabase-mcp-serverInstall dependencies
cd metabase-mcp-server
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.