> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lightdash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Lightdash Docs MCP

> Connect your AI coding tool to the public Lightdash documentation endpoint

Connect your AI coding tool to the public Lightdash documentation endpoint to look up concepts, configuration, and troubleshooting guidance while you work. To query your project data instead, connect to the authenticated [Lightdash MCP server](https://docs.lightdash.com/agents/lightdash-mcp.md).

## What you can use it for

The Docs MCP helps AI agents:

* Understand Lightdash concepts, configuration, and best practices
* Generate accurate YAML configurations for metrics and dimensions
* Troubleshoot issues using official documentation
* Stay up-to-date with the latest Lightdash features

> [!TIP]
>
> For the best experience building and maintaining your semantic layer, we recommend using [agent skills](https://docs.lightdash.com/workflow/install-agent-skills.md) instead. Skills provide more targeted context for AI coding agents and are optimized for code generation tasks.

## Setup

The Docs MCP endpoint is available at `https://docs.lightdash.com/mcp`. Add it to your AI coding tool:

> [tab] Cursor
>
> Add to your `.cursor/mcp.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "lightdash-docs": {
>       "url": "https://docs.lightdash.com/mcp"
>     }
>   }
> }
> ```

> [tab] Claude Code
>
> Run the following command:
>
> ```bash theme={null}
> claude mcp add --transport http lightdash-docs https://docs.lightdash.com/mcp
> ```

> [tab] Windsurf
>
> Add to your `~/.codeium/windsurf/mcp_config.json`:
>
> ```json theme={null}
> {
>   "mcpServers": {
>     "lightdash-docs": {
>       "serverUrl": "https://docs.lightdash.com/mcp"
>     }
>   }
> }
> ```

## Availability

The Docs MCP is available to:

* Open source users
* Cloud Pro
* Cloud Enterprise

No authentication required.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.