プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。Google でログインするとレビューを書けます。プロトタイプ · 30分ごとに更新
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Yandex Metrica MCP

作者:BoxLab-Ltdバージョン 1.0.1i★ 15iパソコンで動くリポジトリ ↗
レジストリ名io.github.BoxLab-Ltd/yandex-metrica-mcp

インストール方法

What it does

Query Yandex Metrica analytics — reports, trends, metadata and raw log exports — via an AI agent.

  • Connects パソコンで動く
  • Account or key No key needed
  • Category マーケティング・SNS

一緒に使える

この種の作業を AI に教える Skill。これと一緒に使えます

scroll-world

A skill that turn any brand into a scrollable 3D world landing page

作者:oso95★ 11,0651 個の skill

Skill · 手順書

social-auto-upload

自动化上传视频到社交媒体:抖音、小红书、视频号、tiktok、youtube、bilibili

作者:dreammis★ 16,698 (whole repo)4 個の skill

Skill · 手順書

native-subtitle-quote-image

保留视频内嵌字幕,精确取帧并生成 3:4 社交长图的 Agent Skill

作者:chengyi-ai★ 2,8911 個の skill

Skill · 手順書

この順位の理由

一覧は利用スコア(100 点満点)で並びます。内訳は次のとおり

人気23/80GitHub スターか週間ダウンロード数。大きい方を 60、小さい方を 20 で数えます
新しさ12/1230 日以内のリリースかコード更新で満点
応答中0/8前回の確認でクラウドのエンドポイントが応答
利用スコア35/100

品質: 基本チェック 3/3 項目に合格(表示のみ、並び順には不使用) · 勢い: 31 (「急上昇」タブでのみ使用)

インストール

使っているAIアプリを選んで、設定をコピーしてください。

ひとことで AI にインストールしてもらう

Yandex Metrica MCP をインストールして。https://mcp.popnx.com/i/boxlab-ltd-yandex-metrica-mcp.md に従い、コマンドを見せて、私が OK するまで実行しないで。

パソコンで作業できる AI(Claude Code や Cursor など)に貼り付けます。手順を読み、コマンドを見せて、あなたの OK を待ちます。キー不要・登録不要。 · AI が読む全文を見る

チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月14日

まず:どの AI を使っていますか?

使っているアプリを選ぶと、下に手順が表示されます。

Claude につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません

AI にインストールしてもらう

このメッセージを Claude のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude に MCP server Yandex Metrica MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "yandex-metrica": { "command": "npx", "args": [ "-y", "yandex-metrica-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Yandex Metrica MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. パソコン版 Claude アプリの設定ファイルを開く

    SettingsDeveloperEdit Config

  3. この設定を貼り付けて保存

    {
      "mcpServers": {
        "yandex-metrica": {
          "command": "npx",
          "args": [
            "-y",
            "yandex-metrica-mcp"
          ]
        }
      }
    }
  4. Claude を終了してもう一度開く

  5. 試してみる

    Yandex Metrica MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude が Yandex Metrica MCP を使っていると言うか、回答に Yandex Metrica MCP のツール名が出れば接続成功です

追加の設定 4 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • YANDEX_METRIKA_TOKEN Yandex Metrica の OAuth トークン(metrika:read)。auth ログインを実行する場合は省略可能です。
    英語の原文を見るYandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID 既定のカウンター ID。ツールは counterId を省略できます。
    英語の原文を見るDefault counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE 1 に設定すると書き込みツール(チャートへの注釈、経費のアップロード)が追加されます。この場合、サインイン時に metrika:write も要求されます。すべての変更は確認が必要です。
    英語の原文を見るSet to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR Logs API のファイルエクスポート用ディレクトリ(ファイルモードの logs_download)。デフォルトは OS の一時ディレクトリ配下のフォルダです。
    英語の原文を見るDirectory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

ChatGPT はまだ Yandex Metrica MCP につなげません

Yandex Metrica MCP はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません

代わりにできること

A · Yandex Metrica MCP につなげるアプリを使う

  • 先にパソコンへ Node.js を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)
  • 先にパソコンへ Node.js を入れてください(1 回だけ)

B · マーケティング・SNS の中で ChatGPT につなげる別のサーバー

同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました

Claude Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Claude Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Claude Code に MCP server Yandex Metrica MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):claude mcp add --scope user yandex-metrica -- npx -y yandex-metrica-mcp 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Yandex Metrica MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. ターミナルを開く

    Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く

  3. このコマンドを貼り付けて Enter

    claude mcp add --scope user yandex-metrica -- npx -y yandex-metrica-mcp
  4. Claude Code で /mcp と入力

    Yandex Metrica MCP が一覧にあり、接続済みと表示されれば OK です

  5. 試してみる

    Yandex Metrica MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Claude Code が Yandex Metrica MCP を使っていると言うか、回答に Yandex Metrica MCP のツール名が出れば接続成功です

追加の設定 4 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • YANDEX_METRIKA_TOKEN Yandex Metrica の OAuth トークン(metrika:read)。auth ログインを実行する場合は省略可能です。
    英語の原文を見るYandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID 既定のカウンター ID。ツールは counterId を省略できます。
    英語の原文を見るDefault counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE 1 に設定すると書き込みツール(チャートへの注釈、経費のアップロード)が追加されます。この場合、サインイン時に metrika:write も要求されます。すべての変更は確認が必要です。
    英語の原文を見るSet to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR Logs API のファイルエクスポート用ディレクトリ(ファイルモードの logs_download)。デフォルトは OS の一時ディレクトリ配下のフォルダです。
    英語の原文を見るDirectory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Cursor につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを Cursor のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの Cursor に MCP server Yandex Metrica MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "mcpServers": { "yandex-metrica": { "command": "npx", "args": [ "-y", "yandex-metrica-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Yandex Metrica MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで Cursor を開く

    Cursor で開く

    Cursor がインストールの確認をするので Install を押します

  3. Cursor の AI チャットを Agent モードで開く

  4. 試してみる

    Yandex Metrica MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ Cursor が Yandex Metrica MCP を使っていると言うか、回答に Yandex Metrica MCP のツール名が出れば接続成功です

追加の設定 4 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • YANDEX_METRIKA_TOKEN Yandex Metrica の OAuth トークン(metrika:read)。auth ログインを実行する場合は省略可能です。
    英語の原文を見るYandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID 既定のカウンター ID。ツールは counterId を省略できます。
    英語の原文を見るDefault counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE 1 に設定すると書き込みツール(チャートへの注釈、経費のアップロード)が追加されます。この場合、サインイン時に metrika:write も要求されます。すべての変更は確認が必要です。
    英語の原文を見るSet to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR Logs API のファイルエクスポート用ディレクトリ(ファイルモードの logs_download)。デフォルトは OS の一時ディレクトリ配下のフォルダです。
    英語の原文を見るDirectory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

VS Code につなげますが、先に準備が必要です

先にパソコンへ Node.js を入れてください(1 回だけ)

AI にインストールしてもらう

このメッセージを VS Code のチャットに貼り付けます。AI がパソコンを確認し、変更するファイルを伝え、毎回あなたの了承を待ちます。

このパソコンの VS Code に MCP server Yandex Metrica MCP を入れてください。順番に:1) node -v で Node.js があるか確認。なければ https://nodejs.org/en/download から入れるよう私に伝え、自分では入れない。2) この設定だけを使う(PopNx MCP の確認済み):{ "servers": { "yandex-metrica": { "type": "stdio", "command": "npx", "args": [ "-y", "yandex-metrica-mcp" ] } } } 3) 変更するファイルのフルパスか実行するコマンドを伝えて、私の了承を待つ。4) キーは不要。5) 了承した内容を実行し、Yandex Metrica MCP のツールが本当に表示されるか確認する。

このメッセージにあなたのキーは含まれません。キーが必要な場合は、AI がファイルやアプリの入力欄にご自身で貼るよう案内します。

  1. Node.js を入れる(まだなければ)

    もう入っていますか?先に確認 · ターミナルを開き、このコマンドを入力して Enter

    node -v
    • バージョン番号(例 v26.13.1)が出る = 入っています。この手順は飛ばせます
    • "command not found"(Windows では "is not recognized")が出る = まだ入っていないか、入れた直後でターミナルを開き直す必要があります
    ターミナルの開き方

    Mac:⌘ + Space を押し、Terminal と入力して Enter

    Windows:スタートメニューを開き、Windows PowerShell と入力して「開く」

    まだ入っていない場合: 公式ダウンロードページで LTS 版と、クリックで進むインストーラーを選びます:Mac は .pkg、Windows は .msi。ダブルクリックして最後まで進めるだけで、curl コマンドは不要です

    Node.js のダウンロードページを開く ↗

    入れ終わったらターミナルを閉じて開き直し、同じコマンドをもう一度実行します。バージョン番号が出れば完了です: node -v

    一度入れれば、Node.js を使うすべてのツールで使えます

  2. このボタンで VS Code を開く

    VS Code で開く

    VS Code がインストールの確認をするので Install を押します

  3. VS Code の AI チャットを Agent モードで開く

  4. 試してみる

    Yandex Metrica MCP を使って、私に何ができるか教えて、1 つやってみせて

    ✓ VS Code が Yandex Metrica MCP を使っていると言うか、回答に Yandex Metrica MCP のツール名が出れば接続成功です

追加の設定 4 項目(入力しなくても使えます)

上のコマンドはこれらがなくても動きます。変えたいときだけ作者の説明に沿って追加してください。

  • YANDEX_METRIKA_TOKEN Yandex Metrica の OAuth トークン(metrika:read)。auth ログインを実行する場合は省略可能です。
    英語の原文を見るYandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID 既定のカウンター ID。ツールは counterId を省略できます。
    英語の原文を見るDefault counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE 1 に設定すると書き込みツール(チャートへの注釈、経費のアップロード)が追加されます。この場合、サインイン時に metrika:write も要求されます。すべての変更は確認が必要です。
    英語の原文を見るSet to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR Logs API のファイルエクスポート用ディレクトリ(ファイルモードの logs_download)。デフォルトは OS の一時ディレクトリ配下のフォルダです。
    英語の原文を見るDirectory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります

Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください

MCP を使えるアプリをすべて見る →

JSON 設定は下の「開発者向け」にあります

つまずいたら?Yandex Metrica MCP を使っている人に聞いてみましょう💬 ディスカッション →
開発者向け:ターミナルのコマンドと JSON 設定

パソコンにインストール

Claude Code

claude mcp add --scope user yandex-metrica -- npx -y yandex-metrica-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "yandex-metrica": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-metrica-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "yandex-metrica": {
      "command": "npx",
      "args": [
        "-y",
        "yandex-metrica-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "yandex-metrica": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "yandex-metrica-mcp"
      ]
    }
  }
}

自分で入力する値

  • YANDEX_METRIKA_TOKEN 秘密 env
    Yandex Metrica の OAuth トークン(metrika:read)。auth ログインを実行する場合は省略可能です。
    英語の原文を見るYandex Metrica OAuth token (metrika:read). Optional if you run the `auth` login.
  • YANDEX_METRIKA_COUNTER_ID env
    既定のカウンター ID。ツールは counterId を省略できます。
    英語の原文を見るDefault counter id, so tools may omit counterId.
  • YANDEX_METRIKA_ENABLE_WRITE env
    1 に設定すると書き込みツール(チャートへの注釈、経費のアップロード)が追加されます。この場合、サインイン時に metrika:write も要求されます。すべての変更は確認が必要です。
    英語の原文を見るSet to 1 to add the write tools (chart annotations, expense upload). Sign-in then also asks for metrika:write; every change is confirmed.
  • YANDEX_METRIKA_LOGS_DIR env
    Logs API のファイルエクスポート用ディレクトリ(ファイルモードの logs_download)。デフォルトは OS の一時ディレクトリ配下のフォルダです。
    英語の原文を見るDirectory for Logs API file exports (logs_download in file mode). Defaults to a folder under the OS temp directory.

説明は自動翻訳です。変数名は原文のままです。迷ったら原文を確認してください。

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

ひと目でわかる

週あたりのダウンロードi
606/週
接続方法
パソコンで動く
最新バージョンi
1.0.1
レジストリ公開日i
2026年11月6日
コードの最終更新i
2026年11月16日
作者
BoxLab-Ltd
パッケージ
npm: yandex-metrica-mcp
レジストリでの状態
有効

使えるアプリ

このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。

パソコン上で動かせるアプリ

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

すべてのアプリと長所・短所 →

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月19日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント BoxLab-Ltd で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:3 日前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

公開済みの脆弱性(OSV.dev)

OSV.dev に yandex-metrica-mcp@1.0.1 の登録はありません

このバージョンのパッケージ本体のみ確認。すべての依存関係ではありません · 確認日 2026年11月15日

確認していること → · JSON

作者の方へ:再確認の依頼・情報の誤りの報告
作者向け:README にバッジを付ける

作者の方は、このコードを README に貼れます。バッジはこのページにリンクします。

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/boxlab-ltd-yandex-metrica-mcp.svg)](https://mcp.popnx.com/en/servers/boxlab-ltd-yandex-metrica-mcp)

話し合い

質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。

まだ投稿はありません。最初の質問や共有をどうぞ。

ここの投稿は利用者によるもので、PopNx チームのものではありません。

ログインして投稿

ユーザーレビュー

まだレビューはありません

ログインしてレビューを書く

マーケティング・SNSのほかのサーバーとの比較i

  • このカテゴリのほかの4225件のうち97%よりスターが多い
  • このカテゴリのほかの4225件のうち71%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの4225件のうち99%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Yandex Metrica MCPは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

レジストリには必須のキーは載っていません。ただし、最初に使うときにサインインを求めるサーバーもあります。

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は3 日前、最新バージョン(1.0.1)がレジストリに届いたのは13 日前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。

代わりに使えるものは?

同じカテゴリには:Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

似た働きのほかの候補

同じカテゴリでほかの作者のもの。コマンドは確認済み。公式を先に、次にスター順。

カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Relaticle

Open-source CRM your AI agents can write to: companies, people, opportunities, tasks and notes.

作者:relaticle成長中★ 1873今日更新

クラウドで動く✓ 提供元 · relaticle.com

ChatbotX

Omnichannel customer messaging, CRM contacts, flows, sequences, broadcasts, and AI automation.

作者:ChatbotXIO成長中★ 1144 リポジトリ全体のスター13 日前更新

クラウドで動く✓ 提供元 · chatbotx.io

Betterlytics

Query your Betterlytics web analytics from AI agents: traffic, funnels, journeys, errors, uptime.

作者:betterlytics成長中★ 1964 か月前更新

クラウドで動く✓ 提供元 · betterlytics.io
似たものと比べる
これ
Yandex Metrica MCP
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
動く場所パソコンにインストールが必要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要クラウドで動き、インストール不要
キーが必要いいえいいえいいえいいえはいいいえ
Claude で + から追加いいえいいえいいえいいえいいえいいえ
基本チェック3/34/44/44/44/44/4
ライセンスMITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
料金登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし登録情報に費用の記載なし

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

yandex-metrica-mcp

Ask your Yandex Metrica analytics in plain language — from Claude, Cursor, or any MCP client.

A Model Context Protocol (MCP) server for Yandex Metrica. It lets an AI agent query your web-analytics data — traffic, sources, landing pages, conversions, geography, devices and trends — through a small set of flexible, read-only tools — plus opt-in write tools that you confirm one change at a time.

Read-only by default, no secrets stored in the package: interactive login uses

a built-in public OAuth client with PKCE, and the server talks only to Yandex.

General-purpose: marketing, product analytics, e-commerce and SEO are all fair game — the server is not tied to any one use case.

Demo

Point an AI agent at your counter and ask about your traffic — the server queries Yandex Metrica and hands back real, read-only data, no dashboards. Here the run_report tool answers a “traffic sources, last 7 days” question against a live counter:

Quickstart

1. Add the server to your MCP client (e.g. Claude Desktop) — no token required up front; you log in interactively in step 2:

{

"mcpServers": { "yandex-metrica": { "command": "npx", "args": ["-y", "yandex-metrica-mcp"], "env": { "YANDEX_METRIKA_COUNTER_ID": "12345678" } } } }

2. Log in once — one command, no app registration, no secret stored:

npx yandex-metrica-mcp auth

Approve access in the browser and you're done — the code is handed back automatically over a local redirect, no copy-paste. The login uses authorization-code + PKCE, so no client secret ever touches your machine; the token is cached (mode 0600) and valid for ~1 year.

3. Ask your agent about traffic, sources, conversions, geography, devices, or trends — see Examples for prompts.

Prefer a static token (CI / non-interactive) or your own OAuth app? See Authentication.

Or install as a Claude Code plugin

The repo doubles as the plugin marketplace for BoxLab's Yandex MCP family, so you can install the server through Claude Code's plugin system instead of the config above:

/plugin marketplace add BoxLab-Ltd/yandex-metrica-mcp

/plugin install yandex-metrica-mcp@boxlab

Then sign in from the chat with the login tool (or run npx yandex-metrica-mcp auth). The same marketplace also carries yandex-webmaster-mcp. To turn on the write tools in the plugin, start Claude Code with YANDEX_METRIKA_ENABLE_WRITE=1 in the environment.

Or install as a Claude Desktop extension (.mcpb)

For a one-click install with no JSON, download the .mcpb from the latest release and open it with Claude Desktop (or drag it into Settings → Extensions). It asks for an optional default counter id; then sign in from the chat with the login tool (or run npx yandex-metrica-mcp auth).

Why

There is no official Yandex Metrica MCP server, and existing community ones are mostly thin, unmaintained, or dump raw data straight into the model's context. This server aims to be the well-engineered, well-maintained, open option: flexible report tools, strict token/context discipline, read-only by default.

Features

  • run_report — flexible wrapper over the Reporting API (/stat/v1/data).
  • run_comparison — compare two periods with absolute and percentage deltas.
  • run_drilldown — drill down through a dimension tree.
  • run_timeseries — metrics split into a time series (/bytime) for trends.
  • get_metadata — discover the counters on your account and a catalog of common dimensions/metrics (and Logs API fields) so the model queries with real names.
  • describe_counter — read one counter's configuration (goals, segments, filters, operations, access grants, chart annotations) via an include selector. The goals section gives the goal ids needed for conversion metrics in run_report.
  • logs_request / logs_status / logs_download / logs_clean — Logs API: export raw, un-sampled session (visits) or hit (hits) rows. Async lifecycle (request → poll → download → clean); logs_download returns a bounded sample inline by default, or streams the full export to a file — never dumping raw rows into the model's context.
  • login / submit_code — sign in to Yandex Metrica from your MCP client, no terminal needed: login opens the browser and captures the code over a local redirect, or hands back a URL and takes the pasted code via submit_code.
  • Built-in context control: field selection on by default, low default row limits, and sampling/quota surfaced back to the model.
  • Analysis hygiene: the server hands every client a short set of rules (exclude robots, compare complete periods, never sum users, use explicit goals, …). The Claude Code plugin adds the fuller metrica-hygiene skill.
Write tools (opt-in)

Off unless you set YANDEX_METRIKA_ENABLE_WRITE=1. Then the server adds:

  • manage_annotation — create, update or delete a note pinned to a chart date (a release, a campaign start, an outage).
  • upload_expenses — import ad costs from a non-Yandex source as CSV, so Metrica reports cost and ROI. dryRun: true validates the file and shows the rows, dates and totals without sending anything.

With the flag on, sign-in also asks for the metrika:write scope — run auth (or the login tool) once more after turning it on. Without the flag the sign-in asks for read access only, and tokens issued earlier keep working. Every change is confirmed by you before it is sent: your client shows a confirmation prompt if it supports MCP elicitation, otherwise the tool returns a summary and a one-time token that the agent can use only after you agree. The server also checks that your account has edit access to the counter.

Local HTTP mode

By default the server talks stdio, started by your MCP client. For clients that connect by URL, or to share one running server between several clients, start it over Streamable HTTP:

npx yandex-metrica-mcp --http            # http://127.0.0.1:7801/mcp

npx yandex-metrica-mcp --http --port 9000

Or set MCP_TRANSPORT=http (and MCP_HTTP_PORT). Every client gets its own session; they share one sign-in and one request budget. The server listens on 127.0.0.1 only and rejects requests whose Host or Origin is not local, so a web page cannot reach it. To listen on another interface (--host 0.0.0.0, e.g. in Docker) you must set MCP_HTTP_TOKEN; clients then send Authorization: Bearer . This is a local mode, not hosting: one user, one Yandex account.

Requirements

  • Node.js >= 18
  • Yandex Metrica credentials with the metrika:read scope (see Authentication), plus metrika:write for the opt-in write tools. Whoever the credentials belong to must have access to the counters you query.

Authentication

Recommended: interactive login. No app registration needed — the server ships a built-in public OAuth client. Run once:

yandex-metrica-mcp auth     # or, in dev: bun run auth

It opens the Yandex consent page in your browser; after you approve, the code is returned automatically over a loopback redirect (http://127.0.0.1:53682) — no copy-paste. If that port is taken, it falls back to showing a code you paste in (force that flow with auth --oob, or change the port with YANDEX_OAUTH_LOOPBACK_PORT). The token is cached at ~/.config/yandex-metrica-mcp/token.json (mode 0600) and is valid for ~1 year; re-run auth when it expires. The login uses authorization-code + PKCE, so no client secret is stored anywhere. A cached login takes precedence over YANDEX_METRIKA_TOKEN.

From your MCP client (no terminal). Not signed in yet? The server still starts — ask your agent to run the login tool and it does the same browser flow in-process (or returns a URL and takes the code via submit_code). Handy for GUI clients like Claude Desktop, where there is no terminal to run auth.

Static token. Get a token for an app with the metrika:read scope at https://oauth.yandex.ru and pass it as YANDEX_METRIKA_TOKEN — handy for CI or non-interactive use.

Own OAuth app (optional). To use your own app instead of the built-in one, set YANDEX_OAUTH_CLIENT_ID; add YANDEX_OAUTH_CLIENT_SECRET to also enable automatic token refresh.

Configuration

The Quickstart covers the happy path. For all options — static token, your own OAuth app, default counter, request tuning, language — see .env.example. The published package runs on Node (so npx/MCP clients work out of the box); local development uses Bun.

Examples

Once connected, an agent can answer questions like:

  • “How many visits and users did counter 12345678 get last week, split by traffic source?” → run_report with metrics: ["ym:s:visits","ym:s:users"], dimensions: ["ym:s:lastsignTrafficSource"].
  • “Compare this week's organic conversions to last week's.” → run_comparison (server returns A, B, and the deltas).
  • “Which operating systems do my visitors use? Let me drill into Windows versions.” → run_drilldown, then again with parentId.
  • “What counters do I have?” → get_metadata.
  • “List this counter's goals, then show how the ‘Purchase’ goal converted last week.” → describe_counter (include: ["goals"]) for the goal id, then run_report with ym:s:goal conversionRate.
  • “Export last month's raw sessions with landing pages and referrers for offline analysis.” → logs_request (source: "visits"), poll logs_status, then logs_download (mode: "file"), then logs_clean to free the quota.

Development

This project is Bun-first:

bun install

bun run dev # run from source with hot reload bun run typecheck # tsc --noEmit bun run lint # eslint bun test # bun's test runner bun run build # emit dist/ with tsc (Node-compatible)

The skill has an eval suite in evals/ that runs against mocked Metrica tools, so it never touches the real API:

claude plugin eval . --ablation none

License

MIT © boxlab