Appmetrica MCP Server
by pavellunevio.github.pavellunev/appmetrica-mcpv0.3.1
AppMetrica (Yandex) analytics: reports, funnels, segments, dashboards, logs export, push
context tax
queued
security
queued
cold start
queued
freshness
Active7d ago
Install Appmetrica MCP server
Install in Claude Code
claude mcp add appmetrica -e APPMETRICA_OAUTH_TOKEN='<appmetrica-oauth-token>' -- npx -y appmetrica-mcpInstall in Cursor
{
"mcpServers": {
"appmetrica": {
"command": "npx",
"args": [
"-y",
"appmetrica-mcp"
],
"env": {
"APPMETRICA_OAUTH_TOKEN": "<appmetrica-oauth-token>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"appmetrica": {
"command": "npx",
"args": [
"-y",
"appmetrica-mcp"
],
"env": {
"APPMETRICA_OAUTH_TOKEN": "<appmetrica-oauth-token>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"appmetrica": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"appmetrica-mcp"
],
"env": {
"APPMETRICA_OAUTH_TOKEN": "<appmetrica-oauth-token>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"appmetrica": {
"command": "npx",
"args": [
"-y",
"appmetrica-mcp"
],
"env": {
"APPMETRICA_OAUTH_TOKEN": "<appmetrica-oauth-token>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| APPMETRICA_OAUTH_TOKEN | — | yes | Yandex OAuth token with AppMetrica scope; optional when `npx appmetrica-mcp auth` saved credentials |
| APPMETRICA_ALLOW_WRITE | — | — | Set to "true" to enable write tools (funnels, segments, push campaigns, web workspaces) |
| APPMETRICA_WORKSPACES_FILE | — | — | Path of the local JSON file with saved dashboard widget sets (default ~/.config/appmetrica-mcp/workspaces.json) |
| APPMETRICA_BROWSER_PROFILE | — | — | Chrome profile directory for the experimental web session (default ~/.config/appmetrica-mcp/chrome-profile) |
| APPMETRICA_BROWSER_PATH | — | — | Path to a Chrome/Chromium executable for the experimental web session (default: system Google Chrome) |
| APPMETRICA_BROWSER_CHANNEL | — | — | Playwright browser channel for the experimental web session (chrome | chromium | msedge; default chrome) |
| APPMETRICA_BROWSER_IDLE_MS | — | — | Idle time after which the headless web session closes Chrome and frees the profile (default 120000) |
| APPMETRICA_OAUTH_CLIENT_ID | — | — | Your own Yandex OAuth app ClientID for `appmetrica-mcp auth` (default: bundled public app) |
| APPMETRICA_CREDENTIALS_FILE | — | — | Where `appmetrica-mcp auth` stores the token (default ~/.config/appmetrica-mcp/credentials.json) |
Freshness
Active — last maintenance signal 7d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-03 · 7d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-10-03 · 7d ago · official registry · v0.3.1
FAQ
›How do I install the Appmetrica MCP server in Claude Code?
Run: claude mcp add appmetrica -e APPMETRICA_OAUTH_TOKEN='<appmetrica-oauth-token>' -- npx -y appmetrica-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Appmetrica require an API key?
Yes. It expects APPMETRICA_OAUTH_TOKEN, of which 1 is a secret.
›Can I use Appmetrica as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Appmetrica in the official MCP registry?
Yes, as io.github.pavellunev/appmetrica-mcp.
Alternatives to Appmetrica
Other monitoring & observability MCP servers.