McpMux
Back to Registry

Microsoft Clarity (npx) MCP Server

Community

Contributed by Leo Araya

Query Microsoft Clarity analytics through the data export API. Tools cover dashboard metrics, session recording lists filtered by device, country or errors, and Clarity documentation search.

About the Microsoft Clarity (npx) MCP Server

The Microsoft Clarity (npx) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Query Microsoft Clarity analytics through the data export API. Tools cover dashboard metrics, session recording lists filtered by device, country or errors, and Clarity documentation search. This is a community-contributed MCP server by Leo Araya.

Install the Microsoft Clarity (npx) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires an API key — McpMux securely stores your credentials with AES-256-GCM encryption.

Transport Configuration

Transport Configuration
{
  "type": "stdio",
  "command": "npx",
  "args": [
    "-y",
    "@microsoft/clarity-mcp-server"
  ],
  "env": {
    "CLARITY_API_TOKEN": "${input:CLARITY_API_TOKEN}"
  },
  "metadata": {
    "inputs": [
      {
        "id": "CLARITY_API_TOKEN",
        "label": "Clarity API Token",
        "description": "API token from your Clarity project under Settings -> Data Export. Required for every tool.",
        "type": "text",
        "required": true,
        "secret": true,
        "obtain": {
          "url": "https://learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-data-export-api",
          "instructions": "1. Open your project at https://clarity.microsoft.com\n2. Go to Settings -> Data Export\n3. Select Generate new API token\n4. Give the token a descriptive name\n5. Copy the generated token",
          "button_label": "How to get a token"
        }
      }
    ]
  }
}
Details
TransportLocal (stdio)
Hostinglocal
AuthAPI Key
Capabilities
Tools

Categories

Tags

claritymicrosoftanalyticsobservabilityheatmapssession-recordingsinsights

Supported AI Clients

The Microsoft Clarity (npx) MCP server works with all MCP-compatible AI clients through McpMux:

CursorClaude DesktopClaude CodeVS CodeChatGPTWindsurfJetBrainsZedClineGemini CLIAmazon Q

Related MCP Servers

Install Microsoft Clarity (npx) with McpMux

One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.