
Model Context Protocol (MCP) Server
The Model Context Protocol (MCP) Server bridges AI assistants with external data sources, APIs, and services, enabling streamlined integration of complex workfl...
Seamlessly connect your AI tools with Microsoft Clarity analytics to unlock actionable web insights, custom reports, and user engagement analysis—all accessible via the MCP protocol.
The Microsoft Clarity MCP Server is a Model Context Protocol (MCP) server designed to interface with the Microsoft Clarity data export API. It acts as a bridge between AI assistants (such as Claude for Desktop and other MCP-compatible clients) and the Clarity analytics service. By exposing Clarity’s analytics data via a standard protocol, this server enables AI-driven workflows such as querying website analytics, filtering by specific dimensions (e.g., Browser, Device, Country/Region), and retrieving a variety of web metrics (e.g., Scroll Depth, Engagement Time, Traffic). This integration streamlines tasks like monitoring website performance and analyzing user engagement, empowering developers and analysts to access actionable insights directly through their AI tools.
No explicit prompt templates are mentioned in the provided information.
No specific MCP “resources” are described in the repository content.
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
Securing API Keys:
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server"
],
"env": {
"CLARITY_API_TOKEN": "your-api-token-here"
}
}
}
}
%AppData%\Claude\claude_desktop_config.json
~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server",
"--clarity_api_token=your-api-token-here"
]
}
}
}
Securing API Keys:
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server"
],
"env": {
"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"
]
}
}
}
Securing API Keys:
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server"
],
"env": {
"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"
]
}
}
}
Securing API Keys:
{
"mcpServers": {
"@microsoft/clarity-mcp-server": {
"command": "npx",
"args": [
"@microsoft/clarity-mcp-server"
],
"env": {
"CLARITY_API_TOKEN": "your-api-token-here"
}
}
}
}
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:
Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"clarity-mcp": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “clarity-mcp” to whatever the actual name of your MCP server is (e.g., “clarity-mcp”) and replace the URL with your own MCP server URL.
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | |
List of Prompts | ⛔ | None found |
List of Resources | ⛔ | None found |
List of Tools | ✅ | get-clarity-data |
Securing API Keys | ✅ | Env variable support shown |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Roots Support | ⛔ | Not mentioned |
Based on the above, the Microsoft Clarity MCP Server provides a clear and direct integration with the Clarity analytics API, but is focused and somewhat minimal in scope. It covers essential setup and usage, but lacks advanced MCP features like prompt templates, additional MCP resources, roots, and sampling.
Has a LICENSE | ✅ (MIT) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 5 |
Number of Stars | 15 |
Our opinion:
This MCP server is functional, well-documented for setup, and exposes a useful tool for analytics integration. However, it misses richer MCP features like prompt templates, resource exposure, or advanced capabilities such as sampling and roots—making it more utilitarian than full-featured. It rates a 5/10 for covering the basics with clarity, but not leveraging the full MCP protocol potential.
It connects AI assistants with the Microsoft Clarity analytics API, enabling programmatic access to website metrics like traffic, engagement time, and scroll depth. This empowers AI-driven workflows with real-time website insights and reporting capabilities.
You can access metrics such as Scroll Depth, Engagement Time, Traffic, and segment analytics by Browser, Device, Country/Region, and more—using the provided 'get-clarity-data' tool.
You should use the 'env' property in your MCP server configuration to store sensitive API keys securely as environment variables, rather than embedding them directly in your configuration files.
Yes! Add the MCP component in your FlowHunt flow and configure it with your MCP server details. This lets your AI agents access all analytics tools exposed by the Clarity MCP server.
No, it focuses on analytics integration and does not include prompt templates, resource exposure, or advanced MCP features like roots or sampling.
Empower your AI agents to access Microsoft Clarity analytics for advanced website monitoring, segmentation, and automated reporting with FlowHunt's MCP integration.
The Model Context Protocol (MCP) Server bridges AI assistants with external data sources, APIs, and services, enabling streamlined integration of complex workfl...
The Microsoft Docs MCP Server provides real-time, authoritative access to Microsoft documentation for AI assistants, IDEs, and development tools. Enhance workfl...
The MSSQL MCP Server connects AI assistants with Microsoft SQL Server databases, enabling advanced data operations, business intelligence, and workflow automati...