XPmetric
Ask your AI about your site's traffic, channels, revenue, goals and funnels (XPmetric analytics).
Install
Add this to your client's MCP configuration (Claude Desktop: claude_desktop_config.json; Cursor: .cursor/mcp.json; VS Code and others use the same "mcpServers" shape).
@xpmetric/mcpclaude mcp add xpmetric -e 'XPMETRIC_API_KEY=<your xpmetric_api_key>' -e 'XPMETRIC_BASE_URL=https://xpmetric.com' -- npx -y @xpmetric/mcp@0.1.4
{
"mcpServers": {
"xpmetric": {
"command": "npx",
"args": [
"-y",
"@xpmetric/mcp@0.1.4"
],
"env": {
"XPMETRIC_API_KEY": "<your xpmetric_api_key>",
"XPMETRIC_BASE_URL": "https://xpmetric.com"
}
}
}
}
Environment variables
XPMETRIC_API_KEYrequired secret API key from xpmetric.com Settings → General → API keys (prefix xpm_mcp_). Covers every site on the account.XPMETRIC_BASE_URLAPI origin. Leave unset for xpmetric.com; only localhost is accepted otherwise.
Frequently asked questions
What is XPmetric?
Ask your AI about your site's traffic, channels, revenue, goals and funnels (XPmetric analytics).
How do I install XPmetric?
It runs on your machine. In Claude Code: claude mcp add xpmetric -e 'XPMETRIC_API_KEY=<your xpmetric_api_key>' -e 'XPMETRIC_BASE_URL=https://xpmetric.com' -- npx -y @xpmetric/mcp@0.1.4. For other clients, paste the JSON configuration from this page into their MCP settings.
Does XPmetric need an API key?
Yes. It expects XPMETRIC_API_KEY, which you set in its configuration.
Who maintains XPmetric?
It is published by com.xpmetric. AI.tn lists it but does not maintain or endorse it.
From the official MCP Registry. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.