Metabase MCP Server
Metabase MCPサーバー
AIアシスタントとMetabase分析プラットフォームを統合するModel Context Protocolサーバーです。
概要
このMCPサーバーはMetabase APIとの統合を提供し、MCP機能を持つLLMが分析データと直接やり取りできるようにします。このサーバーは、分析プラットフォームと会話型AIの間のブリッジとして機能します。
主な機能
リソースアクセス: 直感的な
metabase://URIを使用してMetabaseリソースをナビゲート2つの認証方法: セッションベースおよびAPIキー認証の両方をサポート
構造化データアクセス: AIアシスタントが容易に利用できるJSON形式のレスポンス
包括的なログ記録: デバッグと監視を容易にする詳細なログ記録
エラーハンドリング: 明確なエラーメッセージによる堅牢なエラーハンドリング
Related MCP server: Metabase MCP Server
利用可能なツール
このサーバーは、AIアシスタント向けに以下のツールを公開しています:
データアクセスツール
list_dashboards: Metabaseインスタンス内のすべてのダッシュボードを取得list_cards: Metabase内のすべての保存済み質問/カードを取得list_databases: 接続されているすべてのデータベースソースを表示list_collections: Metabase内のすべてのコレクションを一覧表示list_tables: 特定のデータベース内のすべてのテーブルを一覧表示get_table_fields: 特定のテーブル内のすべてのフィールド/カラムを取得
実行ツール
execute_card: 保存済みの質問を実行し、オプションのパラメータを指定して結果を取得execute_query: 接続されている任意のデータベースに対してカスタムSQLクエリを実行
ダッシュボード管理
get_dashboard_cards: 特定のダッシュボードからすべてのカードを抽出create_dashboard: 指定した名前とパラメータで新しいダッシュボードを作成update_dashboard: 既存のダッシュボードの名前、説明、またはパラメータを更新delete_dashboard: ダッシュボードを削除add_card_to_dashboard: 位置指定およびオプションのタブ割り当てを使用して、ダッシュボードにカードを追加または更新
カード/質問管理
create_card: SQLクエリを使用して新しい質問/カードを作成update_card_visualization: カードの可視化設定を更新
コレクション管理
create_collection: ダッシュボードや質問を整理するための新しいコレクションを作成
設定
このサーバーは2つの認証方法をサポートしています:
オプション1: ユーザー名とパスワードによる認証
# Required
METABASE_URL=https://your-metabase-instance.com
METABASE_USER_EMAIL=your_email@example.com
METABASE_PASSWORD=your_password
# Optional
LOG_LEVEL=info # Options: debug, info, warn, error, fatalオプション2: APIキー認証(本番環境で推奨)
# Required
METABASE_URL=https://your-metabase-instance.com
METABASE_API_KEY=your_api_key
# Optional
LOG_LEVEL=info # Options: debug, info, warn, error, fatalこれらの環境変数を直接設定するか、dotenv を使用して .env ファイルを利用できます。
Smitheryを使用したデプロイ
このMCPサーバーをClaudeや他のAIアシスタントで使用するには、このリポジトリをフォークし、Smitheryを使用してデプロイしてください:
デプロイ手順:
このリポジトリを自分のGitHubアカウントにフォークする
Smithery にアクセスし、GitHubアカウントで接続する
Smitheryのインターフェースを通じてフォークしたリポジトリをデプロイする
Claude Desktopとの統合
Smitheryでホストされたバージョンを使用するようにClaude Desktopを設定します:
MacOS: ~/Library/Application Support/Claude/claude_desktop_config.json を編集
Windows: %APPDATA%/Claude/claude_desktop_config.json を編集
APIキー認証:
{
"mcpServers": {
"metabase-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli@latest",
"run",
"YOUR_GITHUB_USERNAME/metabase-mcp-server",
"--config",
"{\"metabaseUrl\":\"https://your-metabase-instance.com\",\"metabaseApiKey\":\"your_api_key\",\"metabasePassword\":\"\",\"metabaseUserEmail\":\"\"}"
]
}
}
}ユーザー名とパスワードによる認証:
{
"mcpServers": {
"metabase-mcp": {
"command": "npx",
"args": [
"-y",
"@smithery/cli@latest",
"run",
"YOUR_GITHUB_USERNAME/metabase-mcp-server",
"--config",
"{\"metabaseUrl\":\"https://your-metabase-instance.com\",\"metabaseApiKey\":\"\",\"metabasePassword\":\"your_password\",\"metabaseUserEmail\":\"your_email@example.com\"}"
]
}
}
}セキュリティに関する考慮事項
本番環境ではAPIキー認証の使用を推奨します
APIキーと認証情報は安全に保管してください
認証情報をハードコーディングする代わりに環境変数を使用することを検討してください
Metabaseインスタンスへのアクセスを制限するために、適切なネットワークセキュリティ対策を適用してください
貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase analytics platform, allowing them to query databases, manage dashboards and cards, execute SQL queries, and access analytics data through natural language.61MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI assistants to interact with Metabase analytics platform, allowing them to query databases, manage dashboards, execute SQL queries, and organize collections through natural language.61MIT
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with Metabase analytics platform, allowing them to query databases, execute SQL, manage dashboards and cards, and access analytics data through natural language.61MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables AI assistants to interact with Metabase by providing access to dashboards, questions, and databases through the Metabase API. It allows users to list resources, execute existing cards, and run custom SQL queries to retrieve data through natural language.15
Related MCP Connectors
Connect your AI assistants to Keboola and expose your data, transformations, SQL queries, ...
AI access to Hitsteps analytics, live visitors, uptime, goals, alerts, and chats.
Provides AI assistants with direct access to Mapbox developer APIs and documentation.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CPR43/metabase-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server