The Clarity MCP server provides access to Microsoft Clarity's session replay and heatmap data. It exposes APIs for querying session data, filtering by date ranges, and analyzing user interactions. It connects directly to Clarity's data collection system. Developers use it to integrate Clarity insights into their applications, automate data analysis, and build custom dashboards.
The Clarity MCP server provides access to Microsoft Clarity's session replay and heatmap data. It exposes APIs for querying session data, filtering by date ranges, and analyzing user interactions. It connects directly to Clarity's data collection system. Developers use it to integrate Clarity insights into their applications, automate data analysis, and build custom dashboards.
npx -y @microsoft/clarity-mcp-serverAdd this configuration to your claude_desktop_config.json:
{
"mcpServers": {
"microsoft-clarity-mcp-server-github": {
"command": "npx",
"args": [
"-y",
"npx -y @microsoft/clarity-mcp-server"
]
}
}
}Restart Claude Desktop, then ask:
"What tools do you have available from clarity?"
API Key Required
This server requires an API key from clarity. Add it to your environment or config.
| Variable | Required | Description |
|---|---|---|
| CLARITY_API_KEY | Yes | Your clarity API key |
"What resources are available in clarity?"
Claude will query available resources and return a list of what you can access.
"Show me details about [specific item] in clarity"
Claude will fetch and display detailed information about the requested item.
"Create a new [item] in clarity with [details]"
Claude will use the appropriate tool to create the resource and confirm success.
We build custom MCP integrations for B2B companies. From simple connections to complex multi-tool setups.