Microsoft Clarity

Microsoft Clarity

Official MCP Server to get your behavioral analytics data and insights from Clarity

50
Stars
16
Forks
0
Releases

Overview

This MCP server implements the Model Context Protocol (MCP) for Microsoft Clarity, enabling MCP clients such as Claude for Desktop or a VS Code extension to access Clarity data in your workflows. It lets you retrieve session recordings, project analytics, and Clarity documentation from within your MCP-enabled clients, using natural language queries. You can ask in plain English for analytics metrics, user behavior insights, traffic statistics, and performance data, and filter results by browser, device, country, and other dimensions. The server also supports on-demand, real-time-like access to the latest data and insights, so you can stay up-to-date without leaving your MCP client. Setup requires Node.js v16+, a Clarity API token, and an MCP-compatible client. You can install via npm or run with npx, or manually build from source. It includes tools for querying analytics dashboards, listing session recordings, and querying documentation resources, and integrates with both Claude Desktop and Visual Studio Code extensions.

Details

Owner
microsoft
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Analytics Data Access

Query your Microsoft Clarity analytics data including traffic metrics, user behavior insights, and performance statistics

Session Recording Retrieval

Access and analyze session recordings to understand user interactions and identify optimization opportunities

Natural Language Querying

Ask questions in plain English to get insights from your data - no need to learn complex query syntax or API endpoints

Flexible Data Filtering

Filter results by various dimensions such as browser, device, country, and many more

Real-Time Data Access

Fetch the latest analytics data and insights from your Clarity projects on-demand

Documentation Integration

Get quick answers and guidance from Microsoft Clarity documentation directly within your workflow

Seamless MCP Integration

Works natively with Claude for Desktop, Visual Studio Code, and other Model Context Protocol (MCP) compatible clients

Tags

Microsoft ClarityMCPAnalyticsSession RecordingsDocumentationNatural Language QueryReal-Time DataData Export APIClaude for DesktopVS Code ExtensionAPI TokenToken-based Authentication