CC

cw-codewalnut/metabase-mcp-server

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

17 stars 12 forks Качество 83 Тренд 25Apache-2.0

Backend integration layer that connects your Metabase instance with AI assistants using the Model Context Protocol (MCP)

Обзор

is a backend integration layer that connects your instance with using the . This allows business leaders, product managers and analysts to interact with business intelligence assets like dashboards and charts using —through any MCP client (e.g., Claude Desktop). Instead of navigating through menus or constructing SQL queries manually, you can: - You can ask a question and get an instant insight. - Generate dashboards and charts by describing what you want. - Manage user access and database connections through simple instructions. This project makes Metabase not just a dashboarding tool—but a conversational, intelligent business assistant. Watch this video to see the Metabase MCP Server in action: Follow the official Metabase installation guide: Metabase Docs Install uv which includes Python and package management: For more information about uv installation and usage, please visit the official documentation: https://docs.astral.sh/uv/getting-started/installation/

README

Показан фрагмент оригинального README. Открыть оригинал.

📊 Metabase MCP Server

📚 Table of Contents

  1. What is this tool about?
  2. Video Walkthrough
  3. Architecture Diagram
  4. Getting Started
  5. Configuration Options
  6. Getting Your Metabase API Key
  7. DXT File Support
  8. How to Create Your Own DXT File
  9. Remote Deployment
  10. Debugging with MCP Inspector
  11. Available Tools
  12. Example Prompts to Try
  13. Connect with Us
  14. License

😊 What is this tool about?

Metabase MCP Server is a backend integration layer that connects your Metabase instance with AI assistants using the Model Context Protocol (MCP). This allows business leaders, product managers and analysts to interact with business intelligence assets like dashboards and charts using natural language—through any MCP client (e.g., Claude Desktop).

Instead of navigating through menus or constructing SQL queries manually, you can:

  • You can ask a question and get an instant insight.
  • Generate dashboards and charts by describing what you want.
  • Manage user access and database connections through simple instructions.

This project makes Metabase not just a dashboarding tool—but a conversational, intelligent business assistant.


🎥 Video Walkthrough

Watch this video to see the Metabase MCP Server in action:


📐 Architecture Diagram


🚀 Getting Started

1. Set Up Metabase (If you haven’t already)

Follow the official Metabase installation guide: Metabase Docs

2. Install uv Package Manager

Install uv which includes Python and package management:

Windows:

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS/Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Or install via package managers:

# macOS
brew install uv

# Windows (via Scoop)
scoop install uv

# Windows (via Chocolatey)
choco install uv
Открыть полный README на GitHub

Установка

docker run -d \
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "metabase": { "type": "stdio", "command": "C:\\Users\\YourName\\Projects\\metabase-mcp-server\\.venv\\Scripts\\python.exe", "args": [ "C:\\Users\\YourName\\Projects\\metabase-mcp-server\\src\\metabase_mcp_server.py" ], "env": { "METABASE_URL": "http://localhost:3000", "METABASE_API_KEY": "mb_xxx_your_key", "PORT": 3200, "HOST": "localhost", "TRANSPORT": "streamable-http", "LOG_LEVEL": "INFO" } } } }