HM

hluaguo/metabase-mcp

Developer tools

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

73 stars 34 forks 品質 74 トレンド 14MIT

hluaguo/metabase-mcp は [https://github.com/hluaguo/metabase-mcp.] からインポートされた MCP サーバー候補です

概要

hluaguo/metabase-mcp は [https://github.com/hluaguo/metabase-mcp.] からインポートされた MCP サーバー候補です

概要(AI 翻訳)

Metabase の高性能 Model Context Protocol (MCP) サーバ、Claude、Cursor などの AI アシスタントを有効にし、Metabase インスタンスとシームレスにやり取りする MCP クライアント。 データベースをクエリし、SQLを実行し、ダッシュボードを管理し、分析ワークフローをAIを搭載したデータベース操作で自然言語で自動化します。

パーフェクト: データアナリスト、開発者、およびチームは、自動SQLクエリ、ダッシュボード管理、データ探索のためのメタベースビジネスインテリジェンスプラットフォームでAIアシスタントを統合しようとしています。

主な特長

##データベース運用 -リストデータベース: すべての構成されたメタベースデータベースを参照

  • テーブルディスカバリー:メタデータと説明で表を探索する -Field Inspection:スマートパジネーションで詳細なフィールド/列情報を入手

クエリと分析

-SQL Execution: ネイティブSQLクエリを実行し、パラメーターのサポートとテンプレートを実行

  • MongoDBサポート: 集計パイプラインの自動JSON変換でネイティブMongoDBクエリを実行 -カード管理:メタベースの質問/カード(SQLとMongoDB)を実行、作成、管理

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

README

以下は原文 README の抜粋です。原文を見る。

Metabase MCP Server - Connect AI Assistants to Your Metabase Analytics

A high-performance Model Context Protocol (MCP) server for Metabase, enabling AI assistants like Claude, Cursor, and other MCP clients to interact seamlessly with your Metabase instance. Query databases, execute SQL, manage dashboards, and automate analytics workflows with natural language through AI-powered database operations.

Perfect for: Data analysts, developers, and teams looking to integrate AI assistants with their Metabase business intelligence platform for automated SQL queries, dashboard management, and data exploration.

Key Features

Database Operations

  • List Databases: Browse all configured Metabase databases
  • Table Discovery: Explore tables with metadata and descriptions
  • Field Inspection: Get detailed field/column information with smart pagination

Query & Analytics

  • SQL Execution: Run native SQL queries with parameter support and templating
  • MongoDB Support: Execute native MongoDB queries with automatic JSON conversion for aggregation pipelines
  • Card Management: Execute, create, and manage Metabase questions/cards (SQL and MongoDB)
  • Collection Organization: Create and manage collections for better organization
  • Natural Language Queries: Let AI assistants translate questions into SQL or MongoDB queries

Authentication & Security

  • API Key Support: Secure authentication via Metabase API keys (recommended)
  • Session-based Auth: Alternative email/password authentication
  • Environment Variables: Secure credential management via .env files

AI Assistant Integration

  • Claude Desktop: Native integration with Anthropic’s Claude AI
  • Cursor IDE: Seamless integration for AI-assisted development
  • Any MCP Client: Compatible with all Model Context Protocol clients

Enhanced Performance & Reliability

  • Context-aware Logging: Real-time logging with debug, info, warning, and error levels visible to AI clients
  • Proper Error Handling: FastMCP ToolError exceptions for better error messages and debugging
  • Middleware Stack: Built-in error handling and logging middleware for production reliability
  • Best Practices: Follows latest FastMCP patterns with duplicate prevention and clean configuration
  • Modern Python: Uses Python 3.12+ type hints (| syntax) for better type safety

Quick Start

Prerequisites

  • Python 3.12+
  • Metabase instance with API access
  • uvx or uv package manager

Installation

GitHub で README 全文を見る

インストール

uvx metabase-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "metabase-mcp": { "command": "uvx", "args": ["metabase-mcp"], "env": { "METABASE_URL": "https://your-metabase-instance.com", "METABASE_API_KEY": "your-api-key-here" } } } }