Skip to main content
Glama
suthio

Redash MCP Server

by suthio

Redash MCP サーバー

Redash を Claude などの AI アシスタントと統合するためのモデル コンテキスト プロトコル (MCP) サーバー。

特徴

  • Redash API 経由で Redash インスタンスに接続する

  • 利用可能なクエリとダッシュボードをリソースとして一覧表示する

  • クエリを実行して結果を取得する

  • クエリの作成と管理(作成、更新、アーカイブ)

  • クエリ作成のためのデータソースの一覧

  • ダッシュボードの詳細と視覚化を取得する

Related MCP server: Crunchbase MCP Server

前提条件

  • Node.js (v18以降)

  • npmまたはyarn

  • Redashインスタンスへのアクセス

  • Redash APIキー

環境変数

サーバーには次の環境変数が必要です。

オプションの変数:

  • REDASH_TIMEOUT : APIリクエストのタイムアウト(ミリ秒)(デフォルト: 30000)

  • REDASH_MAX_RESULTS : 返される結果の最大数(デフォルト: 1000)

インストール

  1. このリポジトリをクローンします:

    git clone https://github.com/suthio/redash-mcp.git
    cd redash-mcp
  2. 依存関係をインストールします:

    npm install
  3. Redash 設定を含む.envファイルを作成します。

    REDASH_URL=https://your-redash-instance.com
    REDASH_API_KEY=your_api_key
  4. プロジェクトをビルドします。

    npm run build
  5. サーバーを起動します。

    npm start

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

次の構成を追加します (必要に応じてパスを編集します)。

{
  "mcpServers": {
    "redash": {
      "command": "npx",
      "args": [
         "-y",
         "@suthio/redash-mcp"
      ],
      "env": {
        "REDASH_API_KEY": "your-api-key",
        "REDASH_URL": "https://your-redash-instance.com"
      }
    }
  }
}

利用可能なツール

クエリ管理

  • list-queries : Redash で利用可能なすべてのクエリを一覧表示する

  • get-query : 特定のクエリの詳細を取得する

  • create-query : Redashで新しいクエリを作成する

  • update-query : Redash 内の既存のクエリを更新する

  • archive-query : クエリをアーカイブ(ソフト削除)する

  • list-data-sources : 利用可能なすべてのデータソースを一覧表示する

クエリ実行

  • execute-query : クエリを実行して結果を返す

ダッシュボード管理

  • list-dashboards : 利用可能なすべてのダッシュボードを一覧表示する

  • get-dashboard : ダッシュボードの詳細と視覚化を取得する

  • get-visualization : 特定の視覚化の詳細を取得する

発達

開発モードで実行:

npm run dev

バージョン履歴

  • v1.1.0: クエリ管理機能(作成、更新、アーカイブ)を追加しました

  • v1.0.0: 初回リリース

ライセンス

マサチューセッツ工科大学

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

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/suthio/redash-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server