Microsoft Clarity
Type: server
Author: Microsoft
Language: TypeScript
Tags: analytics, heatmap
Description: Get your behavioral analytics powered by Microsoft Clarity for your websites and mobile apps
Tools:
[{"name":"get-clarity-data","description":"Fetch Microsoft Clarity analytics data","inputSchema":{"type":"object","properties":{"dimensions":{"description":"Up to 3 dimensions to filter by (Browser, Device, Country/Region, OS, Source, Medium, Campaign, Channel, URL)","items":{"type":"string"},"type":"array"},"metrics":{"description":"Metrics to retrieve (Scroll Depth, Engagement Time, Traffic, Popular Pages, Browser, Device, OS, Country/Region, etc.)","items":{"type":"string"},"type":"array"},"numOfDays":{"description":"Number of days to retrieve data for (1-3)","maximum":3,"minimum":1,"type":"number"},"token":{"description":"Your Clarity API token (optional if provided via environment or command line)","type":"string"}},"required":["numOfDays"]}}]
Server command: npx @microsoft/clarity-mcp-server --clarity_api_token=your-api-token-here
Server configuration:
{
  "mcpServers": {
    "@microsoft/clarity-mcp-server": {
      "command": "npx",
      "args": [
        "@microsoft/clarity-mcp-server",
        "--clarity_api_token=your-api-token-here"
      ]
    }
  }
}