LightdashSAFE
A MCP(Model Context Protocol) server that accesses to Lightdash
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://smithery.ai/server/@syucream/lightdash-mcp-server) [](https://badge.fury.io/js/lightdash-mcp-server)
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 organizationget_project- Get details of a specific projectlist_spaces- List all spaces in a projectlist_charts- List all charts in a projectlist_dashboards- List all dashboards in a projectget_custom_metrics- Get custom metrics for a projectget_catalog- Get catalog for a projectget_metrics_catalog- Get metrics catalog for a projectget_charts_as_code- Get charts as code for a projectget_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 PATLIGHTDASH_API_URL: The API base URL
Usage
The lightdash-mcp-server supports two transport modes: Stdio (default) and HTTP.
Stdio Transport (Default)
- Start the MCP server:
npx lightdash-mcp-server
11bed9e126bdOBSERVED · 2026-10-09Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add lightdash-mcp-server --env EXAMPLES_CLIENT_LIGHTDASH_API_KEY=${EXAMPLES_CLIENT_LIGHTDASH_API_KEY} --env LIGHTDASH_API_KEY=${LIGHTDASH_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"lightdash-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"EXAMPLES_CLIENT_LIGHTDASH_API_KEY": "${EXAMPLES_CLIENT_LIGHTDASH_API_KEY}",
"LIGHTDASH_API_KEY": "${LIGHTDASH_API_KEY}"
}
}
}
}Exposed tools (13)
13 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
lightdash_get_analytics | read | Get analytics for a specific table in the data catalog |
lightdash_get_catalog | read | Get catalog for a project |
lightdash_get_charts_as_code | read | Get charts as code for a project |
lightdash_get_custom_metrics | read | Get custom metrics for a project |
lightdash_get_dashboards_as_code | read | Get dashboards as code for a project |
lightdash_get_metadata | read | Get metadata for a specific table in the data catalog |
lightdash_get_metrics_catalog | read | Get metrics catalog for a project |
lightdash_get_project | read | Get details of a specific project |
lightdash_get_user_attributes | read | Get organization user attributes |
lightdash_list_charts | read | List all charts in a project |
lightdash_list_dashboards | read | List all dashboards in a project |
lightdash_list_projects | read | List all projects in the Lightdash organization |
lightdash_list_spaces | read | List all spaces in a project |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (3)
.env.sample
.node-version
@modelcontextprotocol/sdk, @types/express, @types/node, dotenv, express, lightdash-client-typescript-fetch, typescript, typescript-eslint
Gates applied: no_behavioural_pass.
11bed9e126bdfull audit observations/trust-audit/mcp-server/syucream__lightdash.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-09 | 11bed9e126bd | SAFE | B | 89 | first audit |
Questions
What is the Lightdash MCP server?
A MCP(Model Context Protocol) server that accesses to Lightdash
What tools does Lightdash expose?
13 in total: 13 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Lightdash safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Lightdash need?
It reads EXAMPLES_CLIENT_LIGHTDASH_API_KEY and LIGHTDASH_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Lightdash run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as lightdash-mcp-server at 0.0.12.
How current is this page?
The grade is for one exact copy of the source (11bed9e126bd), read on 2026-10-09. The repository is watched and re-audited when it changes.