yandex metrica mcp for Grok
io.github.boxlab-ltd/yandex-metrica-mcp
Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.
client:Grok
transport:stdio
runtime:npm
Install yandex metrica mcp in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"yandex-metrica-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"yandex-metrica-mcp"
],
"env": {
"YANDEX_METRIKA_TOKEN": "<YANDEX_METRIKA_TOKEN>",
"YANDEX_METRIKA_COUNTER_ID": "<YANDEX_METRIKA_COUNTER_ID>",
"YANDEX_METRIKA_LOGS_DIR": "<YANDEX_METRIKA_LOGS_DIR>"
}
}
}
}
Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs