$ timeahead.in
/ servers/npm/@microsoft/clarity-mcp-server
npm

@microsoft/clarity-mcp-server

MCP Server for Microsoft Clarity based on data export API

87 stars4k/wkupdated 109d agogithub ↗
87good
▣ Overview

What it does

Microsoft Clarity is a behavioral analytics and session recording tool from Microsoft. This MCP server integrates Clarity data into Claude by offering natural-language access to analytics dashboards, session recordings, and product documentation. Ask Claude to "show me recent sessions from mobile Chrome" or "what were our top browsers last week" and retrieve filtered data without navigating Clarity's UI or writing API calls.

Who it's for

Product managers, UX researchers, and analytics engineers who need Clarity insights during analysis and planning workflows. Anyone embedding Claude into development or investigative environments benefits from quick access to session data and analytics without leaving their IDE or Claude client.

Common use cases

  • Query analytics dashboards with natural language (browser trends, geographic traffic, device types)
  • Retrieve session recordings filtered by URL, browser, OS, country, or user behavior (clicks, errors)
  • Search Microsoft Clarity documentation for setup guides and troubleshooting steps
  • Analyze session data for specific user segments or geographic regions
  • Fetch real-time analytics metrics across your Clarity projects

Setup pitfalls

  • Requires a Microsoft Clarity API token (distinct from your login credentials); retrieve it from your Clarity account and pass via --clarity_api_token flag or tool parameter
  • Last upstream commit ~4 months ago; verify the GitHub repo for recent fixes if you encounter unexpected behavior
  • Operates only on remote Clarity data and public documentation; no local filesystem or session file access
  • Medium risk rating; review usage if session recordings contain PII or sensitive user data
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
63
12.6
Quality
10%
90
9.0
Trust
10%
50
5.0
Total
86.6
⚿ Capabilities & Risk Explainer
networksecrets
◆ Risk level: medium
network + secrets — requires access to credentials or environment secrets.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "microsoftclarity": {
      "command": "npx",
      "args": [
        "-y",
        "@microsoft/clarity-mcp-server"
      ]
    }
  }
}
📈 Score historylast 35 snapshots
4/30/20266/13/2026 · 35 snapshots
⚙ Maintenance health
41/ 100 · is this project alive?
contributors (1y)5
top contributor share52%
releases (1y)0
ci✓ passing
⛁ Raw data
weekly downloads4k
github stars87
forks32
open issues11
license✓ present
readme length6514 chars
last publish0d ago
last commit109d ago
last updated1d ago
install verified✓ pass · 26d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points
@microsoft/clarity-mcp-server — MCP Score: 87/100 | MCPScore | Timeahead