Metabase Server MCP

Integrations

  • Provides access to Metabase dashboards, questions/cards, and databases, with tools for listing and executing queries, viewing data, and interacting with Metabase resources through a structured API.

メタベースサーバー MCP サーバー

Metabase 統合用のモデル コンテキスト プロトコル サーバー。

これはTypeScriptベースのMCPサーバーで、Metabase APIとの統合を実装しています。AIアシスタントがMetabaseと連携し、以下の機能にアクセスできるようになります。

  • ダッシュボード、質問/カード、データベースをリソースとして
  • メタベースクエリを一覧表示および実行するためのツール
  • メタベースデータを表示および操作する機能

特徴

リソース

  • metabase:// URI 経由で Metabase リソースの一覧表示とアクセスを行う
  • ダッシュボード、カード/質問、データベースにアクセスする
  • 構造化データアクセス用の JSON コンテンツ タイプ

ツール

  • list_dashboards - Metabase内のすべてのダッシュボードを一覧表示する
  • list_cards - メタベース内のすべての質問/カードを一覧表示します
  • list_databases - メタベース内のすべてのデータベースを一覧表示する
  • execute_card - メタベースの質問/カードを実行して結果を取得する
  • get_dashboard_cards - ダッシュボード内のすべてのカードを取得する
  • execute_query - メタベースデータベースに対してSQLクエリを実行する

構成

サーバーを実行する前に、次の環境変数を設定する必要があります。

# Required environment variables export METABASE_URL=https://your-metabase-instance.com export METABASE_USERNAME=your_username export METABASE_PASSWORD=your_password

これらの環境変数はシェル プロファイルで設定することも、 dotenvなどのパッケージで.envファイルを使用することもできます。

発達

依存関係をインストールします:

npm install

サーバーを構築します。

npm run build

自動リビルドを使用した開発の場合:

npm run watch

インストール

Claude Desktop で使用するには、サーバー設定を追加します。

MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json Windows の場合: %APPDATA%/Claude/claude_desktop_config.json

{ "mcpServers": { "metabase-server": { "command": "/path/to/metabase-server/build/index.js", "env": { "METABASE_URL": "https://your-metabase-instance.com", "METABASE_USERNAME": "your_username", "METABASE_PASSWORD": "your_password" } } } }

注: 必要に応じて、これらの環境変数を構成ファイルではなくシステムで設定することもできます。

Smithery経由でインストール

Smithery経由で Claude Desktop 用のメタベース サーバーを自動的にインストールするには:

npx -y @smithery/cli install @imlewc/metabase-server --client claude

デバッグ

MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。

npm run inspector

インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。

-
security - not tested
F
license - not found
-
quality - not tested

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

AI アシスタントが Metabase と対話できるようにし、ダッシュボード、質問、データベース、およびクエリの実行と自然言語によるデータの表示のためのツールへのアクセスを提供します。

  1. Features
    1. Resources
    2. Tools
  2. Configuration
    1. Development
      1. Installation
        1. Installing via Smithery
        2. Debugging

      Related MCP Servers

      • A
        security
        A
        license
        A
        quality
        Allows AI assistants to list tables, read data, and execute SQL queries through a controlled interface, making database exploration and analysis safer and more structured.
        Last updated -
        1
        360
        Python
        MIT License
        • Linux
        • Apple
      • -
        security
        F
        license
        -
        quality
        Enables AI assistants to interact with Metabase databases and dashboards, allowing users to list and execute queries, access data visualizations, and interact with database resources through natural language.
        Last updated -
        9
        JavaScript
        • Apple
      • -
        security
        F
        license
        -
        quality
        A bridge between AI assistants like GitHub Copilot and Supabase databases, allowing AI to understand schema, assist with query writing, and provide context-aware suggestions related to your data model.
        Last updated -
        JavaScript
      • -
        security
        F
        license
        -
        quality
        A Model Control Protocol server that enables AI assistants to interact with Metabase databases, allowing models to explore database schemas, retrieve metadata, visualize relationships, and execute actions.
        Last updated -
        1
        Python

      View all related MCP servers

      ID: 202t9f9des