---
agent:
  instructions: "Use this search API to find relevant content across this site with keywords or natural-language queries, instead of crawling individual pages. Results are returned in Markdown."
  endpoint: "https://elaichi.ai/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---

# Microsoft Clarity MCP connector

The Microsoft Clarity connector lets Claude, ChatGPT and other AI clients search session recordings, query site analytics, and track AI crawler visits and citations, with each person working inside their own access and every call logged.

Source: https://elaichi.ai/connectors/microsoftclarity/

## Facts

| | |
| --- | --- |
| Application | Microsoft Clarity |
| Category | Analytics |
| AI tools | 25 |
| Authentication | Connects with an API key |
| Bring your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. Connected tools are never listed one by one, however few there are. The endpoint advertises `search_tools` and `execute_tool` instead |

## What you can ask once Microsoft Clarity is connected

- Which of our pages did AI engines cite most this week?
- Show recordings of people leaving the pricing page early.
- How much AI crawler traffic hit the blog last month?

## Connect Microsoft Clarity in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick Microsoft Clarity.
2. Optionally set Share with, then press Connect.
3. Paste a Microsoft Clarity API key. One person generates a token in Microsoft Clarity and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which Microsoft Clarity tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Microsoft Clarity MCP connector for Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Microsoft Clarity MCP connector for Claude Code

Endpoint: https://api.elaichi.ai/mcp

1. Copy the `claude mcp add` command and run it in a terminal.
2. Start Claude Code and run `/mcp`.
3. Pick elaichi, then sign in and approve in the browser.

```bash
claude mcp add --transport http elaichi --scope user https://api.elaichi.ai/mcp
```

Use `--scope project` instead to share it with the repository through `.mcp.json`.

## Microsoft Clarity MCP connector for ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web. The plugin directory lives at chatgpt.com/plugins.

## Microsoft Clarity MCP connector for Perplexity

Endpoint: https://api.elaichi.ai/mcp

1. In the left sidebar, click Plugins, then Add custom, then Add MCP connector, then Remote.
2. Name it Elaichi.
3. Paste the endpoint as the MCP server URL.
4. Open Advanced. Pick OAuth, so you can sign in, and Streamable HTTP, which is how Elaichi talks. Leave the client ID and secret empty.
5. Tick the box about custom connectors, then click Add.
6. Click the Elaichi card. Sign in to Elaichi and approve.

Needs a paid Perplexity plan. In an organization, an admin may first need to allow custom connectors.

[Setup guide for Perplexity](/blog/connect-elaichi-to-perplexity/)

## Microsoft Clarity MCP connector for Grok

Endpoint: https://api.elaichi.ai/mcp

On grok.com:

1. Go to grok.com/connectors and click New Connector.
2. Choose Custom.
3. Paste the endpoint as the MCP server URL.
4. Sign in to Elaichi and approve.

In Grok Bot:

1. Open Connect apps and click Add a custom connector.
2. Name it Elaichi.
3. Set the type to Remote HTTPS.
4. Paste the endpoint as the Server URL.
5. Leave Client ID empty.
6. Click Add plugin. Then click Authorize, sign in to Elaichi and approve.

On Grok Business and Enterprise, a team admin adds the connector in console.x.ai first.

[Setup guide for Grok](/blog/connect-elaichi-to-grok/)

## Microsoft Clarity MCP connector for Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Microsoft Clarity MCP connector for Microsoft Copilot

Endpoint: https://api.elaichi.ai/mcp

1. In Copilot Studio, open your agent, then Tools, Add a tool, New tool and Model Context Protocol.
2. Paste the endpoint into Server URL, choose OAuth 2.0, then Dynamic discovery, and press Create.
3. Create a new connection, sign in and approve, then press Add to agent.
4. Under Channels, open Teams and Microsoft Copilot and make the agent available in Microsoft Copilot.

Microsoft Copilot was called Microsoft 365 Copilot. Keep the tool on end-user credentials, so each person signs in as themselves.

## Connect Microsoft Clarity to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Every scope the client asks for starts ticked except "Delete things", which you tick yourself. Calling a Microsoft Clarity tool needs "Use your connected apps". Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Think hard before granting Use your connected apps, which can also delete in connected apps and cannot be undone.

## What teams do with Microsoft Clarity through Elaichi

### Find recordings of people struggling at checkout

Product. Ask for session recordings from the checkout or signup pages and get a short list to watch, instead of scrolling through Clarity filters by hand.

### See which pages AI answers cite

Marketing. Pull the pages that AI answer engines cite, the questions people asked, and the topics they cluster into. It shows which content is actually earning mentions.

### Track AI crawler visits over time

SEO. Check which AI crawlers are visiting the site, how often, and whether that is rising or falling. Compare how much they scrape against how much referral traffic they send back.

### Spot unusual bot traffic before it costs

Engineering. Get an overview of bot activity, the paths bots request most, and the CDN providers they come through. It helps decide what to allow and what to look into.

### Summarize what users do on a page

Design. Ask a plain question about traffic, scroll depth or clicks on a page and get the answer from Clarity's analytics. Useful before and after a redesign.

### Run a topic insight and read results

Growth. Start a Clarity topic insight on a subject you care about, check when it has finished, and read the report. Regenerate it later to see what changed.

## Elaichi vs Zapier MCP vs Composio for Microsoft Clarity

All three can connect Microsoft Clarity to an AI assistant, and all three have admin controls. They differ in where access lives and how you pay.

| What to check | Elaichi | Zapier MCP | Composio |
| --- | --- | --- | --- |
| Where the AI connects | One address for the whole organization. Endpoint: https://api.elaichi.ai/mcp | A server per member, created at sign-in. | An MCP endpoint per team, or an SDK. |
| Control over Microsoft Clarity tools | Allow or restrict single Microsoft Clarity tools, per role or user. | App and action restrictions on the account. | Role permissions, down to the action. |
| Record of calls | One audit entry per Microsoft Clarity call. | A History tab of tool calls. | A log of every tool call. |
| Single sign-on | SAML or OIDC, plus SCIM, on Gold. | SAML on Enterprise. | SAML and OIDC on Enterprise. |
| Price | Free for one person; $15 per user per month on Gold. | 2 tasks per successful call. | Billed per tool call. |

Sources: Zapier MCP [docs](https://docs.zapier.com/mcp/get-started/quickstart), [security](https://docs.zapier.com/mcp/manage/security), [usage](https://docs.zapier.com/mcp/features/usage); Composio [docs](https://docs.composio.dev/docs/composio-connect), [gateway](https://composio.dev/mcp-gateway), [enterprise](https://composio.dev/enterprise), [pricing](https://composio.dev/pricing). Checked September 2026.

Longer take: [Zapier MCP alternative](/blog/zapier-mcp-alternative/) and [when you don't need an MCP gateway](/blog/when-you-dont-need-an-mcp-gateway/).

## Frequently asked questions

### How do I connect Microsoft Clarity to Claude?

First connect Microsoft Clarity in Elaichi by pasting an API key generated in your Clarity project settings. Then in Claude go to Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. There is no OAuth application to register and no client ID or secret to generate.

### Does Microsoft Clarity work with ChatGPT, Perplexity, Grok and Cursor as well as Claude?

Yes. Once Microsoft Clarity is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, any other MCP client, and the Elaichi Agent. You connect Clarity once and every client uses it.

### What can an AI agent actually do with my Microsoft Clarity data?

An agent can search Microsoft Clarity session recordings, answer questions about site traffic and behavior, and report on bot traffic, AI crawlers and which of your pages AI engines cite. It can also start, check and regenerate Clarity topic insights. Short, concrete asks like "recordings from the pricing page this week" tend to work better than long sentences.

### Does connecting Microsoft Clarity give the AI access to every project?

No. A Microsoft Clarity connection reaches only the Clarity project its API key belongs to, and each person signs in to Elaichi as themselves. Elaichi can narrow that access further with roles and restrictions, but it never widens it beyond what the connection allows.

### Can my team share one Microsoft Clarity connection?

Yes. One person connects Microsoft Clarity in Elaichi and shares the connection with a team, so nobody else ever handles the API key. Each teammate still signs in as themselves, so the audit log names the person behind every Clarity request.

### Can I stop an agent from changing things in Microsoft Clarity?

Yes. Most of the Microsoft Clarity connector reads data, and the actions that change things, such as creating or regenerating topic insights, can be restricted on a role or on one person. A restricted action still appears in Elaichi's tool search, flagged as restricted, but no client can run it, whatever the prompt says.

### What happens to a Microsoft Clarity connection when someone leaves?

Offboarding someone in Elaichi ends their Microsoft Clarity access at once. A shared Clarity connection keeps working for everyone else on the team, and disconnecting Clarity once in Elaichi removes it from every client.

### Does the Microsoft Clarity MCP connector work with Gemini, Codex, Claude Code or other MCP clients?

Yes. Microsoft Clarity is reached over the same MCP endpoint every client uses, so anything that speaks MCP can call it — Gemini, Codex, Claude Code, Windsurf, Cline, Zed and OpenCode among them — alongside Claude, ChatGPT, Perplexity, Grok, Cursor, Microsoft Copilot, and the Elaichi Agent. The tools on offer and the access behind them are identical whichever client asks. Only the setup screen differs.

### Is Elaichi an alternative to Zapier MCP for Microsoft Clarity?

Yes. Both let Claude, ChatGPT or Cursor use Microsoft Clarity. Zapier MCP fits a team that already automates in Zapier, since each person signs in and acts as themselves in that account. Elaichi fits when IT wants one address for the whole company, per-tool rules by role, and a record of every Microsoft Clarity call.

### How is Elaichi different from Composio for Microsoft Clarity?

Composio gives AI agents tools and sign-in handling across 1,000+ apps, for developers building agents or people using an assistant, billed per tool call. Elaichi gives a company's own people governed access to Microsoft Clarity: one address, restrictions per role or user, and $15 per user per month. Both have role permissions and a log of every call.

## All 25 Microsoft Clarity tools

Every tool below is callable through https://api.elaichi.ai/mcp once Microsoft Clarity is connected, subject to the toolbox it is in and the restrictions on the caller.

- **Microsoft Clarity AI crawler trends lookup** (Action). Trends for up to 5 AI crawlers picked from ai_crawlers.list (same labelColumn and itemColumn): one dated series each. Needs a CDN integration in Clarity (Bot Activity). Required: labelColumn, itemColumn, values.
- **List all Microsoft Clarity AI crawlers** (List). AI crawlers and their request counts, grouped by labelColumn with nested itemColumn rows. Needs a CDN integration in Clarity (Bot Activity). Pages through every row (100 per call, skip / limit). Returns: label, count, items. Required: labelColumn, itemColumn.
- **Microsoft Clarity analytics query** (Search). Fetch Clarity dashboard analytics (traffic, users, sessions, devices, browsers, geography, pages, referrers, channels, smart events, scroll depth, web vitals, JavaScript errors, dead / rage clicks) with one natural-language query. Keep the query to one metric or aggregation and name the time range (e.g. 'Top browsers last 3 days'). Not for AI bot / crawler questions (use the Bot Activity calls). Returns: query, data, dataErrorType. Required: query.
- **Microsoft Clarity bot activity distribution lookup** (Action). Bot requests broken down by content type, page type or HTTP status code, each with count and percent share. Needs a CDN integration in Clarity (Bot Activity). Required: dimension.
- **Microsoft Clarity bot activity item trends lookup** (Action). Trends for up to 5 crawled paths (full url from bot_path_requests.list), status codes or content types (from bot_activity_distribution.lookup): one dated series per item. Needs a CDN integration in Clarity (Bot Activity). Required: dimension, values.
- **Microsoft Clarity bot activity metric trends lookup** (Action). Trend of a whole-project Bot Activity metric (total requests, site pages crawled, robots.txt violations): value, totalValue and percent per bucket; bucket size follows the date range. Needs a CDN integration in Clarity (Bot Activity). Required: dimension.
- **Microsoft Clarity bot activity overview lookup** (Action). Bot Activity (AI crawler) summary: scoped requests, unique HTML paths, robots.txt violations and their dashboard percentages, plus selectedCdnProvider and cdnProviders. Needs a CDN integration in Clarity. Needs a CDN integration in Clarity (Bot Activity). Returns: scopedRequests, allTrafficRequests, shareOfTotalTrafficPercent, uniqueScopedHtmlPaths, uniqueAllTrafficHtmlPaths, uniqueHtmlPathsSharePercent, robotsViolationRequests, violationsSharePercent, selectedCdnProvider, cdnProviders. Required: none.
- **List all Microsoft Clarity bot path requests** (List). Paths requested by AI bots, ranked by request count, each with count and percent share. Needs a CDN integration in Clarity (Bot Activity). Pages through every row (100 per call, skip / limit). Returns: path, url, count, percent. Required: none.
- **Microsoft Clarity CDN providers lookup** (Action). CDN providers connected to the project, with connection status and the domain each one's bot logs cover. Needs a CDN integration in Clarity (Bot Activity). Required: none.
- **Microsoft Clarity citation item trends lookup** (Action). Trends for up to 5 queries or cited pages: one dated series per item. Values must come from citation_queries.list or cited_pages.list for the matching dimension. Needs a verified AI Visibility domain in the Clarity project. Required: dimension, values.
- **Microsoft Clarity citation metric trends lookup** (Action). Trend of a whole-project citation metric (total citations or share of authority): one dated series. Needs a verified AI Visibility domain in the Clarity project. Required: dimension.
- **Microsoft Clarity citation overview lookup** (Action). AI Visibility citations overview: citation counts, share of authority, branded and non-branded shares, AI-referred traffic, topic availability and data freshness. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Required: none.
- **List all Microsoft Clarity citation queries** (List). AI queries that cite the project's verified domain, ranked by citation count. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Pages through every row (100 per call, skip / limit). Returns: query, queryTopic, citationCount, shareOfAuthority, isBranded. Required: none.
- **List all Microsoft Clarity citation topics** (List). AI query topics that cite the project's verified domain, ranked by citation count. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Pages through every row (100 per call, skip / limit). Returns: topic, citationCount, shareOfAuthority. Required: none.
- **List all Microsoft Clarity cited pages** (List). Pages of the project's verified domain cited in AI answers, ranked by citation count. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Pages through every row (100 per call, skip / limit). Returns: page, citationCount. Required: none.
- **List all Microsoft Clarity project live insights** (List). Dashboard metrics (Traffic, Scroll Depth, Engagement Time, Popular Pages, Browser, Device, OS, Country/Region, Page Title, Referrer URL, dead / rage / quickback / error clicks, excessive scroll, script errors) for the last 1-3 days, broken down by up to 3 dimensions. Data Export API: 10 calls per project per day, at most 1,000 rows, not paged, UTC. Returns: metricName, information. Required: numOfDays.
- **Microsoft Clarity scrape to referral ratios lookup** (Action). How many AI scrapes each operator made per visit it referred back: per-provider ratios, referrer breakdowns, the domains covered by CDN logs and by the Clarity tag, and a coverage state. filters.date is required. Needs a CDN integration in Clarity (Bot Activity). Returns: averageRatio, totalReferrals, totalScrapes, domainsInBoth, domainsOnlyInCdn, domainsOnlyInClarity, providers, coverageState. Required: filters.
- **Microsoft Clarity session recordings search** (Search). Return a sample of session recordings matching the filters, sorted as asked. The date filter is required (UTC ISO 8601). Up to 250 recordings per call, not paged. Required: filters.
- **Microsoft Clarity topic insight constraints lookup** (Action). Current Topic Insights rules: topic name length, questions per topic, question length, reports per 7 days and the regeneration cooldown. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Required: none.
- **Microsoft Clarity topic insight reports lookup** (Action). A completed Topic Insight report for one topic (latest completed run unless runId is given): runId, status, dataReady, citation rate, competitive share, domain ranking, content strengths / opportunities and simulated questions. Needs a verified AI Visibility domain in the Clarity project. Required: topicId.
- **Microsoft Clarity topic insight run statuses lookup** (Run). Generation status of 1-100 Topic Insight runs: status, progress and, once completed, citation rate and competitive share. Needs a verified AI Visibility domain in the Clarity project. Required: runIds.
- **Create a Microsoft Clarity topic insight** (Create). Create a Topic Insight topic and start its report (check topic_insight_constraints.lookup first). Returns topicId and runId; generated=false with a reason when the weekly limit or cooldown applies. Counts toward the project's weekly report limit. Needs a verified AI Visibility domain in the Clarity project. Required: topicName, questions.
- **List all Microsoft Clarity topic insights** (List). Topic Insight topics: `topics` (your own) and `suggestedTopics`, each with topicId, topicName, userApproved, questions and its reports (runId, status, citationRate, competitiveShare), plus reportsMetadata. Needs a verified AI Visibility domain. Needs a verified AI Visibility domain in the Clarity project. Returns: topics, suggestedTopics, reportsMetadata. Required: none.
- **Microsoft Clarity topic insights regenerate** (Action). Regenerate an existing topic's report. Returns the new runId; generated=false with a reason within the 7-day cooldown or weekly limit. Counts toward the project's weekly report limit. Needs a verified AI Visibility domain in the Clarity project. Required: topicId, topicName.
- **Microsoft Clarity topic insights remove** (Delete). Delete a Topic Insight topic and its reports. Cannot be undone. Needs a verified AI Visibility domain in the Clarity project. Required: topicId.
