Microsoft Clarity (npx) MCP Server
CommunityContributed 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
{
"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"
}
}
]
}
}Categories
Tags
Supported AI Clients
The Microsoft Clarity (npx) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
Grafana (Docker)
Search dashboards, query Prometheus and Loki datasources, manage alerts, and investigate incidents on any Grafana instance (self-hosted or Grafana Cloud) via Docker.
Sentry (Local)
Query and manage Sentry issues, errors, performance data, and project settings locally via npx. Supports AI-powered search with your own LLM API key.
Sentry (Remote)
Query and manage Sentry issues, errors, performance data, and project settings through Sentry's hosted remote MCP server. No local setup required.
Sentry (Self-Hosted)
Query and manage issues, errors, and performance data on your self-hosted Sentry instance. Runs locally via npx with a custom Sentry host.
Axiom (npx)
Query and manage Axiom datasets for log analysis and observability. Execute APL queries, list datasets, and ingest events.
Better Stack
Monitor uptime, manage incidents and on-call schedules, query logs and metrics, and analyze errors through Better Stack's hosted remote MCP server. Authenticates via OAuth in your browser, no local setup or token required.
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.