Skip to main content
Glama

Lightdash MCP Server

by syucream

lightdash-mcp-服务器

访问LightdashMCP(模型上下文协议)服务器。

该服务器提供与 MCP 兼容的 Lightdash API 访问,允许 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 - 获取项目仪表板的代码

快速入门

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 Lightdash MCP 服务器:

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

或者,使用节点运行已安装的模块。

  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 - 运行 linting 检查(ESLint 和 Prettier)
  • npm run fix - 自动修复 linting 问题
  • npm run examples - 运行示例脚本

贡献

  1. 分叉存储库
  2. 创建你的功能分支
  3. 运行测试和 lint: npm run lint
  4. 提交你的更改
  5. 推送到分支
  6. 创建拉取请求

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

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.

MCP 兼容服务器,使 AI 助手能够与 Lightdash 分析数据进行交互,提供通过标准化界面列出和检索项目、空间、图表、仪表板和指标的工具。

  1. 特征
    1. 快速入门
      1. 安装
      2. 配置
      3. 用法
    2. 发展
      1. 可用脚本
      2. 贡献

    Related MCP Servers

    • A
      security
      A
      license
      A
      quality
      An MCP server that lets AI assistants interact with your Lunchmoney data, enabling natural language queries about transactions, budgets, and spending patterns.
      Last updated -
      4
      3
      8
      TypeScript
      MIT License
    • -
      security
      F
      license
      -
      quality
      An MCP server that enables AI assistants to interact with the Plane project management platform, allowing them to manage workspaces, projects, issues, and comments through a structured API.
      Last updated -
      JavaScript
    • A
      security
      F
      license
      A
      quality
      An MCP server that supercharges AI assistants with powerful tools for software development, enabling research, planning, code generation, and project scaffolding through natural language interaction.
      Last updated -
      11
      29
      TypeScript
      • Linux
      • Apple
    • -
      security
      -
      license
      -
      quality
      An MCP server that allows AI assistants to utilize human capabilities by sending requests to humans and receiving their responses through a Streamlit UI.
      Last updated -
      23
      Python
      MIT License

    View all related MCP servers

    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/syucream/lightdash-mcp-server'

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