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
AWS Athena MCP Server
An MCP server for querying and interacting with AWS Athena.
Instructure DAP
Query Canvas and other Instructure data using the Instructure Data Access Platform (DAP) API.
Couchbase
Interact with the data stored in Couchbase clusters using natural language.
OSV Database
An MCP server for querying the OSV (Open Source Vulnerability) database API.
MCP Qdrant Codebase Embeddings
Uses Qdrant vector embeddings to understand semantic relationships in codebases.
PostgreSQL & Google Sheets
MCP servers for interacting with PostgreSQL databases and Google Sheets.
Tableau MCP Server
Interact with Tableau Server using natural language to query data and perform administrative tasks.
MySQL MCP Server
Provides read-only access to MySQL databases, allowing LLMs to inspect schemas and execute queries.
PostgreSQL MCP Server
An MCP server that provides tools to interact with PostgreSQL databases.
Unofficial ChEMBL MCP Server
Access the ChEMBL chemical database for drug discovery, chemical informatics, and bioactivity research using specialized tools via its REST API.