服务器
lightdash-mcp-server
@syucream
A MCP(Model Context Protocol) server that accesses to Lightdash
概览
What is lightdash-mcp-server?
An MCP (Model Context Protocol) server that provides standardized access to the Lightdash API, enabling AI assistants to interact with Lightdash projects, spaces, charts, dashboards, and metadata.
How to use lightdash-mcp-server?
Install via npm install lightdash-mcp-server or using Smithery (npx -y @smithery/cli install lightdash-mcp-server --client claude). Set the LIGHTDASH_API_KEY and LIGHTDASH_API_URL environment variables. Start the server with npx lightdash-mcp-server for Stdio transport or npx lightdash-mcp-server -port 8080 for HTTP transport. Configure your MCP client with the appropriate command/args or URL.
Key features of lightdash-mcp-server?
- List, get, and explore projects in your Lightdash organization
- List spaces, charts, and dashboards within a project
- Retrieve custom metrics, catalog, and metrics catalog
- Export charts and dashboards as code
- Supports both Stdio and Streamable HTTP transports
Use cases of lightdash-mcp-server?
- AI assistant querying project structures and available data assets
- Automating retrieval of dashboard definitions and chart metadata
- Inspecting metrics catalog for analytics and reporting
- Fetching charts and dashboards as code for version control or CI/CD
- Enabling conversational interfaces to explore Lightdash resources
FAQ from lightdash-mcp-server
What environment variables are required?
LIGHTDASH_API_KEY (your Lightdash personal access token) and `LIGHT