Microsoft Clarity: a free heatmap and session recording tool with an official open-source MCP server from Microsoft
In short
Microsoft Clarity is a free user behavior analytics tool with session recordings, heatmaps, dashboards and Copilot-generated insights. Its Data Export API returns dashboard metrics such as traffic, scroll depth, engagement time, rage clicks and dead clicks, authenticated with a token that a project admin generates under Settings, Data Export. Microsoft publishes an official MIT-licensed MCP server (@microsoft/clarity-mcp-server) that runs locally with that token and can query analytics, retrieve session recordings and search Clarity documentation.
Good to know:The Data Export API allows 10 requests per project per day, covers only the last 1 to 3 days, accepts up to three dimensions per request and returns at most 1,000 rows with no pagination, and the MCP server is subject to the same token limits. No webhooks are documented. Only project admins can create tokens, and you need one token, and so one MCP entry, per project. The tracking script is open source, but the Clarity service is not.
At a glance
| Pricing | Free forever, no traffic limits and no paid plan |
| Public API | Yes |
| MCP server | Yes |
| Webhooks | No |
| Open source | No |
| Agent score | 3 / 4 |
| Best for | Free heatmaps and recordings with light agent querying |
How it compares in Heatmap and Session Replay Tools
| # | Tool | Pricing | API | MCP | Agent score | Best for |
|---|---|---|---|---|---|---|
| 1 | Mouseflow | Free 0 (500 sessions/month); Essential 25/mo, Advanced 109/mo, Premium 319/mo billed annually (currency not captured); Enterprise custom | Yes | Yes | 4 / 4 | Agents that query replays, heatmaps, funnels and forms through one API |
| 2 | Microsoft Clarity | Free forever, no traffic limits and no paid plan | Yes | Yes | 3 / 4 | Free heatmaps and recordings with light agent querying |
| 3 | Crazy Egg | Starter $29/mo, Plus $99/mo, Pro $249/mo, Enterprise $599/mo, billed annually; free trial | Yes | Yes | 3 / 4 | Marketers who want heatmaps, recordings and A/B tests in one plan |
| 4 | Hotjar | Free $0 (200K sessions/month); Growth $39/mo billed yearly ($49 monthly); Pro and Enterprise custom | Yes | No | 3 / 4 | Existing Hotjar accounts that still need survey and recording data through an API |
Sources
- Microsoft Learn Clarity Data Export API (learn.microsoft.com/en-us/clarity/setup-and-installation/clarity-data-export-api) ()
- Microsoft Learn Clarity MCP Server (learn.microsoft.com/en-us/clarity/third-party-integrations/clarity-mcp-server) ()
- Microsoft clarity-mcp-server repository (github.com/microsoft/clarity-mcp-server) ()
- Microsoft Learn Clarity FAQ (learn.microsoft.com/en-us/clarity/faq) ()