Skip to main content
Glama
Lightdash MCP Server

Lightdash MCP Server

by syucream

lightdash-mcp-server

鍛冶屋のバッジnpmバージョン

LightdashへアクセスするMCP(Model Context Protocol)サーバー。

このサーバーは、Lightdash の API への MCP 互換アクセスを提供し、AI アシスタントが標準化されたインターフェースを通じて Lightdash データと対話できるようにします。

特徴

利用可能なツール:

  • list_projects - Lightdash組織内のすべてのプロジェクトを一覧表示します

  • get_project - 特定のプロジェクトの詳細を取得する

  • list_spaces - プロジェクト内のすべてのスペースを一覧表示する

  • list_charts - プロジェクト内のすべてのチャートを一覧表示する

  • list_dashboards - プロジェクト内のすべてのダッシュボードを一覧表示する

  • get_custom_metrics - プロジェクトのカスタムメトリックを取得する

  • get_catalog - プロジェクトのカタログを取得する

  • get_metrics_catalog - プロジェクトのメトリクスカタログを取得する

  • get_charts_as_code - プロジェクトのチャートをコードとして取得する

  • get_dashboards_as_code - プロジェクトのダッシュボードをコードとして取得する

Related MCP server: Metabase MCP Plus

クイックスタート

インストール

Smithery経由でインストール

Smithery経由で Claude Desktop 用の Lightdash MCP Server を自動的にインストールするには:

npx -y @smithery/cli install lightdash-mcp-server --client claude

手動インストール

npm install lightdash-mcp-server

構成

Lightdash API 認証情報を使用して.envファイルを作成します。

LIGHTDASH_API_KEY=your_api_key
LIGHTDASH_API_URL=https://app.lightdash.cloud  # or your custom Lightdash instance URL

使用法

  1. MCP サーバーを起動します。

直接:

npx lightdash-mcp-server

または、インストールされたモジュールを node で実行します。

  1. MCP 構成 json を編集します。

...
    "lightdash": {
      "command": "npx",
      "args": [
        "-y",
        "lightdash-mcp-server"
      ],
      "env": {
        "LIGHTDASH_API_KEY": "<your PAT>",
        "LIGHTDASH_API_URL": "https://<your base url>"
      }
    },
...

発達

利用可能なスクリプト

  • npm run dev - ホットリロードで開発モードでサーバーを起動します

  • npm run build - 本番環境用にプロジェクトをビルドする

  • npm run start - 本番サーバーを起動する

  • npm run lint - リンティングチェックを実行する(ESLint と Prettier)

  • npm run fix - リンティングの問題を自動的に修正する

  • npm run examples - サンプルスクリプトを実行する

貢献

  1. リポジトリをフォークする

  2. 機能ブランチを作成する

  3. テストとリンティングを実行する: npm run lint

  4. 変更をコミットする

  5. ブランチにプッシュする

  6. プルリクエストを作成する

Available Tools

13 tools
lightdash_get_analyticsC

Get analytics for a specific table in the data catalog

Inputs: projectUuid (required), table (required).

lightdash_get_catalogC

Get catalog for a project

Inputs: projectUuid (required).

lightdash_get_charts_as_codeC

Get charts as code for a project

Inputs: projectUuid (required).

lightdash_get_custom_metricsC

Get custom metrics for a project

Inputs: projectUuid (required).

lightdash_get_dashboards_as_codeC

Get dashboards as code for a project

Inputs: projectUuid (required).

lightdash_get_metadataB

Get metadata for a specific table in the data catalog

Inputs: projectUuid (required), table (required).

lightdash_get_metrics_catalogB

Get metrics catalog for a project

Inputs: projectUuid (required).

lightdash_get_projectA

Get details of a specific project

Inputs: projectUuid (required).

lightdash_get_user_attributesB

Get organization user attributes

Inputs: no named parameters.

lightdash_list_chartsA

List all charts in a project

Inputs: projectUuid (required).

lightdash_list_dashboardsA

List all dashboards in a project

Inputs: projectUuid (required).

lightdash_list_projectsA

List all projects in the Lightdash organization

Inputs: no named parameters.

lightdash_list_spacesC

List all spaces in a project

Inputs: projectUuid (required).

Tool Schema Changelog

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

Loading tool schema changelog…

    TDQS

    B3.2/5.0

    Scored across 13 tools

    Disambiguation4/5

    Most tools target distinct resources (analytics, catalog, charts, dashboards, projects), but there is potential confusion between 'get_catalog' and 'get_metrics_catalog', and between 'get_analytics' and 'get_metadata' for a specific table. Descriptions help clarify, but some overlap exists.

    Naming Consistency5/5

    All tools follow a consistent 'lightdash_verb_noun' pattern, using 'get_' or 'list_' prefixes. The 'as_code' suffix in two tools is a minor deviation but still fits the pattern well.

    Tool Count5/5

    With 13 tools covering catalog, charts, dashboards, metrics, projects, spaces, and user attributes, the number is well-scoped for a read-only analytics server. It is neither too few nor too many.

    Completeness3/5

    The server covers many read operations (get, list) but lacks any write tools (create, update, delete), which is a notable gap for full lifecycle management in Lightdash. Agents may need write capabilities for many workflows.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      An MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.
      34
      -
    • A
      license
      A
      quality
      D
      maintenance
      An MCP server that enables AI assistants to query databases, execute SQL, and manage Metabase resources like dashboards, cards, and collections through natural language.
      22
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      Model Context Protocol (MCP) server that gives AI assistants a safe, correct data-analyst capability over business metrics - without raw SQL improvisation.
      -
    • A
      license
      A
      quality
      D
      maintenance
      A Model Context Protocol server for interacting with Lightdash, enabling AI assistants to discover data, create charts, and manage dashboards programmatically.
      28
      17 PyPI
      24
      MIT