List all projects in the Lightdash organization
Get details of a specific project
List all spaces in a project
List all charts in a project
List all dashboards in a project
Get custom metrics for a project
Get catalog for a project
Get metrics catalog for a project
Get charts as code for a project
Get dashboards as code for a project
Lightdash MCP Server provides AI assistants with direct access to your Lightdash analytics platform. This integration allows AI to explore projects, spaces, charts, dashboards, and metrics in your Lightdash instance, enabling data-driven conversations and insights without leaving your AI assistant.
Lightdash MCP Server creates a bridge between AI assistants and your Lightdash analytics platform. This integration enables AI to access your business data and metrics directly through the Lightdash API, making it possible to have data-informed conversations without switching contexts.
The easiest way to install Lightdash MCP Server is through Smithery:
npx -y @smithery/cli install lightdash-mcp-server --client claude
npm install lightdash-mcp-server
npx lightdash-mcp-server
To connect to your Lightdash instance, you'll need to configure the following environment variables:
LIGHTDASH_API_KEY
: Your Lightdash Personal Access Token (PAT)LIGHTDASH_API_URL
: Your Lightdash API base URL (e.g., "https://app.lightdash.cloud/api/v1")Add the following configuration to your AI assistant's MCP configuration:
"lightdash": {
"command": "npx",
"args": [
"-y",
"lightdash-mcp-server"
],
"env": {
"LIGHTDASH_API_KEY": "your-lightdash-pat",
"LIGHTDASH_API_URL": "https://your-lightdash-instance/api/v1"
}
}
Once configured, your AI assistant can access your Lightdash data through various tools. For example:
The AI can now answer questions about your data, help analyze metrics, and provide insights based on your Lightdash analytics.
If you want to contribute or modify the server:
npm install
npm run dev
npm run build
For more information, visit the GitHub repository.