How to set up the Microsoft Clarity MCP Server in Claude
- Install Microsoft Clarity through the Claude Desktop extension gallery or add the publisher’s token-free configuration and restart Claude Desktop.
- Ask Claude to sign in to Microsoft Clarity, complete the browser flow, and select the intended project.
- If the listing opens outside the app, use Claude Desktop’s extension browser to find and install the same extension.
{
"mcpServers": {
"microsoft-clarity": {
"command": "npx",
"args": [
"-y",
"--prefer-online",
"@microsoft/clarity-mcp-server@latest"
]
}
}
}What you can do
The server can read project analytics and provide session-recording links when your Clarity account allows them. Choose a project and time window first to keep its findings tied to the same dataset as the dashboard.
Try it on a project you can check
Ask for the number of mobile sessions on a test site’s pricing page during a fixed date range. Compare the period, page filter, and device category in the Clarity dashboard before interpreting the count.
Compatibility and setup checks
Microsoft documents a Claude Desktop setup on Windows and macOS. Its local npm launcher requires Node.js 16 or later and access to a Clarity project.
If the project is missing, verify your browser sign-in and that your Microsoft account has project access. The publisher is moving away from Data Export API token authentication for MCP.