Basic information
About Microsoft Clarity MCP Server
Get your behavioral analytics powered by Microsoft Clarity for your websites and mobile apps
Microsoft Clarity is a MCP server in the Other category listed in the AddMCP.net directory, published by microsoft. It exposes 3 tools, including query-analytics-dashboard, list-session-recordings, query-documentation-resources. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 138 GitHub stars. Source code is hosted on github.com. Related topics: analytics, heatmap, mcp.
Setup
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
{
"servers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
Microsoft Clarity MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
Microsoft Clarity MCP Server tools
-
query-analytics-dashboard
— Fetch Microsoft Clarity analytics data using a simplified natural language search query. The query should be focused on one specific data retrieval or aggregation task. Avoid complex multi-purpose queries. Time ranges should be explicitly specified when possible. If no time range is provided, prompt the user to specify one.
query:string* -
list-session-recordings
— List Microsoft Clarity session recordings based on specified filters. The filters allow you to narrow down the recordings by various criteria such as URLs, device types, browser, OS, country, city, and more. The date filter is required and must be in UTC ISO 8601 format.
filters:object*, sortBy:string, count:number -
query-documentation-resources
— Retrieve Microsoft Clarity documentation snippets for finding answers to user questions including step-by-step screenshots for setup guides, features, usage, troubleshooting, and integration instructions. The query should be focused on one specific documentation topic or question. Avoid complex multi-purpose queries.
query:string*
Overview
What is Microsoft Clarity?
This MCP server integrates the Microsoft Clarity data export API with MCP-compatible clients like Claude for Desktop. It allows you to fetch analytics data such as scroll depth, engagement time, and traffic metrics, filtered by dimensions like browser or country.
##
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In