Skip to content

Commit 037d0f6

Browse files
Update guides/ai-overview.mdx
Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com>
1 parent 82f48e2 commit 037d0f6

1 file changed

Lines changed: 154 additions & 0 deletions

File tree

guides/ai-overview.mdx

Lines changed: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,154 @@
1+
---
2+
title: "Using AI with Lightdash"
3+
sidebarTitle: "AI overview"
4+
description: "Lightdash offers multiple AI-powered capabilities to help you explore data, build your semantic layer, and integrate with external tools."
5+
---
6+
7+
Lightdash provides several ways to leverage AI across your analytics workflow. Each capability serves a different use case—from answering business questions to building your semantic layer to integrating with your own AI tools.
8+
9+
## AI capabilities at a glance
10+
11+
| Capability | Use case | Requirements |
12+
|------------|----------|--------------|
13+
| [AI agents](#ai-agents) | Answer questions and create charts using your semantic layer | Cloud Pro or Enterprise add-on |
14+
| [Lightdash Data MCP](#lightdash-data-mcp) | Query your semantic layer from external LLMs | Cloud Pro or Enterprise add-on |
15+
| [Lightdash Docs MCP](#lightdash-docs-mcp) | Give your LLM context about Lightdash features | Free for everyone |
16+
| [Agent skills](#agent-skills) | Build and maintain your semantic layer with AI coding agents | Free for everyone |
17+
18+
## AI agents
19+
20+
<Info>
21+
Available as an add-on for Cloud Pro and Enterprise plans. [View pricing](https://www.lightdash.com/pricing)
22+
</Info>
23+
24+
AI agents let your team ask questions in natural language and get instant answers. They use your saved dashboards and the metrics defined in your semantic layer, so business users can find insights without writing code or learning complex tools.
25+
26+
**Best for:** Business users who want to explore data and create visualizations without technical knowledge.
27+
28+
**Key features:**
29+
- Natural language queries with automatic visualizations
30+
- Slack integration for team collaboration
31+
- Memory and learning from corrections
32+
- Fine-grained access control
33+
- Evaluations to validate agent accuracy
34+
35+
<Card title="AI agents documentation" icon="robot" href="/guides/ai-agents">
36+
Learn how to set up and use AI agents
37+
</Card>
38+
39+
## Lightdash Data MCP
40+
41+
<Info>
42+
Available for Cloud Pro and Enterprise plans. [View pricing](https://www.lightdash.com/pricing)
43+
</Info>
44+
45+
The [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) lets you connect external AI assistants like Claude or ChatGPT directly to your Lightdash data. Use your preferred LLM to explore data models, search for metrics, and get data-driven insights—all while respecting your existing access controls.
46+
47+
**Best for:** Teams who want to use their own AI tools (Claude, ChatGPT, custom agents) to query Lightdash data outside the Lightdash UI.
48+
49+
**Key features:**
50+
- Connect Claude, ChatGPT, or custom agents to your Lightdash instance
51+
- Browse and query your data models
52+
- OAuth authentication with existing permissions
53+
- Read-only access for security
54+
55+
<Card title="Lightdash Data MCP documentation" icon="plug" href="/references/integrations/lightdash-mcp">
56+
Set up MCP with your AI assistant
57+
</Card>
58+
59+
## Lightdash Docs MCP
60+
61+
<Check>
62+
Free for everyone—open source users and all cloud tiers.
63+
</Check>
64+
65+
The Docs MCP endpoint gives AI coding agents access to the complete Lightdash documentation. This helps your LLM understand Lightdash concepts, generate accurate YAML configurations, and troubleshoot issues using official documentation.
66+
67+
**Best for:** Developers who want their AI coding tools to have context about Lightdash when working on configurations.
68+
69+
**Key features:**
70+
- Full access to Lightdash documentation
71+
- No authentication required
72+
- Works with Cursor, Claude Code, Windsurf, and other MCP-compatible tools
73+
74+
### Setup
75+
76+
Add the Docs MCP endpoint to your AI coding tool:
77+
78+
<Tabs>
79+
<Tab title="Cursor">
80+
Add to your `.cursor/mcp.json`:
81+
82+
```json
83+
{
84+
"mcpServers": {
85+
"lightdash-docs": {
86+
"url": "https://docs.lightdash.com/mcp"
87+
}
88+
}
89+
}
90+
```
91+
</Tab>
92+
<Tab title="Claude Code">
93+
Run the following command:
94+
95+
```bash
96+
claude mcp add lightdash-docs https://docs.lightdash.com/mcp -t http
97+
```
98+
</Tab>
99+
<Tab title="Windsurf">
100+
Add to your `~/.codeium/windsurf/mcp_config.json`:
101+
102+
```json
103+
{
104+
"mcpServers": {
105+
"lightdash-docs": {
106+
"serverUrl": "https://docs.lightdash.com/mcp"
107+
}
108+
}
109+
}
110+
```
111+
</Tab>
112+
</Tabs>
113+
114+
## Agent skills
115+
116+
<Check>
117+
Free for everyone—open source users and all cloud tiers.
118+
</Check>
119+
120+
Agent skills teach AI coding agents like Cursor, Claude Code, and Codex about Lightdash's YAML configuration, metrics, dimensions, and best practices. Install skills to help your AI assistant generate correct configurations and follow Lightdash conventions.
121+
122+
**Best for:** Developers building and maintaining their semantic layer who want AI assistance with YAML configurations.
123+
124+
**Key features:**
125+
- Generate correct YAML for metrics and dimensions
126+
- Follow Lightdash naming conventions automatically
127+
- Understand table relationships and joins
128+
- Stay current with latest Lightdash features
129+
130+
### Quick start
131+
132+
```bash
133+
# Install for Claude (default)
134+
lightdash install-skills
135+
136+
# Install for Cursor
137+
lightdash install-skills --agent cursor
138+
139+
# Install for Codex
140+
lightdash install-skills --agent codex
141+
```
142+
143+
<Card title="Agent skills documentation" icon="wand-magic-sparkles" href="/guides/developer/agent-skills">
144+
Learn more about installing and using agent skills
145+
</Card>
146+
147+
## Choosing the right AI capability
148+
149+
| If you want to... | Use |
150+
|-------------------|-----|
151+
| Let business users ask questions in natural language | [AI agents](/guides/ai-agents) |
152+
| Query Lightdash data from Claude, ChatGPT, or custom agents | [Lightdash Data MCP](/references/integrations/lightdash-mcp) |
153+
| Help your coding AI understand Lightdash documentation | [Lightdash Docs MCP](#lightdash-docs-mcp) |
154+
| Get AI help writing YAML configurations | [Agent skills](/guides/developer/agent-skills) |

0 commit comments

Comments
 (0)