This is a Model Context Protocol (MCP) server for the Microsoft Clarity. It allows you to access your session recordings, project analytics, and documentation from Clarity using Claude for Desktop or other MCP-compatible clients.
- 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
- Node.js v16 or higher
- A Microsoft Clarity account and API token
- Any MCP-compatible client (Claude for Desktop, etc.)
You can install and run this package directly using npm:
# Install globally
npm install -g @microsoft/clarity-mcp-server
# Run the server
clarity-mcp-server