Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Yandex Audience MCP

by A1-x-Techversion 1.2.1i★ 0iRuns on your computerRepository ↗
Registry nameio.github.A1-x-Tech/mcp-yandex-audience

How to install

What it does

MCP server for Yandex Audience API: segments (CRM, lookalike, pixel), pixels, grants.

  • Connects Runs on your computer
  • Account or key Needs YANDEX_AUDIENCE_TOKEN
  • Category Marketing & social media

Use together with

Skills that teach the AI this kind of work; they work alongside this one

scroll-world

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

by oso95★ 11,0551 skills

Skill · How-to guide

social-auto-upload

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

by dreammis★ 16,657 (whole repo)4 skills

Skill · How-to guide

native-subtitle-quote-image

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

by chengyi-ai★ 2,8881 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Yandex Audience MCP. Follow https://mcp.popnx.com/i/a1-x-tech-mcp-yandex-audience.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Audience MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "yandex-audience": { "command": "npx", "args": [ "-y", "mcp-yandex-audience" ], "env": { "YANDEX_AUDIENCE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YANDEX_AUDIENCE_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Yandex Audience MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Yandex Audience MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Yandex Audience MCP site ↗

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "yandex-audience": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-yandex-audience"
          ],
          "env": {
            "YANDEX_AUDIENCE_TOKEN": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Yandex Audience MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Yandex Audience MCP or shows a Yandex Audience MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_AUDIENCE_API_HOST API host override (https://api-audience.yandex.com for international accounts). · default https://api-audience.yandex.ru
  • YANDEX_AUDIENCE_TIMEOUT_MS Per-request timeout in milliseconds. · default 60000
  • YANDEX_AUDIENCE_MAX_RETRIES Retries on 429 (5xx/network retried for GET only). · default 3

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Yandex Audience MCP yet

Yandex Audience MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Yandex Audience MCP

  • You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Marketing & social media that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Audience MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user yandex-audience --env YANDEX_AUDIENCE_TOKEN=your-value -- npx -y mcp-yandex-audience 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YANDEX_AUDIENCE_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Yandex Audience MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Yandex Audience MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Yandex Audience MCP site ↗

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user yandex-audience --env YANDEX_AUDIENCE_TOKEN=your-value -- npx -y mcp-yandex-audience

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Yandex Audience MCP listed as connected

  6. Try it

    Use Yandex Audience MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Yandex Audience MCP or shows a Yandex Audience MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_AUDIENCE_API_HOST API host override (https://api-audience.yandex.com for international accounts). · default https://api-audience.yandex.ru
  • YANDEX_AUDIENCE_TIMEOUT_MS Per-request timeout in milliseconds. · default 60000
  • YANDEX_AUDIENCE_MAX_RETRIES Retries on 429 (5xx/network retried for GET only). · default 3

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Audience MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "yandex-audience": { "command": "npx", "args": [ "-y", "mcp-yandex-audience" ], "env": { "YANDEX_AUDIENCE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YANDEX_AUDIENCE_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Yandex Audience MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Yandex Audience MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Yandex Audience MCP site ↗

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Yandex Audience MCP settings, YANDEX_AUDIENCE_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Yandex Audience MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Yandex Audience MCP or shows a Yandex Audience MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_AUDIENCE_API_HOST API host override (https://api-audience.yandex.com for international accounts). · default https://api-audience.yandex.ru
  • YANDEX_AUDIENCE_TIMEOUT_MS Per-request timeout in milliseconds. · default 60000
  • YANDEX_AUDIENCE_MAX_RETRIES Retries on 429 (5xx/network retried for GET only). · default 3

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Yandex Audience MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Audience MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "yandex-audience": { "type": "stdio", "command": "npx", "args": [ "-y", "mcp-yandex-audience" ], "env": { "YANDEX_AUDIENCE_TOKEN": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For YANDEX_AUDIENCE_TOKEN, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Yandex Audience MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Yandex Audience MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    Open the Yandex Audience MCP site ↗

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Yandex Audience MCP settings, YANDEX_AUDIENCE_TOKEN is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Yandex Audience MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Yandex Audience MCP or shows a Yandex Audience MCP tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_AUDIENCE_API_HOST API host override (https://api-audience.yandex.com for international accounts). · default https://api-audience.yandex.ru
  • YANDEX_AUDIENCE_TIMEOUT_MS Per-request timeout in milliseconds. · default 60000
  • YANDEX_AUDIENCE_MAX_RETRIES Retries on 429 (5xx/network retried for GET only). · default 3

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Yandex Audience MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user yandex-audience --env YANDEX_AUDIENCE_TOKEN=your-value -- npx -y mcp-yandex-audience

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "yandex-audience": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-yandex-audience"
      ],
      "env": {
        "YANDEX_AUDIENCE_TOKEN": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "yandex-audience": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-yandex-audience"
      ],
      "env": {
        "YANDEX_AUDIENCE_TOKEN": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "yandex-audience": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-yandex-audience"
      ],
      "env": {
        "YANDEX_AUDIENCE_TOKEN": "your-value"
      }
    }
  }
}

Values you fill in

  • YANDEX_AUDIENCE_TOKEN secret required env
    Yandex OAuth token, sent as `Authorization: OAuth …`. Treat it as a secret.
  • YANDEX_AUDIENCE_API_HOST env
    API host override (https://api-audience.yandex.com for international accounts).
  • YANDEX_AUDIENCE_TIMEOUT_MS env
    Per-request timeout in milliseconds.
  • YANDEX_AUDIENCE_MAX_RETRIES env
    Retries on 429 (5xx/network retried for GET only).

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
154/wk
Connection
Runs on your computer
Latest versioni
1.2.1
Published to registryi
Nov 1, 2026
Code last changedi
Nov 1, 2026
Maker
A1-x-Tech
Packages
npm: mcp-yandex-audience
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

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

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account A1-x-Tech, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 18 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for mcp-yandex-audience@1.2.1

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/a1-x-tech-mcp-yandex-audience.svg)](https://mcp.popnx.com/en/servers/a1-x-tech-mcp-yandex-audience)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Marketing & social mediai

  • More stars than 0% of the other 4175 servers in this category
  • Published to the registry more recently than 64% of the other 4175 servers in this category
  • Basic checks equal to or better than 99% of the other 4175 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Yandex Audience MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: YANDEX_AUDIENCE_TOKEN

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 18 days ago, and the latest version (1.2.1) reached the registry 18 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Relaticle, ChatbotX, X (Twitter) MCP Server by Xquik, Betterlytics, BibiGPT YouTube Video Summarizer

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

ChatbotX

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

by ChatbotXIOGrowing★ 1.1K Stars for the whole repoUpdated 13 days ago

Runs in the cloud✓ service owner · chatbotx.io

Betterlytics

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

by betterlyticsGrowing★ 196Updated 4 months ago

Runs in the cloud✓ service owner · betterlytics.io
Compared with similar ones
This one
Yandex Audience MCP
RelaticleChatbotXX (Twitter) MCP Server by XquikBetterlyticsBibiGPT YouTube Video Summarizer
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoNo
Basic checks3/34/44/44/44/44/4
LicenseMITAGPL-3.0NOASSERTIONMITAGPL-3.0MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

Яндекс Аудитории MCP

A1 Яндекс Аудитории MCP подключает AI-приложение к сегментам, пикселям и доступам Яндекс Аудиторий. Попросите на естественном языке показать, что уже есть в аккаунте, подготовить сегмент из CRM, собрать похожую аудиторию или выдать доступ коллегам — ассистент выполнит это через ваш аккаунт. Подключение начинается прямо в диалоге: не нужно заранее создавать токен или редактировать конфигурацию.

  • 20 инструментов. Сегменты, пиксели, доступы, подключение аккаунта и дополнительный прямой вызов API.
  • Подключение в чате. Яндекс откроет страницу входа; одноразовый код действует 10 минут, а сервер проверит доступ к сегментам сразу после подключения.
  • CRM и идентификаторы. CSV с email и телефонами, а также TSV/TXT с device ID, MAC-адресами или SHA256-хешами.
  • Два шага для сегмента из файла. Сначала загрузка, затем отдельное подтверждение параметров и запуск обработки.
  • Без глобальной установки. Пакет запускается через npx на Node.js 20+ и подключается к AI-клиенту по stdio.

Попробуйте первым сообщением:

Покажи мои сегменты в Яндекс Аудиториях: названия, типы и текущие статусы.

Подключить сервер · Посмотреть сценарии · Открыть техническую документацию


Увидеть работу за минуту

Вы: Подключи Яндекс Аудитории.

Ассистент: Даёт ссылку на вход в Яндекс. Откройте её под аккаунтом, которому принадлежат нужные сегменты (или которому они доверены), подтвердите доступ и пришлите показанный код.

Вы: Отправляет код со страницы Яндекса.

Ассистент: Подключает Аудитории, проверяет, видны ли сегменты, и сообщает результат. Перезапускать приложение не нужно.

Вы: Загрузи buyers.csv как CRM-сегмент «Покупатели 2026» и остановись после загрузки.

Ассистент: Загружает файл — в аккаунте появляется сегмент со статусом uploaded, показывает его id, имя и параметры и ждёт отдельного подтверждения. После подтверждения обработка идёт не мгновенно, поэтому статус проверяется через список сегментов.

Содержание

  • Быстрый старт
  • Что можно поручить
  • Как это работает
  • Что может изменить данные
  • Подключение и настройка
  • Данные и телеметрия
  • Ограничения
  • Техническая документация
  • Поддержка

Быстрый старт

Нужны Node.js 20 или новее и аккаунт Яндекс Аудиторий. Сервер запускается через npx, поэтому отдельно устанавливать пакет не требуется. Токен заранее не нужен — подключение проходит прямо в диалоге; для CI можно задать готовый токен, см. Подключение и настройка.

  1. Добавьте сервер в AI-приложение — ниже открыт пример для Codex, остальные приложения собраны в сворачиваемые инструкции.
  2. Напишите: «Подключи Яндекс Аудитории». Ассистент проведёт через вход в Яндекс и проверит доступ к сегментам.
  3. Начните с безопасного запроса, например: «Покажи мои сегменты в Яндекс Аудиториях: названия, типы и текущие статусы».

Codex

Через интерфейс приложения:

  1. Откройте Settings → MCP servers.
  2. Нажмите Add server.
  3. Выберите STDIO, затем укажите команду запуска npx -y mcp-yandex-audience@latest.
  1. Нажмите Save, затем Restart.

Через командную строку:

codex mcp add yandex-audience -- npx -y mcp-yandex-audience@latest

Проверьте подключение:

codex mcp list

Затем в чате Codex попросите: «Подключи Яндекс Аудитории».

Официальная инструкция Codex

Claude Code

claude mcp add --transport stdio --scope user yandex-audience -- npx -y mcp-yandex-audience@latest

Проверьте подключение:

claude mcp list

Затем начните диалог с просьбы подключить Яндекс Аудитории.

Официальная инструкция Claude Code

Claude Desktop

Актуальный официальный путь — Settings → Extensions. Для пользовательского desktop extension откройте Advanced settings → Extension Developer → Install Extension…, выберите файл .mcpb и следуйте подсказкам.

Этот репозиторий сейчас публикует npm-пакет со stdio и пока не содержит .mcpb. Поэтому используйте приведённый ниже JSON stdio-конфиг как fallback только в сборках Claude Desktop, где ещё поддерживается локальная конфигурация:

{

"mcpServers": { "yandex-audience": { "command": "npx", "args": ["-y", "mcp-yandex-audience@latest"] } } }

В таких сборках сохраните его в ~/Library/Application Support/Claude/claude_desktop_config.json на macOS или %APPDATA%\Claude\claude_desktop_config.json на Windows.

После сохранения откройте новый диалог и попросите подключить Яндекс Аудитории.

Официальная инструкция Claude Desktop

Cursor

Пользовательский локальный сервер добавляется в Cursor через файл mcp.json:

  • macOS и Linux: ~/.cursor/mcp.json
  • Windows: %USERPROFILE%\.cursor\mcp.json
{

"mcpServers": { "yandex-audience": { "type": "stdio", "command": "npx", "args": ["-y", "mcp-yandex-audience@latest"] } } }

В чате Cursor сервер появится среди доступных инструментов. Попросите подключить Яндекс Аудитории и пройдите вход через Яндекс.

Официальная инструкция Cursor

VS Code

Откройте палитру команд и выполните MCP: Open User Configuration. VS Code создаст пользовательский файл MCP. Добавьте в него:

{

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

Проверьте запуск командой MCP: List Servers, затем откройте чат и попросите подключить Яндекс Аудитории.

Официальная инструкция VS Code

Что можно поручить

Проверить, что уже есть в аккаунте
  • Посмотреть сегменты, их типы, статусы и идентификаторы.
  • Найти сегменты, которые ещё обрабатываются, завершились ошибкой или содержат недостаточно данных.
  • Посмотреть пиксели, их охваты за 7, 30 и 90 дней, а также сегменты, созданные на их основе.
  • Узнать, кому выдан доступ к конкретному сегменту.
Подготовить сегмент из CRM
  • Загрузить CSV с колонками email, phone, ext_id или external_id.
  • Загрузить TSV/TXT с идентификаторами устройств, MAC-адресами или SHA256-хешами.
  • Проверить параметры загруженного сегмента перед подтверждением.
  • Сохранить сегмент с нужным именем и типом данных, затем проверить ход обработки.
Собрать новую аудиторию
  • Создать похожую аудиторию на основе существующего сегмента: от более похожей и узкой до более широкой.
  • Собрать сегмент посетителей по пикселю за период от 1 до 90 дней.
  • Добавить к пиксельному сегменту условия по числу срабатываний и UTM-меткам.
Работать с пикселями и доступами
  • Создать или переименовать пиксель.
  • Выдать коллеге или агентству доступ к сегменту: только просмотр или редактирование.
  • Отозвать доступ, когда он больше не нужен.
Использовать дополнительные возможности API

raw_request нужен для операций, у которых пока нет отдельного инструмента: например, повторной обработки сегмента или восстановления пикселя. Это инструмент для технических специалистов: он может выполнить запись или удаление, поэтому для обычных задач лучше использовать отдельные команды выше.

Полные входные параметры, ответы и статусы собраны в справочнике инструментов.

Как это работает

Сервер работает с тремя сущностями Яндекс Аудиторий:

СущностьЧто с ней можно делать
СегментСписок со статусами обработки, загрузка из CRM-файла, похожая аудитория, сегмент по пикселю, переименование и удаление.
ПиксельСписок с охватами за 7, 30 и 90 дней, создание, переименование и удаление.
ДоступКому доступен сегмент; выдача и отзыв прав на просмотр или редактирование.

Сегмент из файла создаётся в два шага:

  1. Вы передаёте CSV, TSV или TXT-файл — путь к локальному файлу или его содержимое, но не оба источника одновременно. Сервер загружает файл в Яндекс Аудитории, и в аккаунте появляется объект со статусом uploaded.
  2. Отдельной командой вы подтверждаете имя, тип данных и параметры обработки. Только после этого Яндекс Аудитории начинают обработку.

Готовность появляется не мгновенно: сервер проверяет статус через список сегментов, где возможны состояния обработки, ошибки или недостаточного объёма данных. Для CRM используйте CSV с заголовками email, phone, ext_id или external_id. Для хешированных данных API принимает SHA256; MD5 не поддерживается.

Сервер не управляет рекламными кампаниями, ставками и объявлениями в Яндекс Директе. Готовый сегмент подключается к кампании вне этого MCP-сервера.

Что может изменить данные

Яндекс Аудитории — API с операциями записи. MCP-сервер передаёт AI-клиенту информацию о том, какие инструменты читают, изменяют или удаляют данные, но правила подтверждения задаёт само AI-приложение.

ДействиеЧто происходитИзменяет аккаунт
Просмотр сегментов, пикселей и доступовЧитает доступные объекты и их состояниеНет
Загрузка файлаСоздаёт объект сегмента со статусом uploadedДа
Подтверждение сегментаСохраняет параметры и запускает обработкуДа
Создание похожего или пиксельного сегментаСоздаёт новый сегментДа
Переименование сегмента или пикселяИзменяет название существующего объектаДа
Выдача и отзыв доступаМеняет права пользователя на сегментДа
Удаление сегментаУдаляет сегмент без возможности восстановленияДа, необратимо
Удаление пикселяУдаляет пиксель; восстановление возможно отдельным методом APIДа

Сервер не объединяет загрузку файла и подтверждение в один скрытый вызов. При сетевой ошибке или ответе сервера 5xx он не повторяет операции записи автоматически: операция могла уже выполниться. В такой ситуации сначала проверьте состояние через список сегментов, пикселей или доступов.

Подключение и настройка

Для обычного использования токен заранее не нужен:

  1. В чате попросите подключить Яндекс Аудитории.
  2. Откройте ссылку на Яндекс OAuth под аккаунтом, которому принадлежат нужные сегменты (или которому они доверены).
  3. Подтвердите доступ и пришлите код ассистенту. Он одноразовый, действует 10 минут и меняется на токен только внутри работающего сервера.

Сервер использует PKCE: код из чата сам по себе нельзя обменять на токен. Полученный токен хранится локально в ~/.config/mcp-yandex-audience/credentials.json с правами только для владельца, а доступ продлевается автоматически. Сервер просит два права — чтение и изменение сегментов Аудиторий; кампании, объявления и остальные сервисы Яндекса ему недоступны.

Проверить состояние — попросите «покажи статус подключения к Аудиториям», отключить — «отк

Only the beginning is shown; read the rest in the repo