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
Máy chủ liên quan
Apache Doris
MCP Server For Apache Doris, an MPP-based real-time data warehouse.
AskTable
Interact with AskTable SaaS or local deployments to query data sources using natural language.
MySQL Database Access
Provides read-only access to MySQL databases.
AIND Metadata
Access and interact with Allen Institute for Neural Dynamics (AIND) metadata directly within your IDE.
BioMCP
Connects AI assistants to authoritative biomedical data sources like PubMed and ClinicalTrials.gov, enabling natural language queries.
DB Query
Query and export data from various databases including ElasticSearch, MySQL, PostgreSQL, Oracle, and SQLite.
NSE Ticker MCP Server
Provides access to National Stock Exchange (NSE) data using the Upstox API.
ChromaDB
Provides AI assistants with persistent memory using ChromaDB vector storage.
OrionBelt Analytics
Analyzes relational database schemas (PostgreSQL, Snowflake, and Dremio) and automatically generates comprehensive ontologies in RDF/Turtle format with direct SQL mappings.
MCP Database Server
Connects to and interacts with various database systems like SQLite, PostgreSQL, SQL Server, and MongoDB.