メタベースサーバー 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クエリを実行する
構成
サーバーを実行する前に、次の環境変数を設定する必要があります。
これらの環境変数はシェル プロファイルで設定することも、 dotenv
などのパッケージで.env
ファイルを使用することもできます。
発達
依存関係をインストールします:
サーバーを構築します。
自動リビルドを使用した開発の場合:
インストール
Claude Desktop で使用するには、サーバー設定を追加します。
MacOS の場合: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows の場合: %APPDATA%/Claude/claude_desktop_config.json
注: 必要に応じて、これらの環境変数を構成ファイルではなくシステムで設定することもできます。
Smithery経由でインストール
Smithery経由で Claude Desktop 用のメタベース サーバーを自動的にインストールするには:
デバッグ
MCPサーバーはstdio経由で通信するため、デバッグが困難になる場合があります。パッケージスクリプトとして提供されているMCP Inspectorの使用をお勧めします。
インスペクターは、ブラウザでデバッグ ツールにアクセスするための URL を提供します。
This server cannot be installed
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 データベースおよびダッシュボードと対話できるようになり、ユーザーはクエリを一覧表示して実行したり、データの視覚化にアクセスしたり、自然言語でデータベース リソースと対話したりできるようになります。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAllows 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 -859MIT License
- -securityFlicense-qualityEnables AI assistants to interact with Metabase, providing access to dashboards, questions, databases, and tools for executing queries and viewing data through natural language.Last updated -
- AsecurityFlicenseAqualityProvides tools for AI assistants to explore and interact with MariaDB databases, allowing them to list databases, view tables, inspect schema definitions, and query data.Last updated -42
- -securityFlicense-qualityConnect AI assistants to your Metabase analytics platform. Access dashboards, execute queries, and retrieve data seamlessly through conversational interfaces. Enhance your analytics experience with structured data access and robust error handling.Last updated -20