Skip to main content
Glama
Redash MCP Server

Redash MCP Server

by suthio

Redash MCP サーバー

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

特徴

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

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

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

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

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

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

Related MCP server: redash-mcp

前提条件

  • 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: 初回リリース

ライセンス

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

Available Tools

67 tools
add_alert_subscriptionB

Subscribe to an alert to receive notifications

Inputs: alertId (required), destination_id.

add_dashboard_favoriteB

Add a dashboard to favorites

Inputs: dashboardId (required).

add_query_favoriteB

Add a query to favorites

Inputs: queryId (required).

archive_dashboardB

Archive (soft-delete) a dashboard in Redash

Inputs: dashboardId (required).

archive_queryA

Archive (soft-delete) a query in Redash

Inputs: queryId (required).

create_alertB

Create a new alert in Redash. Alerts notify you when a query result meets a specified condition.

Inputs: name (required), options (required), query_id (required), rearm.

create_dashboardB

Create a new dashboard in Redash

Inputs: name (required), tags.

create_queryC

Create a new query in Redash

Inputs: name (required), query (required), data_source_id (required), tags, +3 more.

create_query_snippetA

Create a new reusable query snippet

Inputs: snippet (required), trigger (required), description.

create_visualizationB

Create a new visualization for a query

Inputs: name (required), type (required), options (required), query_id (required), +1 more.

create_widgetB

Create a new widget on a dashboard

Inputs: width (required), dashboard_id (required), text, options, +2 more.

delete_alertB

Delete an alert from Redash

Inputs: alertId (required).

delete_query_snippetC

Delete a query snippet

Inputs: snippetId (required).

delete_visualizationB

Delete a visualization

Inputs: visualizationId (required).

delete_widgetB

Delete a widget from a dashboard

Inputs: widgetId (required).

execute_adhoc_queryA

Execute an ad-hoc query without saving it to Redash. Creates a temporary query that is automatically deleted after execution.

Inputs: query (required), dataSourceId (required).

execute_parameterized_queryB

Execute a saved parameterized query using its saved parameter definitions and defaults

Inputs: queryId (required), maxAge, parameters, useSavedDefaults.

execute_queryC

Execute a Redash query and return results

Inputs: queryId (required), maxAge, parameters.

fork_dashboardB

Fork (duplicate) an existing dashboard

Inputs: dashboardId (required).

fork_queryB

Fork (duplicate) an existing query

Inputs: queryId (required).

get_alertB

Get details of a specific alert

Inputs: alertId (required).

get_alert_subscriptionsA

Get all subscriptions for an alert

Inputs: alertId (required).

get_dashboardA

Get details of a specific dashboard

Inputs: dashboardId (required).

get_dashboard_by_slugB

Get details of a specific dashboard by its slug

Inputs: slug (required).

get_dashboard_layoutB

Get the current widget layout for a dashboard

Inputs: dashboardId (required).

get_dashboard_parametersA

Get the current dashboard parameter values and widget mappings

Inputs: dashboardId (required).

get_dashboard_tagsA

Get all tags used in dashboards

Inputs: no named parameters.

get_favorite_dashboardsB

Get dashboards marked as favorite by the current user

Inputs: page, pageSize.

get_favorite_queriesB

Get queries marked as favorite by the current user

Inputs: page, pageSize.

get_my_dashboardsA

Get dashboards created by the current user

Inputs: page, pageSize.

get_my_queriesA

Get queries created by the current user

Inputs: page, pageSize.

get_public_dashboardC

Get a public dashboard by its share token

Inputs: token (required).

get_queryB

Get details of a specific query

Inputs: queryId (required).

get_query_parametersA

Get the saved parameter definitions for a query

Inputs: queryId (required).

get_query_results_csvA

Get query results in CSV format. Returns the last cached results, or optionally refreshes the query first to get the latest data. Note: Does not support parameterized queries.

Inputs: queryId (required), refresh.

get_query_snippetA

Get details of a specific query snippet

Inputs: snippetId (required).

get_query_tagsA

Get all tags used in queries

Inputs: no named parameters.

get_recent_queriesC

Get recently accessed queries

Inputs: page, pageSize.

get_schemaC

Get schema of a specific data source

Inputs: dataSourceId (required).

get_visualizationB

Get details of a specific visualization

Inputs: visualizationId (required).

get_widgetC

Get details of a specific widget

Inputs: widgetId (required).

get_widget_parameter_mappingsB

Get the parameter mappings for a widget

Inputs: widgetId (required).

list_alertsB

List all alerts in Redash

Inputs: no named parameters.

list_dashboardsC

List all available dashboards in Redash

Inputs: page, pageSize.

list_data_sourcesA

List all available data sources in Redash

Inputs: no named parameters.

list_destinationsA

List all alert notification destinations (email, Slack, etc.)

Inputs: no named parameters.

list_queriesC

List all available queries in Redash

Inputs: q, page, pageSize.

list_query_snippetsA

List all reusable query snippets

Inputs: no named parameters.

list_widgetsA

List all widgets

Inputs: no named parameters.

mute_alertB

Mute an alert to temporarily stop notifications

Inputs: alertId (required).

remove_alert_subscriptionC

Unsubscribe from an alert

Inputs: alertId (required), subscriptionId (required).

remove_dashboard_favoriteB

Remove a dashboard from favorites

Inputs: dashboardId (required).

remove_query_favoriteA

Remove a query from favorites

Inputs: queryId (required).

share_dashboardB

Share a dashboard and create a public link

Inputs: dashboardId (required).

unshare_dashboardA

Unshare a dashboard and revoke its public link

Inputs: dashboardId (required).

update_alertB

Update an existing alert in Redash

Inputs: alertId (required), name, rearm, options, +1 more.

update_chart_visualizationB

Update chart-specific visualization options and merge them with the current Redash chart config by default

Inputs: visualizationId (required), name, type, sortX, +32 more.

update_dashboardC

Update an existing dashboard in Redash

Inputs: dashboardId (required), name, tags, is_draft, +2 more.

update_dashboard_layoutA

Move or resize multiple widgets on a dashboard in one call and report per-widget outcomes

Inputs: widgets (required), dashboardId (required).

update_dashboard_parametersB

Update dashboard parameter values and ordering

Inputs: dashboardId (required), parameters, globalParamOrder, replaceParameters, +1 more.

update_queryC

Update an existing query in Redash

Inputs: queryId (required), name, tags, query, +6 more.

update_query_parametersB

Update a query's saved parameter definitions

Inputs: queryId (required), parameters, replaceParameters, removeParameterNames.

update_query_snippetC

Update an existing query snippet

Inputs: snippetId (required), snippet, trigger, description.

update_visualizationC

Update an existing visualization

Inputs: visualizationId (required), name, type, options, +1 more.

update_widgetC

Update an existing widget

Inputs: widgetId (required), text, width, options, +2 more.

update_widget_layoutC

Move or resize a single widget by updating its grid position

Inputs: position (required), widgetId (required).

update_widget_parameter_mappingsB

Update a widget's parameter mappings

Inputs: widgetId (required), parameterMappings, removeParameterNames, replaceParameterMappings.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.4/5.0

    Scored across 67 tools

    Disambiguation5/5

    Each tool targets a specific resource and action, with clear distinctions even among similar operations (e.g., execute_query vs execute_adhoc_query). The descriptions further clarify any potential overlap.

    Naming Consistency5/5

    All tools follow a consistent verb_noun snake_case pattern (e.g., create_dashboard, get_query, delete_alert). No mixing of conventions or vague names.

    Tool Count4/5

    67 tools is high but appropriate for a comprehensive BI tool covering alerts, dashboards, queries, visualizations, widgets, snippets, data sources, and destinations. Each entity has a logical set of CRUD and utility tools.

    Completeness4/5

    The tool surface covers core workflows for alerts, dashboards, queries, and visualizations. Missing update/delete for data sources and destinations, but these are likely admin-level operations. Otherwise, no significant gaps.

    Maintenance

    ActivityActive
    ResponsivenessLimited data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      D
      maintenance
      MCP-compatible server that enables AI assistants to interact with Lightdash analytics data, providing tools to list and retrieve projects, spaces, charts, dashboards, and metrics through a standardized interface.
      13
      53 npm
      27
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      MCP server that connects Redash to Claude AI, enabling natural language data queries, dashboard management, and SQL execution.
      25
      2,645 npm
      1
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server for Tableau Server. Enables AI assistants to interact with Tableau workbooks, views, datasources, and metadata.
      24
      17 PyPI
      MIT