Microsoft Clarity MCP server

Ask in plain English to find Microsoft Clarity session recordings, check traffic metrics, or get setup answers.

Tools
3
Transport
Local (npx)
Sign-in
See setup
Made by
Microsoft
RevampKey connects Microsoft Clarity in one click and adds its 1 skills. No config file. Free for Mac, Windows and Linux. Already installed? Open Microsoft Clarity in RevampKey

Get RevampKey to connect Microsoft Clarity

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Microsoft Clarity is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

curl -fsSL --create-dirs -o .claude/skills/microsoft-clarity-essentials/SKILL.md https://revampkey.com/marketplace/microsoft-clarity/skills/essentials/SKILL.md

What the Microsoft Clarity MCP server does

Microsoft Clarity is a free analytics tool from Microsoft. It records real users on your website or app, so you can watch their sessions. It also shows heatmaps of where people click, scroll and drop off. Marketers, product teams and site owners use it to find where visitors get stuck. Microsoft says more than 2 million sites and apps use Clarity worldwide.

Connect Clarity to RevampKey from the Connectors tab. Then ask the agent about your project in plain English. It can list session recordings and filter them by URL, device type, browser, OS, country and city. It can pull figures from your project's analytics dashboard, such as traffic metrics. It can also find answers in Clarity's documentation, including setup steps and troubleshooting. All three tools only read data.

What you can do with Microsoft Clarity and an AI agent

Reviewing mobile sessions

A product manager wants to see how phone visitors use the site. They ask for the most recent Clarity sessions from mobile devices. The agent lists those session recordings from your project, using the filters you set. You then pick which recordings to open and watch in Clarity.

Checking traffic by country

After a new campaign goes live, you ask how many sessions came from Germany in the past three days. The agent queries your project's analytics data for that country and date range. It reports the traffic metrics back to you in a short summary.

Setting up custom event tracking

You are adding a new feature and want to track button clicks as custom events. You ask how to do this in Microsoft Clarity. The agent searches Clarity's documentation and returns the matching setup steps. You can then follow those instructions in your own project.

How to set up the Microsoft Clarity MCP server

Pick your app. RevampKey needs no config file; the others need one command or a config line.

About 1 minute · See setup

  1. Install RevampKey for Mac, Windows or Linux and sign in.

  2. Open Connectors, search for Microsoft Clarity and click Connect. RevampKey installs and runs the server for you, with nothing to set up in a terminal.

  3. Ask in plain language. The 1 Microsoft Clarity skills come with the connector. The agent asks before it changes anything.

  4. Download RevampKeyConnect Microsoft Clarity · 1 click

    Get RevampKey to connect Microsoft Clarity

    RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Microsoft Clarity is one click away with its skills already attached.

    Download RevampKey

    Not now? Use the skills in your current tool

    curl -fsSL --create-dirs -o .claude/skills/microsoft-clarity-essentials/SKILL.md https://revampkey.com/marketplace/microsoft-clarity/skills/essentials/SKILL.md

Using a different MCP client?

Add a local (stdio) MCP server in its settings that runs this command.

Runs locallynpx -y @microsoft/clarity-mcp-server@2.0.1

Skip the config file

In RevampKey, Microsoft Clarity is one click: sign-in and the server and the 1 skills are set up for you.

Download RevampKey

Microsoft Clarity agent skills

Playbooks that teach the agent how to do real Microsoft Clarity work, step by step. RevampKey adds them when you connect; any Agent Skills tool can use them.

See all 1 skills in detail →

What to ask once Microsoft Clarity is connected

Plain words work. Copy one to try it.

  • “Show me the most recent Clarity sessions from mobile devices.”
  • “Which browsers were most used in my Clarity project this week?”
  • “Find Clarity recordings where users ran into JavaScript errors.”
  • “How do I track custom events in Microsoft Clarity?”
  • “Summarize the traffic metrics for my Clarity project for the last 7 days.”

What the agent can do in Microsoft Clarity

3 tools in 3 groups. Reading needs no approval; RevampKey asks before every change.

Session recordings
List your project's session recordings and narrow them by URL, device type, browser, OS, country, city and more. Ask for the top sessions by number of clicks, or for recordings where users hit JavaScript errors.list-session-recordings
Analytics dashboard
Ask for traffic metrics and user behavior figures from your project's analytics dashboard in plain English. Filter by browser, device, country and other dimensions, over a date range such as the last week.query-analytics-data
Clarity documentation
Ask how to do something in Microsoft Clarity. The agent returns matching documentation snippets, covering setup guides, features, custom events, labels on recordings and troubleshooting.query-documentation-data

All 3 Microsoft Clarity MCP tools

Show all 3 tools3 read

Read (3) Run without asking

  • list-session-recordings
  • query-analytics-data
  • query-documentation-data

Microsoft Clarity MCP in RevampKey vs other tools

RevampKeyClaude CodeCursorVS Code
SetupOne clickOne terminal commandEdit mcp.jsonEdit mcp.json
Sign-inIn the app/mcp → AuthenticateBrowser promptBrowser prompt
Microsoft Clarity skillsAdded on connectCopy into .claude/skillsCopy into the projectCopy into the project
Needs a terminalNoYesNoNo

Microsoft Clarity MCP server FAQ

What do I need to connect Microsoft Clarity to RevampKey?

You need a Microsoft Clarity account and an API token. The Clarity MCP server documentation explains how to generate the token. Then add Microsoft Clarity from the Connectors tab in RevampKey, and the agent can start reading your project.

What can the agent do in Microsoft Clarity, and what can't it do?

The agent can list session recordings, query analytics dashboard data and search Clarity's documentation. The connector gives the agent only these three tools, and none of them edit your project. Ask in plain English and the agent picks the tool that fits your question.

What data does the agent read, and does it ask before changing anything?

The agent reads your project's session recordings, analytics data and documentation through the connector. Because the three tools only read, there is no change for the agent to make or ask about. Check the agent's answers against the recordings or dashboard in Clarity before you act on them.

Which Microsoft Clarity data can the agent see?

The agent sees the session recordings and analytics dashboard data for your Clarity project. You can filter recordings by URL, device type, browser, OS, country and city. The three tools listed here do not cover heatmaps or AI summaries, so the agent cannot read those.

Is the Microsoft Clarity MCP server local or remote?

It runs on your own computer with npx (package @microsoft/clarity-mcp-server@2.0.1). Your client starts it as a local process; nothing is hosted.

What can an AI agent do with the Microsoft Clarity MCP server?

It exposes 3 tools: 3 that read and 0 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

Are there agent skills for Microsoft Clarity?

Yes. 1 SKILL.md playbooks teach an agent how to do real Microsoft Clarity work step by step. RevampKey installs them when you connect Microsoft Clarity; for Claude Code, Cursor or Codex you can copy them into your project.

Connect Microsoft Clarity in under a minute

Download RevampKey for Mac, Windows or Linux, sign in, and Microsoft Clarity is one click away, with its skills already attached, along with every other connector in the marketplace.

Download RevampKeyConnect Microsoft Clarity · 1 click

Get RevampKey to connect Microsoft Clarity

RevampKey is a free desktop app for Mac, Windows and Linux. Install it, sign in, and Microsoft Clarity is one click away with its skills already attached.

Download RevampKey

Not now? Use the skills in your current tool

curl -fsSL --create-dirs -o .claude/skills/microsoft-clarity-essentials/SKILL.md https://revampkey.com/marketplace/microsoft-clarity/skills/essentials/SKILL.md