Skip to content
Claude Desktop

Microsoft Clarity MCP for Claude Desktop

io.github.surendranb/microsoft-clarity-mcp

Microsoft Clarity MCP: behavioral UX analytics, rage clicks, dead clicks, scroll, and JS errors.

client:Claude Desktop transport:stdio runtime:pypi

Install Microsoft Clarity MCP in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "microsoft-clarity-mcp": {
      "command": "uvx",
      "args": [
        "microsoft-clarity-mcp"
      ],
      "env": {
        "CLARITY_API_TOKEN": "<CLARITY_API_TOKEN>",
        "CLARITY_PROJECT_ID": "<CLARITY_PROJECT_ID>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

Microsoft Clarity MCP in other clients