Back to Home
poddubnyoleg icon

lightdash_mcp

Verified Safe

by poddubnyoleg

Overview

This server enables LLMs to programmatically interact with Lightdash for data discovery, query execution, chart creation, and dashboard management.

Installation

Run Command
python server.py

Environment Variables

  • LIGHTDASH_TOKEN
  • LIGHTDASH_URL
  • CF_ACCESS_CLIENT_ID
  • CF_ACCESS_CLIENT_SECRET
  • LIGHTDASH_PROJECT_UUID

Security Notes

The server uses environment variables for sensitive credentials (Lightdash API Token), which is a good practice. It acts as a wrapper around the Lightdash API, forwarding JSON payloads that can contain SQL fragments (e.g., in `metric_query` for custom dimensions or additional metrics). While this means the Lightdash backend itself must be robust against SQL injection, the MCP server doesn't directly execute arbitrary SQL on its host or introduce new direct code execution vulnerabilities. Error handling for API calls is present. No direct use of `eval` or `exec` on user input was found.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassHigh
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-04

Tags

LightdashAnalyticsBIData ManagementLLM Tools