Redash MCP サーバー
Redash を Claude などの AI アシスタントと統合するためのモデル コンテキスト プロトコル (MCP) サーバー。
特徴
- Redash API 経由で Redash インスタンスに接続する
- 利用可能なクエリとダッシュボードをリソースとして一覧表示する
- クエリを実行して結果を取得する
- クエリの作成と管理(作成、更新、アーカイブ)
- クエリ作成のためのデータソースの一覧
- ダッシュボードの詳細と視覚化を取得する
前提条件
- Node.js (v18以降)
- npmまたはyarn
- Redashインスタンスへのアクセス
- Redash APIキー
環境変数
サーバーには次の環境変数が必要です。
REDASH_URL
: RedashインスタンスのURL (例: https://redash.example.com )REDASH_API_KEY
: Redash APIキー
オプションの変数:
REDASH_TIMEOUT
: APIリクエストのタイムアウト(ミリ秒)(デフォルト: 30000)REDASH_MAX_RESULTS
: 返される結果の最大数(デフォルト: 1000)
インストール
- このリポジトリをクローンします:
- 依存関係をインストールします:
- Redash 設定を含む
.env
ファイルを作成します。 - プロジェクトをビルドします。
- サーバーを起動します。
Claude for Desktop での使用
この MCP サーバーを Claude for Desktop で使用するには、Claude for Desktop 構成ファイルで次のように構成します。
macOS : ~/Library/Application Support/Claude/claude_desktop_config.json
Windows : %APPDATA%\Claude\claude_desktop_config.json
次の構成を追加します (必要に応じてパスを編集します)。
利用可能なツール
クエリ管理
list-queries
: Redash で利用可能なすべてのクエリを一覧表示するget-query
: 特定のクエリの詳細を取得するcreate-query
: Redashで新しいクエリを作成するupdate-query
: Redash 内の既存のクエリを更新するarchive-query
: クエリをアーカイブ(ソフト削除)するlist-data-sources
: 利用可能なすべてのデータソースを一覧表示する
クエリ実行
execute-query
: クエリを実行して結果を返す
ダッシュボード管理
list-dashboards
: 利用可能なすべてのダッシュボードを一覧表示するget-dashboard
: ダッシュボードの詳細と視覚化を取得するget-visualization
: 特定の視覚化の詳細を取得する
発達
開発モードで実行:
バージョン履歴
- v1.1.0: クエリ管理機能(作成、更新、アーカイブ)を追加しました
- v1.0.0: 初回リリース
ライセンス
マサチューセッツ工科大学
You must be authenticated.
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.
Tools
Redash を Claude などの AI アシスタントと統合し、データのクエリ、視覚化の管理、自然言語によるダッシュボードの操作を可能にするモデル コンテキスト プロトコル (MCP) サーバー。
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityA Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.Last updated -11,9301,674TypeScriptMIT License
- -securityAlicense-qualityA Model Context Protocol server that connects Claude and other MCP clients to Aider, enabling AI assistants to efficiently edit files, create new files, and interact with git repositories through natural language.Last updated -9PythonThe Unlicense
- -securityAlicense-qualityA Model Context Protocol (MCP) server that allows AI models to safely access and interact with local file systems, enabling reading file contents, listing directories, and retrieving file metadata.Last updated -471JavaScriptMIT License
- -securityAlicense-qualityA unified Model Context Protocol server that aggregates multiple MCP servers into one, allowing AI assistants like Claude Desktop, Cursor, and Cherry Studio to connect to a single server instead of managing multiple instances.Last updated -914TypeScriptApache 2.0