Metabase MCP Server
Interact with Metabase, the open-source business intelligence platform, using Large Language Models.
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
{
"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
Related Servers
MCP Iceberg Catalog
An MCP server for interacting with Apache Iceberg catalogs and data lakes.
CrateDB MCP Server
Interact with CrateDB using natural language for Text-to-SQL queries and documentation retrieval.
inception-mcp
MCP server and CLI for managing INCEpTION projects, documents, and exports through the AERO v1 REST API.
GigAPI Timeseries Lake
An MCP server for GigAPI Timeseries Lake, enabling seamless integration with MCP-compatible clients.
Clearbook
MCP server for discovering UK regulated professional services โ conveyancers, mortgage brokers, and financial advisers from SRA, FCA, and Companies House registers.
OpenSearch MCP Server
An MCP server for interacting with OpenSearch clusters, configured via environment variables.
Directus MCP Server
An MCP server for Directus CMS, enabling AI clients to interact with the Directus API.
ClickHouse
An MCP server for interacting with a ClickHouse database.
SCB MCP
Connect LLMs or AI-chatbots to let them query and interact with official data and statistics from SCB (Sweden Statistics)
Prisma MCP
Manage Prisma Postgres databases and backups using AI agents via local or remote servers.