MCP YouTube Transcript
An MCP server retrieving transcripts of YouTube videos
Description from the maker (original English)
MCP server for Yandex Direct API v5 — campaigns, ads, keywords, bids, audiences
These three are never merged into one score: opinions, measurements and popularity are different things.
We have not written a plain-language summary for this one yet. Below are the facts we read from the registry.
Pick the AI app you use, then copy the settings.
YD_TOKEN, YD_CLIENT_LOGIN, YD_LANG, YD_TIMEOUT, YD_FILE_TIMEOUTValues marked secret are keys to your account. Never share them or paste them into a chat.
You need
Which app do you use?
Pick your app above. We remember it, so next time the button says “Install in …”.
Open Claude Desktop → Settings → Developer → Edit Config, and paste this into claude_desktop_config.json
{
"mcpServers": {
"yandex-direct": {
"command": "uvx",
"args": [
"mcp-server-yandex-direct"
],
"env": {
"YD_TOKEN": "your-value",
"YD_CLIENT_LOGIN": "your-value",
"YD_LANG": "your-value",
"YD_TIMEOUT": "your-value",
"YD_FILE_TIMEOUT": "your-value"
}
}
}
}Run this in your terminal
claude mcp add yandex-direct --env YD_TOKEN=your-value --env YD_CLIENT_LOGIN=your-value --env YD_LANG=your-value --env YD_TIMEOUT=your-value --env YD_FILE_TIMEOUT=your-value -- uvx mcp-server-yandex-directFill in the empty values before running it.
Paste into .cursor/mcp.json in your project, or ~/.cursor/mcp.json
{
"mcpServers": {
"yandex-direct": {
"command": "uvx",
"args": [
"mcp-server-yandex-direct"
],
"env": {
"YD_TOKEN": "your-value",
"YD_CLIENT_LOGIN": "your-value",
"YD_LANG": "your-value",
"YD_TIMEOUT": "your-value",
"YD_FILE_TIMEOUT": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
Paste into .vscode/mcp.json in your project
{
"servers": {
"yandex-direct": {
"type": "stdio",
"command": "uvx",
"args": [
"mcp-server-yandex-direct"
],
"env": {
"YD_TOKEN": "your-value",
"YD_CLIENT_LOGIN": "your-value",
"YD_LANG": "your-value",
"YD_TIMEOUT": "your-value",
"YD_FILE_TIMEOUT": "your-value"
}
}
}
}Your browser asks to open the app, then the app shows the settings and asks you to confirm. Key values are left empty for you to fill in.
This one runs on your computer, and ChatGPT can only connect to servers on the internet. Pick another app.
Your choice stays on this device in a cookie; no account needed.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
Runs on your computer; the tool list appears in your AI app after you install it.
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 7, 2026
The registry name was verified with the GitHub account dontsovcmc, which owns the repo
We have not read this repo from GitHub yet
We have not read this repo from GitHub yet
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 1 of 1 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.
You need to fill in: YD_TOKEN
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).
The GitHub repo last changed –, and the latest version (0.3.0) reached the registry 6 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: MCP YouTube Transcript, Google Analytics MCP, BibiGPT YouTube Video Summarizer
Servers in the same category from other makers, sorted by stars.
Reading a card:★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
An MCP server retrieving transcripts of YouTube videos
GA4 MCP server for AI agents: schema discovery, server-side aggregation, analysis-ready defaults.
AI video summarizer: summarize and transcribe YouTube, Bilibili, TikTok and podcast videos.
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-сервер, CLI-утилита и библиотека Pydantic-моделей для Yandex Direct API v5.
Все данные остаются на вашем компьютере — токен никуда не передаётся.
Сервер использует паттерн search + execute — вместо 79 отдельных инструментов предоставляет 2:
| Инструмент | Описание |
|---|---|
yd_search | Поиск действий по описанию на естественном языке |
yd_execute | Выполнение действия по ID |
LLM: yd_search("остановить кампании")
→ [{"id": "campaigns-suspend", "params_schema": {"SelectionCriteria": {...}, ...}, ...}]
LLM: yd_execute("campaigns-suspend", '{"SelectionCriteria": {"Ids": [12345]}}') → {"SuspendResults": [...]}
| Домен | Кол-во | Описание |
|---|---|---|
campaigns | 8 | Кампании: создание, управление, архивация |
adgroups | 4 | Группы объявлений |
ads | 9 | Объявления: создание, управление, модерация |
keywords | 6 | Ключевые слова |
bidding | 7 | Ставки и корректировки ставок |
assets | 11 | Быстрые ссылки, изображения, видео, расширения |
audience | 10 | Аудитории и ретаргетинг |
negkeywords | 4 | Общие списки минус-слов |
feeds | 4 | Фиды для динамических объявлений |
creatives | 2 | Креативы для медийных объявлений |
research | 2 | Исследование ключевых слов |
leads | 1 | Лиды из форм лидогенерации |
changes | 3 | Отслеживание изменений |
account | 6 | Аккаунт, справочники, клиенты агентства |
turbopages | 1 | Турбо-страницы |
reports | 1 | Отчёты (TSV/CSV) |
Способ 1: через uvx (не требует установки пакета)
Требуется uv — если не установлен:
`bash
curl -LsSf https://astral.sh/uv/install.sh | sh
`
claude mcp add yandex-direct \
-e YD_TOKEN=ваш_токен \ -- uvx mcp-server-yandex-direct
Способ 2: через pip
pip install mcp-server-yandex-direct
claude mcp add yandex-direct \ -e YD_TOKEN=ваш_токен \ -- python -m mcp_server_yandex_direct
Для удаления:
claude mcp remove yandex-direct
Добавьте в конфигурационный файл:
| Клиент | ОС | Путь к файлу |
|---|---|---|
| Claude Code | все | ~/.claude/settings.json (секция mcpServers) |
| Claude Desktop | macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Claude Desktop | Windows | %APPDATA%\Claude\claude_desktop_config.json |
| Claude Desktop | Linux | ~/.config/Claude/claude_desktop_config.json |
Через uvx:
{
"mcpServers": { "yandex-direct": { "command": "uvx", "args": ["mcp-server-yandex-direct"], "env": { "YD_TOKEN": "ваш_токен" } } } }
Через pip (после pip install mcp-server-yandex-direct):
{
"mcpServers": { "yandex-direct": { "command": "python", "args": ["-m", "mcp_server_yandex_direct"], "env": { "YD_TOKEN": "ваш_токен" } } } }
Подключает сервер только на время одной сессии Claude, не сохраняя в настройки. Токен хранится в отдельном .env.mcp файле, а не в конфиге Claude.
Из JSON-строки:
claude --mcp-config '{"yandex-direct":{"command":"bash","args":["-c","source ~/.env.mcp && exec uvx mcp-server-yandex-direct"]}}'
Из файла:
claude --mcp-config ~/mcp-servers.json
Пример ~/mcp-servers.json:
{
"yandex-direct": { "command": "bash", "args": ["-c", "source ~/.env.mcp && exec uvx mcp-server-yandex-direct"] } }
Пример ~/.env.mcp:
YD_TOKEN=ваш_токен
Попросите Claude: *«Покажи список кампаний»* — он вызовет yd_search, получит схему campaigns-get, затем yd_execute.
Claude автоматически использует yd_search для поиска нужного действия, затем yd_execute для его выполнения:
yd_search("кампании") → yd_execute("campaigns-get", ...)yd_search("остановить кампании") → yd_execute("campaigns-suspend", ...)yd_search("объявления") → yd_execute("ads-get", ...)yd_search("ключевые слова добавить") → yd_execute("keywords-add", ...)yd_search("справочники") → yd_execute("dictionaries-get", ...)yd_search("отчёт") → yd_execute("reports-get", ...)pip install mcp-server-yandex-direct
Переменная окружения YD_TOKEN должна быть установлена:
export YD_TOKEN=ваш_токен
Или через файл:
mcp-server-yandex-direct --env /path/to/.env <command>
Формат файла — KEY=VALUE, по одной переменной на строку, #-комментарии.
Без аргументов запускается MCP-сервер, с командой — CLI. Все команды выводят JSON.
# Версия
mcp-server-yandex-direct --version
mcp-server-yandex-direct --help mcp-server-yandex-direct --help
# Кампании
mcp-server-yandex-direct campaigns-get '{"SelectionCriteria": {}, "FieldNames": ["Id", "Name", "State"]}' mcp-server-yandex-direct campaigns-suspend 123,456
mcp-server-yandex-direct ads-get '{"SelectionCriteria": {"CampaignIds": [123]}, "FieldNames": ["Id", "Type", "State"]}' mcp-server-yandex-direct ads-moderate 789,101
mcp-server-yandex-direct keywords-get '{"SelectionCriteria": {"AdGroupIds": [111]}, "FieldNames": ["Id", "Keyword", "State"]}'
mcp-server-yandex-direct dictionaries-get Currencies,Regions
mcp-server-yandex-direct reports-get '{"params": {"SelectionCriteria": {"DateFrom": "2026-01-01", "DateTo": "2026-04-28"}, "FieldNames": ["Date", "CampaignId", "Clicks", "Cost"], "ReportName": "My Report", "ReportType": "CAMPAIGN_PERFORMANCE_REPORT", "DateRangeType": "CUSTOM_DATE", "Format": "TSV"}}'
$ mcp-server-yandex-direct campaigns-get '{"SelectionCriteria": {"States": ["ON"]}, "FieldNames": ["Id", "Name"]}'
{"Campaigns": [{"Id": 12345, "Name": "Летняя распродажа"}]}
Пакет содержит типизированные Pydantic-модели всех объектов API. Модели можно использовать в своих Python-программах для валидации данных и автодополнения в IDE.
pip install mcp-server-yandex-direct
from mcp_server_yandex_direct.models.campaigns import CampaignsGetParams, CampaignsSelectionCriteria
params = CampaignsGetParams( SelectionCriteria=CampaignsSelectionCriteria(States=["ON"]), FieldNames=["Id", "Name", "State"], ) print(params.model_dump_json())
from mcp_server_yandex_direct.models.campaigns import CampaignsGetResult
data = {"Campaigns": [{"Id": 12345, "Name": "Тест", "State": "ON"}]} result = CampaignsGetResult.model_validate(data) print(result.Campaigns[0].Name) # type-safe доступ к полям
Все модели используют extra="allow" для forward compatibility — неизвестные поля API не вызывают ошибок.
Полный список моделей: models/
| Переменная | Обязательная | По умолчанию | Описание |
|---|---|---|---|
YD_TOKEN | да | — | OAuth-токен Yandex Direct API |
YD_CLIENT_LOGIN | нет | — | Логин клиента для агентских аккаунтов |
YD_LANG | нет | — | Язык ответов: ru, en, uk |
YD_TIMEOUT | нет | 30 | Таймаут HTTP-запросов к API (секунды) |
YD_FILE_TIMEOUT | нет | 120 | Таймаут отчётов Reports API (секунды) |
pip install -e ".[test]"
ruff check src/ tests/ pytest tests/ -v
MIT