# Microsoft Clarity MCP (pypi · microsoft-clarity-mcp)

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

- Trust score: 67/100 (medium)
- Change this week: +15
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-11-05

## Components

- pypi · `microsoft-clarity-mcp`: 67/100 (this document), [markdown](https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp.md), [page](https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp)

## Channel facts

- Registry: `pypi`
- Package: `microsoft-clarity-mcp`
- Version: `0.1.3`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-11-05.

- **Supply Chain Security**: 100/100
  - No malware found by supply-chain analysis.
  - No known CVEs affecting this package version or its production dependencies.
  - Runs setuptools.build_meta at install time, a recognised build step with no custom scripting around it.
  - 1 of 32 dependencies flagged as unhealthy.
- **Provenance & Transparency**: 45/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - Clear OSI-approved license (MIT).
  - Actively maintained (last published 7 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 68/100
  - AI-judged instruction clarity (good).
  - Tool/resource definitions use about 560 tokens (~80/item across 7 items; 7 tools + 0 resources), lean.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 0/100
  - Stability not yet verified: not enough scan history yet (needs a 30-day window).
- **Tool Coverage**: 71/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 0% of tool parameters carry a description.
  - Structured output schemas are declared (100% of tools); any adoption earns full credit.
- **Tool Safety**: 100/100
  - No prompt-injection markers were found in the server instructions, tool names or descriptions we captured.
  - We read all 7 captured tool definition(s), and no name or description among them implies an irreversible operation.
  - An AI judge read all 7 captured unit(s) of tool text and found none that tries to manipulate the model reading it.
- **Capabilities**: 100/100
  - Implements a current MCP spec version (2026-07-28).

**Unverified: 1 category.** A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.

## Install

### How do I install the Microsoft Clarity MCP server?

Microsoft Clarity MCP runs locally as a PyPI package, launched with uvx microsoft-clarity-mcp. Ready-made configuration for Claude, Cursor, VS Code, Codex and 5 more is on this page, copied from each client's own documentation.

### Claude

```bash
claude mcp add surendranb-microsoft-clarity-mcp -- uvx microsoft-clarity-mcp
```

### Cursor

```json
{
  "mcpServers": {
    "surendranb-microsoft-clarity-mcp": {
      "command": "uvx",
      "args": [
        "microsoft-clarity-mcp"
      ]
    }
  }
}
```

### VS Code

```json
{
  "servers": {
    "surendranb-microsoft-clarity-mcp": {
      "command": "uvx",
      "args": [
        "microsoft-clarity-mcp"
      ]
    }
  }
}
```

### Codex

```bash
codex mcp add surendranb-microsoft-clarity-mcp -- uvx microsoft-clarity-mcp
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "surendranb-microsoft-clarity-mcp": {
      "type": "local",
      "command": [
        "uvx",
        "microsoft-clarity-mcp"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add surendranb-microsoft-clarity-mcp --command uvx --arg microsoft-clarity-mcp
```

### Hermes

```yaml
mcp_servers:
  surendranb-microsoft-clarity-mcp:
    command: "uvx"
    args: ["microsoft-clarity-mcp"]
```

### Netclaw

```json
{
  "McpServers": {
    "surendranb-microsoft-clarity-mcp": {
      "Transport": "stdio",
      "Command": "uvx",
      "Arguments": [
        "microsoft-clarity-mcp"
      ]
    }
  }
}
```

### Vellum

```bash
assistant mcp add surendranb-microsoft-clarity-mcp -t stdio -c uvx -a microsoft-clarity-mcp
```

### Other

```json
{
  "mcpServers": {
    "surendranb-microsoft-clarity-mcp": {
      "command": "uvx",
      "args": [
        "microsoft-clarity-mcp"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-11-05 (score 67, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-11-01 (score 52, −15)

- [security regression] Malware scan: pass → unverified

### 2026-10-31 (score 67, +15)

- [security improvement] Malware scan: unverified → pass

### 2026-10-28 (score 52)

First indexed and scored.

## MCP tools (7)

### `get_ux_insights` (~150 tokens)

Retrieve high-level UX insights, frustration rates, and technical health for a Clarity project.

Args:
    project_id: Microsoft Clarity Project ID (e.g., 'yz5idaioq2').
    num_of_days: Lookback window in days (1, 2, or 3 days; defaults to 3).
    token: Optional Clarity API token. If omitted, uses CLARITY_API_TOKEN environment variable.

Returns:
    Structured JSON summary of session overview, rage clicks, dead clicks,
    quick backs, excessive scrolling, JS errors, and quota status.

Input parameters:

- `num_of_days` (integer)
- `project_id` (string, required)
- `token`

Output parameters:

- `result` (string)

### `get_frustration_breakdown` (~149 tokens)

Break down user frustration metrics (rage clicks, dead clicks, quick backs) across a specific dimension.

Args:
    project_id: Microsoft Clarity Project ID.
    dimension: Breakdown dimension: 'URL', 'Device', 'Browser', 'OS', or 'Country/Region'. Defaults to 'URL'.
    num_of_days: Lookback window in days (1, 2, or 3; defaults to 3).
    token: Optional Clarity API token.

Returns:
    Structured JSON ranking dimension values by user frustration severity.

Input parameters:

- `dimension` (string)
- `num_of_days` (integer)
- `project_id` (string, required)
- `token`

Output parameters:

- `result` (string)

### `get_js_errors` (~110 tokens)

Analyze JavaScript errors and unhandled exceptions across browsers and operating systems.

Args:
    project_id: Microsoft Clarity Project ID.
    num_of_days: Lookback window in days (1, 2, or 3; defaults to 3).
    token: Optional Clarity API token.

Returns:
    Structured JSON breakdown of JavaScript script errors and error clicks by Browser and OS.

Input parameters:

- `num_of_days` (integer)
- `project_id` (string, required)
- `token`

Output parameters:

- `result` (string)

### `doctor` (~38 tokens)

Validate Microsoft Clarity credentials, project configurations, on-disk cache, and remaining daily request quota.

Input parameters:

- `project_id`
- `token`

Output parameters:

- `result` (string)

### `skills_list` (~23 tokens)

List available dynamic skill playbooks bundled with microsoft-clarity-mcp.

Output parameters:

- `result` (string)

### `skill_read` (~63 tokens)

Load a dynamic skill playbook by name from GitHub (with local fallback).

Args:
    name: Skill name (e.g., 'ux-triage', 'setup-clarity-token', 'frustration-audit').

Input parameters:

- `name` (string, required)

Output parameters:

- `result` (string)

### `check_for_updates` (~27 tokens)

Check PyPI for newer versions of microsoft-clarity-mcp and get upgrade instructions.

Output parameters:

- `result` (string)

## Diagnostics

Captured diagnostic sections: Provenance, Install scripts, Dependencies. The full working is on the page: https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp#diagnostics

## Score history

- 2026-11-05: 67
- 2026-11-04: 52
- 2026-11-03: 52
- 2026-11-02: 52
- 2026-11-01: 52
- 2026-10-31: 67
- 2026-10-30: 52
- 2026-10-29: 52
- 2026-10-28: 52

## Common questions

### What is the Microsoft Clarity MCP server?

Microsoft Clarity MCP is listed in the public MCP registry as io.github.surendranb/microsoft-clarity-mcp. Microsoft Clarity MCP: behavioral UX analytics, rage clicks, dead clicks, scroll, and JS errors. This page covers its PyPI package (microsoft-clarity-mcp).

### Is the Microsoft Clarity MCP server safe to use?

Microsoft Clarity MCP scores 67 out of 100 on VerifyMCP. We found no known CVEs affecting it as of 5 November 2026. That is a record of what we were able to check automatically, not an endorsement. The category breakdown on this page shows every signal behind the number, including the ones we could not confirm.

### What tools does the Microsoft Clarity MCP server expose?

Microsoft Clarity MCP exposes 7 tools: get_ux_insights, get_frustration_breakdown, get_js_errors, doctor, skills_list, and 2 more. Their descriptions and schemas cost roughly 560 tokens of context every time the server is loaded.

### Is the Microsoft Clarity MCP server still maintained?

Microsoft Clarity MCP is still listed as active in the MCP registry. We last reached this channel on 5 November 2026. Those dates come from our own scans of the registry and the channel itself, not from anything the publisher announced.

### What licence is the Microsoft Clarity MCP server under?

Microsoft Clarity MCP declares the MIT licence, which is OSI-approved. That covers the source only, and says nothing about the cost of any service it calls.

### What did VerifyMCP test on the Microsoft Clarity MCP server?

VerifyMCP ran 15 checks on Microsoft Clarity MCP, covering Malware scan, Known CVEs, Install scripts, Dependency health and 11 more. One item could not be completed, a gap on our side rather than a finding about Microsoft Clarity MCP: Stability. One category scores 0 for that reason, because we only credit what we can confirm. Endpoint Security and Transport & Reachability do not apply to a PyPI package, so they were not tested. The score does not measure everything, and the scoring documentation lists what it leaves out.

## Links

- PyPI project: https://pypi.org/project/microsoft-clarity-mcp/
- Socket report: https://socket.dev/pypi/package/microsoft-clarity-mcp
- Repository: https://github.com/surendranb/microsoft-clarity-mcp
- Changelog RSS feed: https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp.xml
- Changelog JSON feed: https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp/changelog.json
- Trust report (JSON): https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp.json
- HTML version of this page: https://verifymcp.io/servers/surendranb-microsoft-clarity-mcp/microsoft-clarity-mcp
