Ask your AI about your site's traffic, channels, revenue, goals and funnels (XPmetric analytics).
Connect Runs on your machine
claude mcp add mcp -e XPMETRIC_API_KEY=<XPMETRIC_API_KEY> -e XPMETRIC_BASE_URL=<XPMETRIC_BASE_URL> -- npx -y @xpmetric/[email protected]
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@xpmetric/[email protected]"
],
"env": {
"XPMETRIC_API_KEY": "<XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<XPMETRIC_BASE_URL>"
}
}
}
}
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@xpmetric/[email protected]"
],
"env": {
"XPMETRIC_API_KEY": "<XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<XPMETRIC_BASE_URL>"
}
}
}
}
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xpmetric/[email protected]"
],
"env": {
"XPMETRIC_API_KEY": "<XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<XPMETRIC_BASE_URL>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
XPMETRIC_API_KEYRequired, secret | API key from xpmetric.com Settings โ General โ API keys (prefix xpm_mcp_). Covers every site on the account. |
XPMETRIC_BASE_URLOptional | API origin. Leave unset for xpmetric.com; only localhost is accepted otherwise. |
Details
| Package | @xpmetric/[email protected] (NPM, stdio) |
| First published | 23 Oct 2026 |
| Last updated | 23 Oct 2026 |
| Registry name | com.xpmetric/mcp |
More data and analytics servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
