CC

cw-codewalnut/metabase-mcp-server

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

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
GitHub で README 全文を見る

インストール

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" } } } }