Lightdash MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LIGHTDASH_API_KEYYesYour Lightdash API key
LIGHTDASH_API_URLNoThe URL of your Lightdash API instancehttps://app.lightdash.cloud/api/v1

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
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

get_metadata

Get metadata for a specific table in the data catalog

get_analytics

Get analytics for a specific table in the data catalog

get_user_attributes

Get organization user attributes