XPmetric MCP
An official stdio-based MCP server provided by XPmetric that allows AI agents to interact with the XPmetric analytics platform. It enables users to pull real-time traffic, revenue, and funnel data via read-only analytics tools, and to create, update, or delete conversion goals and funnels. The server connects to the XPmetric API using a personal API key, supporting integration with clients like Claude Code, Cursor, and Claude Desktop.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Pull real traffic numbers and revenue data for specific sites
- Create, update, and delete conversion goals and funnels
- Analyze traffic breakdowns by page, country, or device
- Compare site performance across different time periods
Source and maintenance
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
@xpmetric/mcp 0.1.4
{
"version": "0.1.4",
"transport": "stdio",
"identifier": "@xpmetric/mcp",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "XPMETRIC_API_KEY",
"format": "string",
"isRequired": true,
"description": "API key from xpmetric.com Settings → General → API keys (prefix xpm_mcp_). Covers every site on the account."
},
{
"name": "XPMETRIC_BASE_URL",
"format": "string",
"default": "https://xpmetric.com",
"description": "API origin. Leave unset for xpmetric.com; only localhost is accepted otherwise."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"xpmetric-mcp": {
"command": "npx",
"args": [
"-y",
"@xpmetric/mcp@0.1.4"
],
"env": {
"XPMETRIC_API_KEY": "<YOUR_XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<YOUR_XPMETRIC_BASE_URL>"
}
}
}
}Cline
{
"mcpServers": {
"xpmetric-mcp": {
"command": "npx",
"args": [
"-y",
"@xpmetric/mcp@0.1.4"
],
"env": {
"XPMETRIC_API_KEY": "<YOUR_XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<YOUR_XPMETRIC_BASE_URL>"
}
}
}
}VS Code
{
"servers": {
"xpmetric-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@xpmetric/mcp@0.1.4"
],
"env": {
"XPMETRIC_API_KEY": "<YOUR_XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<YOUR_XPMETRIC_BASE_URL>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"xpmetric-mcp": {
"command": "npx",
"args": [
"-y",
"@xpmetric/mcp@0.1.4"
],
"env": {
"XPMETRIC_API_KEY": "<YOUR_XPMETRIC_API_KEY>",
"XPMETRIC_BASE_URL": "<YOUR_XPMETRIC_BASE_URL>"
}
}
}
}Let your agent find its tools
Find servers like XPmetric MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.