clarity_get_ live_ insightsMicrosoft Clarity's single data endpoint — your project's dashboard insights for the last 1–3 days, optionally broken down by up to THREE dimensions.
Pull the last few days of Clarity insights — sessions, engagement time, scroll depth, rage and dead clicks — split by device, OS, country, source or page, without opening the dashboard.
PopMCPMicrosoft Clarity
Every insights query this connection can run, plus the threshold triggers PopMCP can watch on your project.
5 tools in the full catalog: 5 read and 0 write. 5 load by default, and the rest are found with tool search.
clarity_get_ live_ insightsMicrosoft Clarity's single data endpoint — your project's dashboard insights for the last 1–3 days, optionally broken down by up to THREE dimensions.
clarity_insights_ by_ acquisitionClarity insights for the last 3 days broken down by Source, Medium, and Channel — all THREE in ONE quota-efficient request (how visitors found the site).
clarity_insights_ by_ audienceClarity insights for the last 3 days broken down by Device, OS, and Country/Region — all THREE in ONE quota-efficient request (who your visitors are and where they come from).
clarity_insights_ by_ pageClarity insights for the last 3 days broken down by page URL ("Popular Pages") — which pages drive traffic and engagement.
clarity_traffic_ summaryProject-wide Clarity totals for the last 3 days with NO breakdown — the fastest overview.
Credentials off one Microsoft Clarity screen, then an endpoint your client signs into. Nothing to deploy, and nothing to install.
A project admin generates a token in Clarity → Settings → Data Export → Generate new API token, then pastes it into the API token field. The token is scoped to a single project, so the connection is locked to it.
••••••••••••3f7aEvery tool here reads, since Clarity's Data Export API has no write endpoints, so an agent cannot change anything and the insights set is small. What you choose is reach: tick Microsoft Clarity on the PopMCP consent screen only for clients that should see the project.
Drop the PopMCP URL into Claude, ChatGPT, Claude Code, Codex or any other supported client. It signs in through PopMCP with OAuth, so your Microsoft Clarity credential never leaves the server.
app.popmcp.com/mcpAsk for something harmless before the agent changes anything. Writes run as soon as it calls them, so confirm it reads the right account first.
Give me the traffic and engagement summary for the last few days, then break it out by device
clarity_traffic_summaryok
Then just ask for the work
“Give me the traffic and engagement summary for the last few days, then break it out by device”
“Which source, medium and channel drove the most sessions, and where did engagement dip?”
“Which pages have the worst scroll depth and the most dead clicks right now?”
“Are rage clicks concentrated on mobile, one country, or a single landing page?”
One hosted endpoint, registered once per client. The same tools and the same permissions, whichever window the request comes from.
Add the PopMCP URL under Customize → Connectors and the tools appear in every chat.
The same endpoint, registered in the browser. Nothing to install on the machine you are working from.
Register PopMCP as a custom connector, then let ChatGPT read and update the account.
Wire the endpoint into Codex or the Codex CLI when a task needs live business context, not a fixture.
Register the remote MCP server in OpenCode's config for terminal-first and scripted agent runs.
Add PopMCP as an MCP server in Z.ai's desktop app and work the account from the same window.
FAQ
What teams ask before putting Microsoft Clarity behind an AI client.
With a single API token that you copy from Clarity. A project admin goes to Settings → Data Export → Generate new API token and pastes the value into the API token field on the connect form. There is no OAuth popup and nothing to re-authorize later, and the token is scoped to one Clarity project, so the connection is locked to that project.
The Data Export endpoint returns the last 1–3 days, and every tool on this connection inherits that window. It is built for what is happening on the site now — a source that went quiet, a page whose engagement fell, a control that started collecting rage clicks — rather than month-over-month trend work. Asking for last quarter will not return anything, because the API does not serve it.
No. Every tool on this integration reads; the Data Export API this connection uses has no endpoints that create, edit, or delete anything in your project, so there is nothing for an agent to change.
No. The tools return Clarity's Data Export insights — Traffic, Engagement Time, Scroll Depth, Popular Pages, and click-quality metrics such as rage clicks and dead clicks — as aggregated numbers broken down by dimensions like device, OS, country, source, and channel. Individual session replays and heatmaps are not part of the endpoint this connection reads; those stay in the Clarity dashboard.
Clarity's endpoint accepts at most three dimensions in a single request, so the tools are bundled to make each call count. clarity_insights_by_audience returns Device, OS, and Country/Region together, and clarity_insights_by_acquisition returns Source, Medium, and Channel together — one request each instead of three, which matters because the Data Export API is quota-limited. When you want a combination of your own, clarity_get_live_insights takes up to three dimensions you pick.
Threshold triggers cover sessions dropping, rage clicks spiking, dead clicks spiking, script errors spiking, engagement time dropping, bot traffic rising above a share of total traffic, a top page losing traffic, and traffic falling from a specific source, medium, or channel. You set the level for each one. Rage clicks and script errors are usually the first two worth wiring up, since both tend to mean a control on the page has broken.
No. PopMCP hosts it and gives you a Streamable HTTP MCP URL. There is nothing to deploy, no callback URL to register, and no infrastructure to keep running or patch.
Any client that supports a remote Streamable HTTP MCP server: Claude Desktop, Claude Web, Claude Code, ChatGPT custom connectors, Codex and the Codex CLI, OpenCode and Z.ai's ZCode, as well as editors such as Cursor, Windsurf and Zed. Your client signs in to PopMCP with OAuth; the provider credential never leaves the server.
Connect Microsoft Clarity in PopMCP first, then run claude mcp add --transport http popmcp https://app.popmcp.com/mcp in a terminal. Inside Claude Code, run /mcp and sign in to PopMCP in the browser window it opens, ticking Microsoft Clarity on the consent screen. The Microsoft Clarity tools are then available in that session, and no Microsoft Clarity credential is stored on your machine.
Yes. The Microsoft Clarity catalog is small enough that all 5 tool definitions load into every conversation, so your AI never has to search for one before it can call it.
A tool is something your AI calls, and there are 5 here. A trigger is something PopMCP watches for you: 8 Microsoft Clarity events that can start work on the PopMCP side. Triggers never enter your AI client's context, and none of them ask you to paste a callback URL into Microsoft Clarity.
Launch a hosted MCP endpoint for Microsoft Clarity, keep tool access under control, and start testing real workflow prompts right away.