Search / io.github.askads/mcp-yandex-metrica
Yandex Metrica MCP
L0· runs locallyMCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics.
v1.4.1 · active · repository · website · descriptor JSON · versions
Search / io.github.askads/mcp-yandex-metrica
L0· runs locallyMCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics.
v1.4.1 · active · repository · website · descriptor JSON · versions
{
"mcpServers": {
"mcp-yandex-metrica": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"YANDEX_METRIKA_TOKEN": "${YANDEX_METRIKA_TOKEN}",
"YANDEX_METRIKA_LANG": "ru",
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net",
"YANDEX_METRIKA_TIMEOUT_MS": "60000",
"YANDEX_METRIKA_MAX_RETRIES": "3"
}
}
}
}claude mcp add mcp-yandex-metrica -e "YANDEX_METRIKA_TOKEN=${YANDEX_METRIKA_TOKEN}" -e "YANDEX_METRIKA_LANG=ru" -e "YANDEX_METRIKA_API_BASE=https://api-metrika.yandex.net" -e "YANDEX_METRIKA_TIMEOUT_MS=60000" -e "YANDEX_METRIKA_MAX_RETRIES=3" -- npx -y [email protected][mcp_servers.mcp-yandex-metrica]
command = "npx"
args = ["-y", "[email protected]"]
env = { "YANDEX_METRIKA_TOKEN" = "${YANDEX_METRIKA_TOKEN}", "YANDEX_METRIKA_LANG" = "ru", "YANDEX_METRIKA_API_BASE" = "https://api-metrika.yandex.net", "YANDEX_METRIKA_TIMEOUT_MS" = "60000", "YANDEX_METRIKA_MAX_RETRIES" = "3" }
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"mcp-yandex-metrica": {
"type": "local",
"command": [
"npx",
"-y",
"[email protected]"
],
"enabled": true,
"environment": {
"YANDEX_METRIKA_TOKEN": "{env:YANDEX_METRIKA_TOKEN}",
"YANDEX_METRIKA_LANG": "ru",
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net",
"YANDEX_METRIKA_TIMEOUT_MS": "60000",
"YANDEX_METRIKA_MAX_RETRIES": "3"
}
}
}
}{
"mcpServers": {
"mcp-yandex-metrica": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"YANDEX_METRIKA_TOKEN": "${YANDEX_METRIKA_TOKEN}",
"YANDEX_METRIKA_LANG": "ru",
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net",
"YANDEX_METRIKA_TIMEOUT_MS": "60000",
"YANDEX_METRIKA_MAX_RETRIES": "3"
}
}
},
"deeplink": "cursor://anysphere.cursor-deeplink/mcp/install?name=mcp-yandex-metrica&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIm1jcC15YW5kZXgtbWV0cmljYUAxLjQuMSJdLCJlbnYiOnsiWUFOREVYX01FVFJJS0FfVE9LRU4iOiIke1lBTkRFWF9NRVRSSUtBX1RPS0VOfSIsIllBTkRFWF9NRVRSSUtBX0xBTkciOiJydSIsIllBTkRFWF9NRVRSSUtBX0FQSV9CQVNFIjoiaHR0cHM6Ly9hcGktbWV0cmlrYS55YW5kZXgubmV0IiwiWUFOREVYX01FVFJJS0FfVElNRU9VVF9NUyI6IjYwMDAwIiwiWUFOREVYX01FVFJJS0FfTUFYX1JFVFJJRVMiOiIzIn19"
}{
"servers": {
"mcp-yandex-metrica": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"YANDEX_METRIKA_TOKEN": "${YANDEX_METRIKA_TOKEN}",
"YANDEX_METRIKA_LANG": "ru",
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net",
"YANDEX_METRIKA_TIMEOUT_MS": "60000",
"YANDEX_METRIKA_MAX_RETRIES": "3"
}
}
}
}{
"mcpServers": {
"mcp-yandex-metrica": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"YANDEX_METRIKA_TOKEN": "${YANDEX_METRIKA_TOKEN}",
"YANDEX_METRIKA_LANG": "ru",
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net",
"YANDEX_METRIKA_TIMEOUT_MS": "60000",
"YANDEX_METRIKA_MAX_RETRIES": "3"
}
}
}
}extensions:
"mcp-yandex-metrica":
enabled: true
name: "mcp-yandex-metrica"
type: stdio
cmd: "npx"
args:
- "-y"
- "[email protected]"
envs:
"YANDEX_METRIKA_TOKEN": "${YANDEX_METRIKA_TOKEN}"
"YANDEX_METRIKA_LANG": "ru"
"YANDEX_METRIKA_API_BASE": "https://api-metrika.yandex.net"
"YANDEX_METRIKA_TIMEOUT_MS": "60000"
"YANDEX_METRIKA_MAX_RETRIES": "3"
timeout: 300
Placeholders to fill from your own secret store: ${YANDEX_METRIKA_TOKEN}. The registry never accepts secret values.
This is a local package: the command runs on your machine.
Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.
protocol.modern, protocol.stateless, protocol.transport, protocol.list_ttlno remote answered a protocol handshake (not probed yet, unreachable, or local-only)auth.prm, auth.as_metadata, auth.cimdno remote uses OAuthauth.secret_in_urlno templated URLtools.descriptions, tools.description_length, tools.schemas, tools.annotations, tools.directory_hints, tools.token_cost, tools.api_dumptool list unknown (behind auth, not probed, or empty)stability.changes, stability.rug_pulltool list unknowndeps.known_vulns1 advisory of lower severity or without a published fix: GHSA-5r4p-p66f-jhc7 in [email protected] (indirect, fixed in 4.13.11)deps.mcp_sdk_version@modelcontextprotocol/sdk 1.30.1 has 3 known advisories (GHSA-22jm-h49p-29qw, GHSA-6prh-2h8m-c8cw, GHSA-6qxp-vccf-f47h); update @modelcontextprotocol/sdk to 1.32.0 or laterdeps.resolvable[email protected] resolved: 98 packagesNo tool definition changes recorded. A server's first observation is its baseline; later probes record what changes.
Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed. How it is computed.
+repository +namespace-matches-repo +website ~liveness-unmeasured ~updated-63d-ago
Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed. How it is computed.
[email protected] npm97 dependencies, resolved · MCP SDK @modelcontextprotocol/sdk 1.30.1 · advisories checked 2026-10-20
| advisory | severity | package | fixed in |
|---|---|---|---|
| GHSA-22jm-h49p-29qwMCP TypeScript SDK: Experimental tasks were not tied to the session that created them | high | @modelcontextprotocol/[email protected]MCP SDK, direct | fixed in 1.32.0 |
| GHSA-6qxp-vccf-f47hMCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server | high | @modelcontextprotocol/[email protected]MCP SDK, direct | fixed in 1.31.0 |
| GHSA-6prh-2h8m-c8cwMCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies | moderate | @modelcontextprotocol/[email protected]MCP SDK, direct | fixed in 1.32.0 |
| GHSA-5r4p-p66f-jhc7Hono: `serveStatic` decodes the request path a second time, leading to bypass of middleware on static paths | moderate | [email protected]indirect | fixed in 4.13.11 |
Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0. The graph is what a clean install of this version resolves today; nothing was installed or run. How it is checked.
| package | registry | version | runtime | secrets |
|---|---|---|---|---|
mcp-yandex-metrica | npm | 1.4.1 | – | YANDEX_METRIKA_TOKEN |
No tools observed. Local packages are never executed by the registry.
Schemas: list_tools.
{
"name": "io.github.askads/mcp-yandex-metrica",
"title": "Yandex Metrica MCP",
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
"version": "1.4.1",
"packages": [
{
"version": "1.4.1",
"transport": {
"type": "stdio"
},
"identifier": "mcp-yandex-metrica",
"registryType": "npm",
"registryBaseUrl": "https://registry.npmjs.org",
"environmentVariables": [
{
"name": "YANDEX_METRIKA_TOKEN",
"isSecret": true,
"description": "Yandex Metrica OAuth token (scope metrika:read) — read access to analytics data. Treat it as a secret. Optional: without it the server starts anyway and connects through the in-chat login (start_login / finish_login)."
},
{
"name": "YANDEX_METRIKA_OAUTH_CLIENT_ID",
"description": "ClientID of your own Yandex OAuth app for the in-chat login. Defaults to the Ask Ads app scoped to metrika:read."
},
{
"name": "YANDEX_METRIKA_COUNTER_ID",
"description": "Default Metrica counter id, used when a tool call omits counterId."
},
{
"name": "YANDEX_METRIKA_LANG",
"default": "ru",
"description": "Language for API responses (ru, en, ...)."
},
{
"name": "YANDEX_METRIKA_API_BASE",
"default": "https://api-metrika.yandex.net",
"description": "API root host. Override only for a proxy or a non-default endpoint."
},
{
"name": "YANDEX_METRIKA_TIMEOUT_MS",
"default": "60000",
"description": "Per-request timeout in milliseconds."
},
{
"name": "YANDEX_METRIKA_MAX_RETRIES",
"default": "3",
"description": "Max retries for transient errors (429 rate limit, 5xx on reads)."
}
]
}
],
"repository": {
"url": "https://github.com/askads/mcp-yandex-metrica",
"source": "github"
},
"websiteUrl": "https://github.com/askads/mcp-yandex-metrica#readme",
"description": "MCP server for Yandex Metrica API: list counters, goals and pull web-analytics statistics."
}