Skip to content
Windsurf

Microsoft Clarity MCP for Windsurf

io.github.surendranb/microsoft-clarity-mcp

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

client:Windsurf transport:stdio runtime:pypi

Install Microsoft Clarity MCP in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_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>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

Microsoft Clarity MCP in other clients