What is MCP server for Microsoft Clarity data export API.?
This is a Model Context Protocol (MCP) server for the Microsoft Clarity data export API. It allows you to fetch analytics data from Clarity using Claude for Desktop or other MCP-compatible clients. Features include querying analytics data, filtering by dimensions, and retrieving various metrics.
Documentation
Microsoft Clarity Data Export MCP Server
This is a Model Context Protocol (MCP) server for the Microsoft Clarity data export API. It allows you to fetch analytics data from Clarity using Claude for Desktop or other MCP-compatible clients.
Features
Query Microsoft Clarity analytics data through a simple interface
Filter by up to 3 dimensions (Browser, Device, Country/Region, OS, etc.)
Retrieve various metrics (Scroll Depth, Engagement Time, Traffic, etc.)
Seamlessly integrates with Claude for Desktop and other MCP clients
Setup and Installation# Prerequisites
Node.js v16 or higher
A Microsoft Clarity account and API token
Any MCP-compatible client (Claude for Desktop, etc.)
Installation## Option 1: Install via npm (recommended)
You can install and run this package directly using npm:
npm install -g @microsoft/clarity-mcp-server
# Run the server
clarity-mcp-server
Option 2: Run with npx without installing
You can run the server directly using npx without installing:
npx @microsoft/clarity-mcp-server
With either option, you can provide your Clarity API token using the --clarity_api_token parameter: