Microsoft Clarity MCP for Cursor
io.github.surendranb/microsoft-clarity-mcp
Microsoft Clarity MCP: behavioral UX analytics, rage clicks, dead clicks, scroll, and JS errors.
client:Cursor
transport:stdio
runtime:pypi
Install Microsoft Clarity MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"microsoft-clarity-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"microsoft-clarity-mcp"
],
"env": {
"CLARITY_API_TOKEN": "<CLARITY_API_TOKEN>",
"CLARITY_PROJECT_ID": "<CLARITY_PROJECT_ID>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs