What it does
Microsoft Clarity is a behavioral analytics and session recording tool from Microsoft. This MCP server integrates Clarity data into Claude by offering natural-language access to analytics dashboards, session recordings, and product documentation. Ask Claude to "show me recent sessions from mobile Chrome" or "what were our top browsers last week" and retrieve filtered data without navigating Clarity's UI or writing API calls.
Who it's for
Product managers, UX researchers, and analytics engineers who need Clarity insights during analysis and planning workflows. Anyone embedding Claude into development or investigative environments benefits from quick access to session data and analytics without leaving their IDE or Claude client.
Common use cases
- Query analytics dashboards with natural language (browser trends, geographic traffic, device types)
- Retrieve session recordings filtered by URL, browser, OS, country, or user behavior (clicks, errors)
- Search Microsoft Clarity documentation for setup guides and troubleshooting steps
- Analyze session data for specific user segments or geographic regions
- Fetch real-time analytics metrics across your Clarity projects
Setup pitfalls
- Requires a Microsoft Clarity API token (distinct from your login credentials); retrieve it from your Clarity account and pass via
--clarity_api_tokenflag or tool parameter - Last upstream commit ~4 months ago; verify the GitHub repo for recent fixes if you encounter unexpected behavior
- Operates only on remote Clarity data and public documentation; no local filesystem or session file access
- Medium risk rating; review usage if session recordings contain PII or sensitive user data