Documentation Index
Fetch the complete documentation index at: https://docs.uselemma.ai/llms.txt
Use this file to discover all available pages before exploring further.
Give your coding agent direct access to your traces, metrics, and monitors. Instead of switching between your editor and the Lemma dashboard, your agent can pull the exact runs and errors it needs to understand what’s going wrong and fix it in place.
Prerequisites
- A Lemma account with at least one project sending traces
- An MCP-compatible IDE or tool (Cursor, Claude Desktop, Claude Code, or any client that supports MCP)
Setup
Get your API key
Go to your project settings in the Lemma dashboard and copy your API key.Copy your key immediately after creating it — you won’t be able to see it again.
Add to your IDE
Cursor
Claude Desktop
Claude Code
Other
In Settings > MCP Servers, add:{
"mcpServers": {
"lemma": {
"url": "https://api.uselemma.ai/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:{
"mcpServers": {
"lemma": {
"type": "http",
"url": "https://api.uselemma.ai/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}
Restart Claude Desktop after saving. Run this in your terminal:claude mcp add --transport http lemma \
https://api.uselemma.ai/mcp \
--header "Authorization: Bearer <your-api-key>"
For any MCP client that supports Streamable HTTP transport:{
"mcpServers": {
"lemma": {
"url": "https://api.uselemma.ai/mcp",
"headers": {
"Authorization": "Bearer <your-api-key>"
}
}
}
}
Replace <your-api-key> with the key from your project settings.Try it out
Ask your agent:Use Lemma to show me my last 5 traces, including any errors.
See the API Reference for the full list of available tools and endpoints.