Lightdash MCP Server
servidor lightdash-mcp
Un servidor MCP (Protocolo de contexto de modelo) que accede a Lightdash .
Este servidor proporciona acceso compatible con MCP a la API de Lightdash, lo que permite que los asistentes de IA interactúen con sus datos de Lightdash a través de una interfaz estandarizada.
Características
Herramientas disponibles:
list_projects- Lista todos los proyectos en la organización Lightdashget_project- Obtener detalles de un proyecto específicolist_spaces- Lista todos los espacios en un proyectolist_charts- Lista todos los gráficos de un proyectolist_dashboards- Lista todos los paneles de un proyectoget_custom_metrics- Obtener métricas personalizadas para un proyectoget_catalog- Obtener el catálogo de un proyectoget_metrics_catalog- Obtener el catálogo de métricas de un proyectoget_charts_as_code- Obtener gráficos como código para un proyectoget_dashboards_as_code- Obtener paneles como código para un proyecto
Related MCP server: Metabase MCP Plus
Inicio rápido
Instalación
Instalación mediante herrería
Para instalar Lightdash MCP Server para Claude Desktop automáticamente a través de Smithery :
npx -y @smithery/cli install lightdash-mcp-server --client claudeInstalación manual
npm install lightdash-mcp-serverConfiguración
Cree un archivo .env con sus credenciales de API de Lightdash:
LIGHTDASH_API_KEY=your_api_key
LIGHTDASH_API_URL=https://app.lightdash.cloud # or your custom Lightdash instance URLUso
Inicie el servidor MCP.
Directamente:
npx lightdash-mcp-serverO bien, ejecute el módulo instalado con el nodo.
Edite su json de configuración de MCP:
...
"lightdash": {
"command": "npx",
"args": [
"-y",
"lightdash-mcp-server"
],
"env": {
"LIGHTDASH_API_KEY": "<your PAT>",
"LIGHTDASH_API_URL": "https://<your base url>"
}
},
...Desarrollo
Scripts disponibles
npm run dev- Inicia el servidor en modo de desarrollo con recarga en calientenpm run build: compila el proyecto para producciónnpm run start: inicia el servidor de producciónnpm run lint: ejecuta comprobaciones de linting (ESLint y Prettier)npm run fix: corrige automáticamente los problemas de pelusanpm run examples: ejecutar los scripts de ejemplo
Contribuyendo
Bifurcar el repositorio
Crea tu rama de funciones
Ejecutar pruebas y linting:
npm run lintConfirme sus cambios
Empujar hacia la rama
Crear una solicitud de extracción
Available Tools
13 toolslightdash_get_analyticsC
Get analytics for a specific table in the data catalog
Inputs: projectUuid (required), table (required).
lightdash_get_catalogC
Get catalog for a project
Inputs: projectUuid (required).
lightdash_get_charts_as_codeC
Get charts as code for a project
Inputs: projectUuid (required).
lightdash_get_custom_metricsC
Get custom metrics for a project
Inputs: projectUuid (required).
lightdash_get_dashboards_as_codeC
Get dashboards as code for a project
Inputs: projectUuid (required).
lightdash_get_metadataB
Get metadata for a specific table in the data catalog
Inputs: projectUuid (required), table (required).
lightdash_get_metrics_catalogB
Get metrics catalog for a project
Inputs: projectUuid (required).
lightdash_get_projectA
Get details of a specific project
Inputs: projectUuid (required).
lightdash_get_user_attributesB
Get organization user attributes
Inputs: no named parameters.
lightdash_list_chartsA
List all charts in a project
Inputs: projectUuid (required).
lightdash_list_dashboardsA
List all dashboards in a project
Inputs: projectUuid (required).
lightdash_list_projectsA
List all projects in the Lightdash organization
Inputs: no named parameters.
lightdash_list_spacesC
List all spaces in a project
Inputs: projectUuid (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 13 tools
Most tools target distinct resources (analytics, catalog, charts, dashboards, projects), but there is potential confusion between 'get_catalog' and 'get_metrics_catalog', and between 'get_analytics' and 'get_metadata' for a specific table. Descriptions help clarify, but some overlap exists.
All tools follow a consistent 'lightdash_verb_noun' pattern, using 'get_' or 'list_' prefixes. The 'as_code' suffix in two tools is a minor deviation but still fits the pattern well.
With 13 tools covering catalog, charts, dashboards, metrics, projects, spaces, and user attributes, the number is well-scoped for a read-only analytics server. It is neither too few nor too many.
The server covers many read operations (get, list) but lacks any write tools (create, update, delete), which is a notable gap for full lifecycle management in Lightdash. Agents may need write capabilities for many workflows.
Maintenance
Related MCP Connectors
MCP server that lets AI assistants use all OneSchema features exposed via the public API.
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- FlicenseBqualityDmaintenanceAn MCP server that provides AI assistants with full access to Apache Superset instances, enabling interaction with dashboards, charts, datasets, databases, and SQL execution capabilities.34-
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to query databases, execute SQL, and manage Metabase resources like dashboards, cards, and collections through natural language.22MIT
- FlicenseNot gradedqualityCmaintenanceModel Context Protocol (MCP) server that gives AI assistants a safe, correct data-analyst capability over business metrics - without raw SQL improvisation.-
- AlicenseAqualityDmaintenanceA Model Context Protocol server for interacting with Lightdash, enabling AI assistants to discover data, create charts, and manage dashboards programmatically.2817 PyPI24MIT