1. Conduid
  2. Developer Tools
  3. Lightdash
MCP server · Developer Tools

Lightdash

A MCP(Model Context Protocol) server that accesses to Lightdash

Unclaimed MIT last commit a year ago devtools
60Good

Scored 6 days ago · breakdown

About Lightdash

Lightdash is an MCP server published by syucream in the Developer Tools category: a MCP(Model Context Protocol) server that accesses to Lightdash.

The repository has 27 stars and 13 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

uvx
uvx lightdash-mcp-server
pip
pip install lightdash-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Lightdash

Powered by Claude · Grounded in docs

I know everything about Lightdash. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

Releases

v0.0.12v0.0.12 · 9 Jun 2025What's Changed refactor: extract MCP server logic into separate module by @syucream in https://github.com/syucream/lightdash-mcp-server/pull/16 refactor: rename schema types to include Request suffix and simplify … by @syucream in…
v0.0.11v0.0.11 · 26 Mar 2025What's Changed update client by @syucream in https://github.com/syucream/lightdash-mcp-server/pull/11 Full Changelog: https://github.com/syucream/lightdash-mcp-server/compare/v0.0.10...v0.0.11
v0.0.10v0.0.10 · 22 Mar 2025Fix broken call tool handling
v0.0.9v0.0.9 · 22 Mar 2025⚠️ DON'T USE IT, ITS BROKEN⚠️ What's Changed Update Lightdash API base URL configuration by @guchey in https://github.com/syucream/lightdash-mcp-server/pull/8 APIのツール名をプレフィックス付きに変更 by @guchey in…
v0.0.8v0.0.8 · 18 Mar 2025What's Changed add MCP server badge by @punkpeye in https://github.com/syucream/lightdash-mcp-server/pull/6 Deployment: Smithery config by @calclavia in https://github.com/syucream/lightdash-mcp-server/pull/5 Fix npx execution by @syucream…

README

lightdash-mcp-server

smithery badge npm version

A MCP(Model Context Protocol) server that accesses to Lightdash.

This server provides MCP-compatible access to Lightdash's API, allowing AI assistants to interact with your Lightdash data through a standardized interface.

Features

Available tools:

  • list_projects - List all projects in the Lightdash organization
  • get_project - Get details of a specific project
  • list_spaces - List all spaces in a project
  • list_charts - List all charts in a project
  • list_dashboards - List all dashboards in a project
  • get_custom_metrics - Get custom metrics for a project
  • get_catalog - Get catalog for a project
  • get_metrics_catalog - Get metrics catalog for a project
  • get_charts_as_code - Get charts as code for a project
  • get_dashboards_as_code - Get dashboards as code for a project

Quick Start

Installation

Installing via Smithery

To install Lightdash MCP Server for Claude Desktop automatically via Smithery:

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

Manual Installation

npm install lightdash-mcp-server

Configuration

  • LIGHTDASH_API_KEY: Your Lightdash PAT
  • LIGHTDASH_API_URL: The API base URL

Usage

The lightdash-mcp-server supports two transport modes: Stdio (default) and HTTP.

Stdio Transport (Default)

  1. Start the MCP server:
npx lightdash-mcp-server
  1. Edit your MCP configuration json:
...
    "lightdash": {
      "command": "npx",
      "args": [
        "-y",
        "lightdash-mcp-server"
      ],
      "env": {
        "LIGHTDASH_API_KEY": "<your PAT>",
        "LIGHTDASH_API_URL": "https://<your base url>"
      }
    },
...

HTTP Transport (Streamable HTTP)

  1. Start the MCP server in HTTP mode:
npx lightdash-mcp-server -port 8080

This starts the server using StreamableHTTPServerTransport, making it accessible via HTTP at http://localhost:8080/mcp.

  1. Configure your MCP client to connect via HTTP:

For Claude Desktop and other MCP clients:

Edit your MCP configuration json to use the url field instead of command and args:

...
    "lightdash": {
      "url": "http://localhost:8080/mcp"
    },
...

For programmatic access:

Use the streamable HTTP client transport:

import { Client } from '@modelcontextprotocol/sdk/client/index.js';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const client = new Client({
  name: 'my-client',
  version: '1.0.0'
}, {
  capabilities: {}
});

const transport = new StreamableHTTPClientTransport(
  new URL('http://localhost:8080/mcp')
);

await client.connect(transport);

Note: When using HTTP mode, ensure the environment variables LIGHTDASH_API_KEY and LIGHTDASH_API_URL are set in the environment where the server is running, as they cannot be passed through MCP client configuration.

See examples/list_spaces_http.ts for a complete example of connecting to the HTTP server programmatically.

Development

Available Scripts

  • npm run dev - Start the server in development mode with hot reloading (stdio transport)
  • npm run dev:http - Start the server in development mode with HTTP transport on port 8080
  • npm run build - Build the project for production
  • npm run start - Start the production server
  • npm run lint - Run linting checks (ESLint and Prettier)
  • npm run fix - Automatically fix linting issues
  • npm run examples - Run the example scripts

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Run tests and linting: npm run lint
  4. Commit your changes
  5. Push to the branch
  6. Create a Pull Request

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Lightdash

How do I install Lightdash?

Run uvx lightdash-mcp-server, then add the server to your MCP client's configuration.

Is Lightdash safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Lightdash still maintained?

The last commit was a year ago and 3 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.