SEO Tools: Yandex.Metrica MCP Server
by antohinsio.github.antohins/seo-tools-mcp-metrikav1.8.0
MCP server for Yandex.Metrica Stat API (read-only).
context tax
queued
security
queued
cold start
queued
freshness
Maintained39d ago
Install SEO Tools: Yandex.Metrica MCP server
Install in Claude Code
claude mcp add seo-tools-mcp-metrika -e YANDEX_OAUTH_TOKEN='<yandex-oauth-token>' -e METRIKA_OAUTH_TOKEN='<metrika-oauth-token>' -e YANDEX_CLIENT_SECRET='<yandex-client-secret>' -- npx -y seo-tools-mcp-metrikaInstall in Cursor
{
"mcpServers": {
"seo-tools-mcp-metrika": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-metrika"
],
"env": {
"YANDEX_OAUTH_TOKEN": "<yandex-oauth-token>",
"METRIKA_OAUTH_TOKEN": "<metrika-oauth-token>",
"YANDEX_CLIENT_SECRET": "<yandex-client-secret>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"seo-tools-mcp-metrika": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-metrika"
],
"env": {
"YANDEX_OAUTH_TOKEN": "<yandex-oauth-token>",
"METRIKA_OAUTH_TOKEN": "<metrika-oauth-token>",
"YANDEX_CLIENT_SECRET": "<yandex-client-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"seo-tools-mcp-metrika": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-metrika"
],
"env": {
"YANDEX_OAUTH_TOKEN": "<yandex-oauth-token>",
"METRIKA_OAUTH_TOKEN": "<metrika-oauth-token>",
"YANDEX_CLIENT_SECRET": "<yandex-client-secret>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"seo-tools-mcp-metrika": {
"command": "npx",
"args": [
"-y",
"seo-tools-mcp-metrika"
],
"env": {
"YANDEX_OAUTH_TOKEN": "<yandex-oauth-token>",
"METRIKA_OAUTH_TOKEN": "<metrika-oauth-token>",
"YANDEX_CLIENT_SECRET": "<yandex-client-secret>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| YANDEX_OAUTH_TOKEN | — | yes | Yandex OAuth token (shared Webmaster + Metrica); or obtain via metrika_oauth_start. |
| METRIKA_COUNTER_ID | — | — | Default Yandex.Metrica counter ID. |
| METRIKA_OAUTH_TOKEN | — | yes | Dedicated Metrica token (overrides the shared one; usually not needed). |
| YANDEX_CLIENT_ID | — | — | Yandex OAuth app client ID (for interactive auth and token refresh). |
| YANDEX_CLIENT_SECRET | — | yes | Yandex OAuth app client secret. |
Freshness
Maintained — last maintenance signal 39d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-01 · 39d ago · GitHub
Latest release
2026-08-25 · 46d ago · GitHub · v1.8.0
Package published
no data · npm/PyPI
Registry entry updated
2026-08-25 · 46d ago · official registry · v1.8.0
FAQ
›How do I install the SEO Tools: Yandex.Metrica MCP server in Claude Code?
Run: claude mcp add seo-tools-mcp-metrika -e YANDEX_OAUTH_TOKEN='<yandex-oauth-token>' -e METRIKA_OAUTH_TOKEN='<metrika-oauth-token>' -e YANDEX_CLIENT_SECRET='<yandex-client-secret>' -- npx -y seo-tools-mcp-metrika. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SEO Tools: Yandex.Metrica require an API key?
Yes. It expects YANDEX_OAUTH_TOKEN, METRIKA_OAUTH_TOKEN, YANDEX_CLIENT_SECRET, of which 3 are secrets.
›Can I use SEO Tools: Yandex.Metrica as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SEO Tools: Yandex.Metrica in the official MCP registry?
Yes, as io.github.antohins/seo-tools-mcp-metrika.
Alternatives to SEO Tools: Yandex.Metrica
Other crm & marketing MCP servers.