SY 

svechapvl/yandex-mcp 是从 https://github.com/svechapvl/yandex-mcp. 导入的 MCP 服务器候选
概览
svechapvl/yandex-mcp 是从 https://github.com/svechapvl/yandex-mcp. 导入的 MCP 服务器候选
概述(AI 翻译)
🇷🇺 Русская версия
MCP(模型上下文协议)服务器,支持 Yandex Direct、Yandex Metrika、Yandex Wordstat 和 Yandex 网站管理员 API。提供132个工具,用于管理广告活动、分析、关键词研究、自然搜索以及通过任何兼容MCP客户端进行报告。
通过人工智能管理Yandex广告和分析
特色
Yandex Direct API v5(80 个工具)
- 活动 — 创建、更新、暂停、恢复、归档、删除
- 广告组 — 创建,更新定向设置
- 广告 — 文本、图片、动态、购物广告,并有审核
- 关键词 — 管理关键词和竞价
- 统计 — 带异步重试的详细性能报告
- 竞标修正 — 移动端、桌面端、人口统计、区域调整
- 重定向 — 重定向列表和受众目标
- 智能广告目标 — 基于推送的定向过滤器
- 站点链接、视频驱动、呼号 — 广告扩展
- 图片 — 上传、管理和删除广告图片
- 订阅源 — 产品订阅管理
- 视频与创意 — 视频广告制作
- 词典 — 地区、兴趣、分类
- 负关键词 — 共享的负关键词集合
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Yandex MCP Server
MCP (Model Context Protocol) server for Yandex Direct, Yandex Metrika, Yandex Wordstat, and Yandex Webmaster APIs. Provides 132 tools for managing advertising campaigns, analytics, keyword research, organic search, and reporting through any MCP-compatible client.
Manage Yandex advertising and analytics through AI
Features
Yandex Direct API v5 (80 tools)
- Campaigns — create, update, pause, resume, archive, delete
- Ad Groups — create, update with targeting settings
- Ads — text, image, dynamic, shopping ads with moderation
- Keywords — manage keywords and bids
- Statistics — detailed performance reports with async retry
- Bid Modifiers — mobile, desktop, demographics, regional adjustments
- Retargeting — retargeting lists and audience targets
- Smart Ad Targets — feed-based targeting filters
- Sitelinks, VCards, Callouts — ad extensions
- Images — upload, manage, and delete ad images
- Feeds — product feed management
- Videos & Creatives — video ad creation
- Dictionaries — regions, interests, categories
- Negative Keywords — shared negative keyword sets
Yandex Wordstat API (5 tools)
- Top Requests — popular search queries and associations
- Dynamics — query frequency trends over time
- Regions — regional distribution of search queries
- Regions Tree — hierarchical region structure
- User Info — API quota and usage limits
Yandex Webmaster API v4 (4 tools)
- User ID — resolve the token owner’s Webmaster UserID
- Hosts — list verified sites and their IDs
- Host Summary — SQI, searchable and excluded page counts
- Popular Queries — organic search queries with shows, clicks, and positions
Yandex Metrika API (43 tools)
- Counters — create, configure, delete tracking counters
- Goals — conversion goal management
- Reports — analytics with custom metrics, time series, comparisons, drill-down
- Segments — audience segmentation
- Filters — traffic filtering rules
- Grants — access permission management
- Offline Data — upload conversions, calls, expenses, user parameters
- Labels & Annotations — organize counters and mark chart events
- Delegates — account delegation
Quick Start
1. Install
git clone https://github.com/SvechaPVL/yandex-mcp.git
cd yandex-mcp
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
2. Set up your Yandex API token
Create a .env file:
YANDEX_TOKEN=your_oauth_token_here
安装
npx @modelcontextprotocol/inspector python -m yandex_mcp配置
{
"mcpServers": {
"yandex": {
"command": "python",
"args": ["-m", "yandex_mcp"],
"cwd": "/path/to/yandex-mcp",
"env": {
"YANDEX_TOKEN": "your_token"
}
}
}
}