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
RentCast
Access property data, valuations, and market statistics using the RentCast API.
MongoDB Atlas
A server for managing data in MongoDB Atlas, providing secure and scalable data management through RESTful APIs.
SingleStore
Interact with the SingleStore database platform
Isthmus
Local MCP server that connects AI models to any PostgreSQL database. Discover schemas, explore relationships, profile tables, and run read-only SQL queries, policy column masking,... all running locally
MarkLogic MCP Server by CData
A read-only MCP server by CData for querying live MarkLogic data with LLMs. Requires a separate CData JDBC Driver.
Alpha Vantage MCP Server
Enables AI agents and applications to access real-time and 20+ years historical financial market data through natural language queries.
Seatable
A comprehensive Model Context Protocol (MCP) server for SeaTable that exposes endβtoβend database capabilities (schema introspection, CRUD, querying, linking, select option management, and file attachment stubs) through 18+ rigorously defined tools.
Oracle Database
Access and query an Oracle database using the cx_Oracle driver.
MongoDB MCP Server
An MCP server providing tools and prompts for interacting with a MongoDB database.
SQLite
MCP server for SQLite files. Supports Datasette-compatible metadata!