{"type":"mcp_server","name":"lightdash-mcp-server","description":"This repository provides a Model Context Protocol (MCP) server for accessing Lightdash data. It enables AI assistants to interact with Lightdash through a standardized interface, offering tools to manage projects,","category":"AI","language":"JavaScript","stars":25,"forks":2,"owner":"syucream","github_url":"https://github.com/syucream/lightdash-mcp-server","homepage":"https://www.npmjs.com/package/lightdash-mcp-server","setup":"## Setup\n\n### Installation\n\n#### Installing via Smithery\n\nTo install Lightdash MCP Server for Claude Desktop automatically via [Smithery](https://smithery.ai/server/@syucream/lightdash-mcp-server):\n\n```bash\nnpx -y @smithery/cli install lightdash-mcp-server --client claude\n```\n\n#### Manual Installation\n```bash\nnpm install lightdash-mcp-server\n```\n\n### Configuration\n\n- `LIGHTDASH_API_KEY`: Your Lightdash PAT\n- `LIGHTDASH_API_URL`: The API base URL\n\n### Usage\n\n1. Start the MCP server.\n\nDirectly:\n```bash\nnpx lightdash-mcp-server\n```\nOr, run the installed module with node.\n\n2. Edit your MCP configuration json:\n```json\n...\n    \"lightdash\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"lightdash-mcp-server\"\n      ],\n      \"env\": {\n        \"LIGHTDASH_API_KEY\": \"<your PAT>\",\n        \"LIGHTDASH_API_URL\": \"https://<your base url>\"\n      }\n    },\n...\n```","tools":"## Available Tools\n\n1. `list_projects` (List all projects in the Lightdash organization)\n2. `get_project` (Get details of a specific project)\n3. `list_spaces` (List all spaces in a project)\n4. `list_charts` (List all charts in a project)\n5. `list_dashboards` (List all dashboards in a project)\n6. `get_custom_metrics` (Get custom metrics for a project)\n7. `get_catalog` (Get catalog for a project)\n8. `get_metrics_catalog` (Get metrics catalog for a project)\n9. `get_charts_as_code` (Get charts as code for a project)\n10. `get_dashboards_as_code` (Get dashboards as code for a project)","faq":null,"created_at":"2025-01-01T09:58:01+00:00","updated_at":"2025-03-26T16:47:10+00:00","source_url":"https://model-context-protocol.com/servers/lightdash-model-context-protocol-mcp-server","related_articles":[]}