seyka-ai/yandex-tools-mcp
MCP servers for Yandex APIs: Search, Wordstat, Webmaster, Metrika and Direct. Keyword research, SEO analytics and PPC management for Russian/CIS markets in Claude and other AI assistants.
f3230f6b0142yandex-direct-mcp1.1.1 in packages/yandex-direct-mcp/package.jsonio.github.ruslan-mm18/yandex-tools-mcp ru.seyka/yandex-tools-mcpPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
How far the analysis went
The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety is shown as partly traced instead of a score: no finding there is not a clean result. The score of Capability Exposure counts only what it could follow.
- In 77 places a tool's input is handed to a function whose name matches several definitions in the code; the scanner could not tell which one runs, so it stopped there
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- HIGHTool
upload-ad-imagerequests any address by design: an agent steered by prompt injection can use it that way.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Limit where it can connect
upload-ad-imagecan request any address. Block access to internal hosts and cloud metadata endpoints. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
upload-ad-image, switch them off. - Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 104 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
add-keywords, create-adgroup, create-campaign, create-text-ad, delete-adgroup, dynamics and 95 moreadd-keywords, create-adgroup, create-campaign, create-text-ad, delete-adgroup, dynamics and 95 moreadd-keywords, create-adgroup, create-campaign, create-text-ad, delete-adgroup, dynamics and 95 moreadd-keywords, create-adgroup, create-campaign, create-text-ad, delete-adgroup, dynamics and 95 moreNo tool was seen to: start other programs on the machine; read or write files.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
searchapi.api.cloud.yandex.net· dynamics, get-region-children, get-regions-tree +3
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
YANDEX_DIRECT_TOKEN· add-keywords, create-adgroup, create-campaign +17YANDEX_METRIKA_TOKEN· get-audience-interests, get-bounce-by-devices-organic, get-bounce-comparison-search-engines +41YANDEX_SEARCH_API_KEY· dynamics, get-region-children, get-regions-tree +3YANDEX_WEBMASTER_TOKEN· get-broken-internal-links, get-broken-internal-links-history, get-diagnostics +29YANDEX_WORDSTAT_API_KEY· dynamics, get-region-children, get-regions-tree +2
Requests whose address comes from the tool's input: the agent decides where they go.
upload-ad-image1 call
96 request addresses could not be settled from the code (built at run time).
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- web or API responses101 tools · add-keywords, create-adgroup, create-campaign +98
All three are present: text from outside could make the agent send private data away. Keep confirmations on for tools that send data.
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (104: 104 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
upload-ad-imagetool WRITE — adds an image to the account image library and returns its AdImageHash, which create-text-ad takes as image_hash. Give exactly one of image_url or imageNetworkCredentialsEnv varsSensitive pathsoutside textRequests any address
WRITE — adds an image to the account image library and returns its AdImageHash, which create-text-ad takes as image_hash. Give exactly one of image_url or image_base64 (JPG/PNG/GIF, max 10 MB). Text ads need a REGULAR (1:1 to 4:3, 450–5000 px per side) or WIDE (16:9, at least 1080×607) image. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
add-keywordstool WRITE — adds keywords to an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Optional starting bid applies to every keyword added.NetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — adds keywords to an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Optional starting bid applies to every keyword added.
create-adgrouptool WRITE — creates an ad group in a campaign. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Region IDs default to [225] (Russia); use get-regions for otNetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — creates an ad group in a campaign. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Region IDs default to [225] (Russia); use get-regions for others.
create-campaigntool WRITE — creates a new text campaign. Defaults to the SANDBOX account; with YANDEX_DIRECT_LIVE=1 this creates a real campaign. Uses a manual (highest-position) sNetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — creates a new text campaign. Defaults to the SANDBOX account; with YANDEX_DIRECT_LIVE=1 this creates a real campaign. Uses a manual (highest-position) search strategy with network serving off; tune later with update-campaign.
create-text-adtool WRITE — creates a text ad in an ad group, optionally with an image (image_hash from upload-ad-image). Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. NNetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — creates a text ad in an ad group, optionally with an image (image_hash from upload-ad-image). Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. New ads enter moderation.
delete-adgrouptool WRITE — deletes an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.NetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — deletes an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
dynamicstool Returns search volume dynamics (trend) for a keyword over time. Note: all search operators work at daily granularity; weekly/monthly granularity supports only tNetworkCredentialsEnv varsSensitive pathsoutside text
Returns search volume dynamics (trend) for a keyword over time. Note: all search operators work at daily granularity; weekly/monthly granularity supports only the "+" operator.
get-audience-intereststool Interest categories of organic visitors.NetworkCredentialsEnv varsSensitive pathsoutside text
Interest categories of organic visitors.
get-balancetool READ. Returns the advertising account balance and currency (via the Live v4 AccountManagement API, since v5 has no balance endpoint).NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Returns the advertising account balance and currency (via the Live v4 AccountManagement API, since v5 has no balance endpoint).
get-bounce-by-devices-organictool Organic bounce rate broken down by device category.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic bounce rate broken down by device category.
get-bounce-comparison-search-enginestool Compares organic bounce rate and engagement across search engines (Yandex vs Google, etc.).NetworkCredentialsEnv varsSensitive pathsoutside text
Compares organic bounce rate and engagement across search engines (Yandex vs Google, etc.).
get-bounce-device-search-enginetool Cross-tabulates organic bounce rate by device and search engine.NetworkCredentialsEnv varsSensitive pathsoutside text
Cross-tabulates organic bounce rate by device and search engine.
get-broken-internal-linkstool Returns examples of broken internal links on the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns examples of broken internal links on the site.
get-broken-internal-links-historytool Returns the history of broken internal links count over time.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of broken internal links count over time.
get-campaigntool READ. Returns details for a single campaign by ID.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Returns details for a single campaign by ID.
get-conversions-by-devicestool Organic goal conversions grouped by device category.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions grouped by device category.
get-conversions-by-landing-pagestool Organic goal conversions grouped by landing page.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions grouped by landing page.
get-conversions-by-regionstool Organic goal conversions grouped by visitor region (city).NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions grouped by visitor region (city).
get-conversions-by-search-enginetool Organic goal conversions grouped by search engine.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions grouped by search engine.
get-conversions-by-search-phrasestool Organic goal conversions grouped by search query.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions grouped by search query.
get-conversions-device-regiontool Organic goal conversions segmented by device and region.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic goal conversions segmented by device and region.
get-countertool Returns detailed information about a specific Metrica counter.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns detailed information about a specific Metrica counter.
get-counterstool Returns the list of Yandex Metrica counters (tags) available to the user.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of Yandex Metrica counters (tags) available to the user.
get-critical-pagestool Organic landing pages with a bounce rate above 70%.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic landing pages with a bounce rate above 70%.
get-demographics-organictool Organic audience by gender and age group.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic audience by gender and age group.
get-devicestool Returns visitor breakdown by device type, browser, and operating system.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns visitor breakdown by device type, browser, and operating system.
get-diagnosticstool Returns site diagnostics with detected problems categorized by severity (fatal, critical, possible, recommendation).NetworkCredentialsEnv varsSensitive pathsoutside text
Returns site diagnostics with detected problems categorized by severity (fatal, critical, possible, recommendation).
get-entry-exit-pathstool Maps organic visitor journeys as entry-page → exit-page pairs.NetworkCredentialsEnv varsSensitive pathsoutside text
Maps organic visitor journeys as entry-page → exit-page pairs.
get-exit-pages-by-devicestool Compares organic exit pages between mobile and desktop.NetworkCredentialsEnv varsSensitive pathsoutside text
Compares organic exit pages between mobile and desktop.
get-exit-pages-by-sectiontool Where organic visitors leave, grouped by top-level site section.NetworkCredentialsEnv varsSensitive pathsoutside text
Where organic visitors leave, grouped by top-level site section.
get-external-linkstool Returns examples of external links pointing to the site (backlinks).NetworkCredentialsEnv varsSensitive pathsoutside text
Returns examples of external links pointing to the site (backlinks).
get-external-links-historytool Returns the history of external links count over time.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of external links count over time.
get-feed-regionstool Returns the static reference list of regions that can be specified when uploading a YML feed (Russia is the default, id 225). This is a documentation reference,
Returns the static reference list of regions that can be specified when uploading a YML feed (Russia is the default, id 225). This is a documentation reference, not a live API call.
get-feed-statustool Returns the status of an asynchronous feed upload task.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the status of an asynchronous feed upload task.
get-feedstool Returns the list of data feeds loaded for the site (enhanced site representation / фиды).NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of data feeds loaded for the site (enhanced site representation / фиды).
get-geographytool Returns visitor breakdown by country and region.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns visitor breakdown by country and region.
get-goalstool Returns the list of goals configured for a counter.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of goals configured for a counter.
get-high-bounce-pages-organictool Organic-search landing pages ranked by bounce rate — pages losing visitors.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic-search landing pages ranked by bounce rate — pages losing visitors.
get-hosttool Returns detailed information about a specific site.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns detailed information about a specific site.
get-important-url-historytool Returns the history of changes for a specific important URL.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of changes for a specific important URL.
get-important-urlstool Returns the list of important pages being monitored.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of important pages being monitored.
get-indexing-historytool Returns the history of pages downloaded by the robot, grouped by HTTP status codes (2xx, 3xx, 4xx, 5xx).NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of pages downloaded by the robot, grouped by HTTP status codes (2xx, 3xx, 4xx, 5xx).
get-indexing-samplestool Returns examples of pages downloaded by the robot.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns examples of pages downloaded by the robot.
get-insearch-historytool Returns the history of pages appearing in search results over time.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of pages appearing in search results over time.
get-insearch-samplestool Returns examples of pages currently appearing in search results.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns examples of pages currently appearing in search results.
get-new-vs-returning-organictool Compares new and returning organic visitors.NetworkCredentialsEnv varsSensitive pathsoutside text
Compares new and returning organic visitors.
get-organic-activity-by-day-of-weektool Organic traffic distribution across days of the week.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic traffic distribution across days of the week.
get-organic-activity-by-hourtool Organic traffic distribution across hours of the day.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic traffic distribution across hours of the day.
get-organic-browserstool Browsers used by organic visitors, with bounce rate.NetworkCredentialsEnv varsSensitive pathsoutside text
Browsers used by organic visitors, with bounce rate.
get-organic-seasonalitytool Organic traffic by month (seasonal fluctuations). Use a wide date range.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic traffic by month (seasonal fluctuations). Use a wide date range.
get-organic-traffic-dynamicstool Daily organic traffic trend over the date range.NetworkCredentialsEnv varsSensitive pathsoutside text
Daily organic traffic trend over the date range.
get-page-depth-by-sectionstool Organic engagement depth and session duration across top-level site sections.NetworkCredentialsEnv varsSensitive pathsoutside text
Organic engagement depth and session duration across top-level site sections.
get-popular-pagestool Returns the most visited pages on the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the most visited pages on the site.
get-popular-queriestool Returns popular search queries that brought users to the site, sorted by shows or clicks.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns popular search queries that brought users to the site, sorted by shows or clicks.
get-problematic-ostool Operating systems with the highest organic bounce rate.NetworkCredentialsEnv varsSensitive pathsoutside text
Operating systems with the highest organic bounce rate.
get-quality-referral-traffictool Referring domains with the lowest bounce rate (highest-quality referral traffic).NetworkCredentialsEnv varsSensitive pathsoutside text
Referring domains with the lowest bounce rate (highest-quality referral traffic).
get-query-analyticstool Returns the query↔URL intersection report (last ~2 weeks) with shows, clicks, CTR and positions, grouped by URL or query. Supports device, region and custom filNetworkCredentialsEnv varsSensitive pathsoutside text
Returns the query↔URL intersection report (last ~2 weeks) with shows, clicks, CTR and positions, grouped by URL or query. Supports device, region and custom filters. Note: this endpoint is not part of the public API reference index.
get-query-historytool Returns aggregated search query statistics over time (shows, clicks, positions).NetworkCredentialsEnv varsSensitive pathsoutside text
Returns aggregated search query statistics over time (shows, clicks, positions).
get-recrawl-queuetool Returns the list of pending/recent reindexing (recrawl) tasks submitted for the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of pending/recent reindexing (recrawl) tasks submitted for the site.
get-recrawl-quotatool Returns the current reindexing quota status.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the current reindexing quota status.
get-recrawl-tasktool Returns the status of a specific reindexing (recrawl) task.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the status of a specific reindexing (recrawl) task.
get-referral-conversionstool Goal conversions contributed by referring domains.NetworkCredentialsEnv varsSensitive pathsoutside text
Goal conversions contributed by referring domains.
get-referral-donors-behaviortool Referring domains ranked by visits, with bounce rate and depth (donor quality).NetworkCredentialsEnv varsSensitive pathsoutside text
Referring domains ranked by visits, with bounce rate and depth (donor quality).
get-referral-full-urlstool Specific referring page URLs that link to the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Specific referring page URLs that link to the site.
get-region-childrentool Returns the children of a specific region. Use this to drill down into a region from get-regions-tree.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the children of a specific region. Use this to drill down into a region from get-regions-tree.
get-region-idstool Returns a static reference list of common Yandex geo region IDs (with names) for use in the region_ids parameter of get-query-analytics and feeds tools. No API
Returns a static reference list of common Yandex geo region IDs (with names) for use in the region_ids parameter of get-query-analytics and feeds tools. No API call is made.
get-regionstool READ. Returns Yandex Direct geo-region IDs (for use as region_ids in create-adgroup). Cached per session; optionally filter by name.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Returns Yandex Direct geo-region IDs (for use as region_ids in create-adgroup). Cached per session; optionally filter by name.
get-regions-treetool Returns the top 3 levels of the Wordstat regions tree (countries, federal districts, major regions). Use get-region-children to drill down into specific regionsNetworkCredentialsEnv varsSensitive pathsoutside text
Returns the top 3 levels of the Wordstat regions tree (countries, federal districts, major regions). Use get-region-children to drill down into specific regions.
get-reporttool READ. Flexible Yandex Direct statistics: choose a report type and any mix of grouping fields and metrics. Costs are returned in account currency. Use date_from/NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Flexible Yandex Direct statistics: choose a report type and any mix of grouping fields and metrics. Costs are returned in account currency. Use date_from/date_to for a custom range, otherwise a preset range.
get-reporttool Returns a custom report with specified dimensions and metrics. Use this for advanced queries.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns a custom report with specified dimensions and metrics. Use this for advanced queries.
get-screen-resolutionstool Physical screen resolutions of organic visitors.NetworkCredentialsEnv varsSensitive pathsoutside text
Physical screen resolutions of organic visitors.
get-search-events-historytool Returns the history of pages added to or removed from search results.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of pages added to or removed from search results.
get-search-events-samplestool Returns examples of pages that recently appeared in or were removed from search.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns examples of pages that recently appeared in or were removed from search.
get-search-phrasestool Returns search phrases that brought visitors from search engines.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns search phrases that brought visitors from search engines.
get-single-query-historytool Returns statistics over time (shows, clicks, positions) for one specific search query. Use get-popular-queries to obtain a query_id.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns statistics over time (shows, clicks, positions) for one specific search query. Use get-popular-queries to obtain a query_id.
get-sitemaptool Returns detailed information about a specific sitemap file.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns detailed information about a specific sitemap file.
get-sitemapstool Returns the list of sitemap files detected for the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of sitemap files detected for the site.
get-social-landing-pagestool Landing pages that receive social traffic.NetworkCredentialsEnv varsSensitive pathsoutside text
Landing pages that receive social traffic.
get-social-networks-qualitytool Traffic quality (bounce) and conversions by social network.NetworkCredentialsEnv varsSensitive pathsoutside text
Traffic quality (bounce) and conversions by social network.
get-social-networks-traffictool Traffic volume by social network.NetworkCredentialsEnv varsSensitive pathsoutside text
Traffic volume by social network.
get-sqi-historytool Returns the history of Site Quality Index (SQI) changes over time.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the history of Site Quality Index (SQI) changes over time.
get-summarytool Returns general site statistics including SQI, indexed pages count, excluded pages, and problem counts.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns general site statistics including SQI, indexed pages count, excluded pages, and problem counts.
get-top-exit-pages-organictool Pages where organic traffic most often exits the site.NetworkCredentialsEnv varsSensitive pathsoutside text
Pages where organic traffic most often exits the site.
get-traffic-sourcestool Returns traffic breakdown by source: direct, search, social, referral, etc.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns traffic breakdown by source: direct, search, social, referral, etc.
get-traffic-summarytool Returns traffic summary: visits, users, pageviews, bounce rate, and session duration.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns traffic summary: visits, users, pageviews, bounce rate, and session duration.
get-usertool Returns the authenticated user ID. This ID is required for all other API calls.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the authenticated user ID. This ID is required for all other API calls.
get-user-sitemaptool Returns detailed information about a single sitemap file that was manually added by the user.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns detailed information about a single sitemap file that was manually added by the user.
get-user-sitemapstool Returns the list of sitemap files manually added by the user.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of sitemap files manually added by the user.
get-visit-frequency-organictool Distribution of organic visitors by how many times they have visited.NetworkCredentialsEnv varsSensitive pathsoutside text
Distribution of organic visitors by how many times they have visited.
list-ad-imagestool READ. Lists images in the account image library with their AdImageHash, type, and whether an ad uses them.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Lists images in the account image library with their AdImageHash, type, and whether an ad uses them.
list-adgroupstool READ. Lists ad groups, optionally filtered by campaign.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Lists ad groups, optionally filtered by campaign.
list-adstool READ. Lists ads, optionally filtered by campaign or ad group, with their text and moderation status.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Lists ads, optionally filtered by campaign or ad group, with their text and moderation status.
list-campaignstool READ. Lists Yandex Direct campaigns with their type, state, status, and daily budget.NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Lists Yandex Direct campaigns with their type, state, status, and daily budget.
list-hoststool Returns the list of sites added by the user to Yandex Webmaster.NetworkCredentialsEnv varsSensitive pathsoutside text
Returns the list of sites added by the user to Yandex Webmaster.
list-keywordstool READ. Lists keywords with their current search and network bids (shown in account currency, converted from micro-units).NetworkCredentialsEnv varsSensitive pathsoutside text
READ. Lists keywords with their current search and network bids (shown in account currency, converted from micro-units).
manage-adtool WRITE — changes an ad lifecycle state. moderate submits a draft for review; suspend/resume; archive/unarchive; delete removes it. Affects the SANDBOX account unNetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — changes an ad lifecycle state. moderate submits a draft for review; suspend/resume; archive/unarchive; delete removes it. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
manage-campaigntool WRITE — changes a campaign lifecycle state. suspend/resume pause or run it; archive/unarchive; delete removes it. Affects the SANDBOX account unless YANDEX_DIRENetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — changes a campaign lifecycle state. suspend/resume pause or run it; archive/unarchive; delete removes it. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
regionstool Returns how search volume for a keyword is distributed across regions over the last 30 days. Includes region names, share percentage and affinity index. The v2 NetworkCredentialsEnv varsSensitive pathsoutside text
Returns how search volume for a keyword is distributed across regions over the last 30 days. Includes region names, share percentage and affinity index. The v2 API has no server-side region filter, so the optional `regions` parameter is applied client-side using the cached regions tree.
searchtool Search the web using Yandex. Optimized for Russian and Cyrillic content but works for any language. Returns structured results with position, url, domain, titleNetworkCredentialsEnv varsSensitive pathsoutside text
Search the web using Yandex. Optimized for Russian and Cyrillic content but works for any language. Returns structured results with position, url, domain, title, headline (meta description), passages (text snippets array), snippet (combined text), size, lang, and cachedUrl.
set-bidstool WRITE — sets search and/or network bids on keywords. Bids are given in account currency (e.g. rubles) and converted to micro-units. Affects the SANDBOX account NetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — sets search and/or network bids on keywords. Bids are given in account currency (e.g. rubles) and converted to micro-units. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1 — check balance before raising bids on a live account.
set-negative-keywordstool WRITE — replaces the negative-keyword list on a campaign or ad group (existing negatives are overwritten). Affects the SANDBOX account unless YANDEX_DIRECT_LIVENetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — replaces the negative-keyword list on a campaign or ad group (existing negatives are overwritten). Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
submit-recrawltool Queues a URL for reindexing by the Yandex robot. This is a WRITE operation that consumes the daily recrawl quota (check get-recrawl-quota). Returns a task_id thNetworkCredentialsEnv varsSensitive pathsoutside text
Queues a URL for reindexing by the Yandex robot. This is a WRITE operation that consumes the daily recrawl quota (check get-recrawl-quota). Returns a task_id that can be tracked via get-recrawl-task.
top-requeststool Returns popular search queries containing the specified keyword for the last 30 days, plus similar/associated queries. The phrase supports Wordstat search operaNetworkCredentialsEnv varsSensitive pathsoutside text
Returns popular search queries containing the specified keyword for the last 30 days, plus similar/associated queries. The phrase supports Wordstat search operators.
update-campaigntool WRITE — updates a campaign name and/or daily budget. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.NetworkCredentialsEnv varsSensitive pathsoutside text
WRITE — updates a campaign name and/or daily budget. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
Text the model reads (104)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
get-balance tool
READ. Returns the advertising account balance and currency (via the Live v4 AccountManagement API, since v5 has no balance endpoint).
get-regions tool
READ. Returns Yandex Direct geo-region IDs (for use as region_ids in create-adgroup). Cached per session; optionally filter by name.
list-adgroups tool
READ. Lists ad groups, optionally filtered by campaign.
create-adgroup tool
WRITE — creates an ad group in a campaign. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Region IDs default to [225] (Russia); use get-regions for others.
delete-adgroup tool
WRITE — deletes an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
list-ads tool
READ. Lists ads, optionally filtered by campaign or ad group, with their text and moderation status.
create-text-ad tool
WRITE — creates a text ad in an ad group, optionally with an image (image_hash from upload-ad-image). Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. New ads enter moderation.
manage-ad tool
WRITE — changes an ad lifecycle state. moderate submits a draft for review; suspend/resume; archive/unarchive; delete removes it. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
list-campaigns tool
READ. Lists Yandex Direct campaigns with their type, state, status, and daily budget.
get-campaign tool
READ. Returns details for a single campaign by ID.
create-campaign tool
WRITE — creates a new text campaign. Defaults to the SANDBOX account; with YANDEX_DIRECT_LIVE=1 this creates a real campaign. Uses a manual (highest-position) search strategy with network serving off; tune later with update-campaign.
update-campaign tool
WRITE — updates a campaign name and/or daily budget. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
manage-campaign tool
WRITE — changes a campaign lifecycle state. suspend/resume pause or run it; archive/unarchive; delete removes it. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
upload-ad-image tool
WRITE — adds an image to the account image library and returns its AdImageHash, which create-text-ad takes as image_hash. Give exactly one of image_url or image_base64 (JPG/PNG/GIF, max 10 MB). Text ads need a REGULAR (1:1 to 4:3, 450–5000 px per side) or WIDE (16:9, at least 1080×607) image. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
list-ad-images tool
READ. Lists images in the account image library with their AdImageHash, type, and whether an ad uses them.
list-keywords tool
READ. Lists keywords with their current search and network bids (shown in account currency, converted from micro-units).
add-keywords tool
WRITE — adds keywords to an ad group. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1. Optional starting bid applies to every keyword added.
set-bids tool
WRITE — sets search and/or network bids on keywords. Bids are given in account currency (e.g. rubles) and converted to micro-units. Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1 — check balance before raising bids on a live account.
set-negative-keywords tool
WRITE — replaces the negative-keyword list on a campaign or ad group (existing negatives are overwritten). Affects the SANDBOX account unless YANDEX_DIRECT_LIVE=1.
get-report tool
READ. Flexible Yandex Direct statistics: choose a report type and any mix of grouping fields and metrics. Costs are returned in account currency. Use date_from/date_to for a custom range, otherwise a preset range.
get-counters tool
Returns the list of Yandex Metrica counters (tags) available to the user.
get-counter tool
Returns detailed information about a specific Metrica counter.
get-goals tool
Returns the list of goals configured for a counter.
get-traffic-summary tool
Returns traffic summary: visits, users, pageviews, bounce rate, and session duration.
get-traffic-sources tool
Returns traffic breakdown by source: direct, search, social, referral, etc.
get-geography tool
Returns visitor breakdown by country and region.
get-devices tool
Returns visitor breakdown by device type, browser, and operating system.
get-popular-pages tool
Returns the most visited pages on the site.
get-search-phrases tool
Returns search phrases that brought visitors from search engines.
get-report tool
Returns a custom report with specified dimensions and metrics. Use this for advanced queries.
get-high-bounce-pages-organic tool
Organic-search landing pages ranked by bounce rate — pages losing visitors.
get-critical-pages tool
Organic landing pages with a bounce rate above 70%.
get-bounce-comparison-search-engines tool
Compares organic bounce rate and engagement across search engines (Yandex vs Google, etc.).
get-bounce-by-devices-organic tool
Organic bounce rate broken down by device category.
get-bounce-device-search-engine tool
Cross-tabulates organic bounce rate by device and search engine.
get-page-depth-by-sections tool
Organic engagement depth and session duration across top-level site sections.
get-exit-pages-by-section tool
Where organic visitors leave, grouped by top-level site section.
get-entry-exit-paths tool
Maps organic visitor journeys as entry-page → exit-page pairs.
get-top-exit-pages-organic tool
Pages where organic traffic most often exits the site.
get-exit-pages-by-devices tool
Compares organic exit pages between mobile and desktop.
get-conversions-by-search-engine tool
Organic goal conversions grouped by search engine.
get-conversions-by-landing-pages tool
Organic goal conversions grouped by landing page.
get-conversions-by-search-phrases tool
Organic goal conversions grouped by search query.
get-conversions-by-devices tool
Organic goal conversions grouped by device category.
get-conversions-by-regions tool
Organic goal conversions grouped by visitor region (city).
get-conversions-device-region tool
Organic goal conversions segmented by device and region.
get-referral-donors-behavior tool
Referring domains ranked by visits, with bounce rate and depth (donor quality).
get-referral-full-urls tool
Specific referring page URLs that link to the site.
get-quality-referral-traffic tool
Referring domains with the lowest bounce rate (highest-quality referral traffic).
get-referral-conversions tool
Goal conversions contributed by referring domains.
get-social-networks-traffic tool
Traffic volume by social network.
get-social-networks-quality tool
Traffic quality (bounce) and conversions by social network.
get-social-landing-pages tool
Landing pages that receive social traffic.
get-new-vs-returning-organic tool
Compares new and returning organic visitors.
get-visit-frequency-organic tool
Distribution of organic visitors by how many times they have visited.
get-demographics-organic tool
Organic audience by gender and age group.
get-audience-interests tool
Interest categories of organic visitors.
get-organic-activity-by-hour tool
Organic traffic distribution across hours of the day.
get-organic-activity-by-day-of-week tool
Organic traffic distribution across days of the week.
get-organic-traffic-dynamics tool
Daily organic traffic trend over the date range.
get-organic-seasonality tool
Organic traffic by month (seasonal fluctuations). Use a wide date range.
get-organic-browsers tool
Browsers used by organic visitors, with bounce rate.
get-problematic-os tool
Operating systems with the highest organic bounce rate.
get-screen-resolutions tool
Physical screen resolutions of organic visitors.
search tool
Search the web using Yandex. Optimized for Russian and Cyrillic content but works for any language. Returns structured results with position, url, domain, title, headline (meta description), passages (text snippets array), snippet (combined text), size, lang, and cachedUrl.
get-user tool
Returns the authenticated user ID. This ID is required for all other API calls.
list-hosts tool
Returns the list of sites added by the user to Yandex Webmaster.
get-host tool
Returns detailed information about a specific site.
get-region-ids tool
Returns a static reference list of common Yandex geo region IDs (with names) for use in the region_ids parameter of get-query-analytics and feeds tools. No API call is made.
get-summary tool
Returns general site statistics including SQI, indexed pages count, excluded pages, and problem counts.
get-sqi-history tool
Returns the history of Site Quality Index (SQI) changes over time.
get-diagnostics tool
Returns site diagnostics with detected problems categorized by severity (fatal, critical, possible, recommendation).
get-popular-queries tool
Returns popular search queries that brought users to the site, sorted by shows or clicks.
get-query-history tool
Returns aggregated search query statistics over time (shows, clicks, positions).
get-single-query-history tool
Returns statistics over time (shows, clicks, positions) for one specific search query. Use get-popular-queries to obtain a query_id.
get-query-analytics tool
Returns the query↔URL intersection report (last ~2 weeks) with shows, clicks, CTR and positions, grouped by URL or query. Supports device, region and custom filters. Note: this endpoint is not part of the public API reference index.
get-indexing-history tool
Returns the history of pages downloaded by the robot, grouped by HTTP status codes (2xx, 3xx, 4xx, 5xx).
get-indexing-samples tool
Returns examples of pages downloaded by the robot.
get-insearch-history tool
Returns the history of pages appearing in search results over time.
get-insearch-samples tool
Returns examples of pages currently appearing in search results.
get-search-events-history tool
Returns the history of pages added to or removed from search results.
get-search-events-samples tool
Returns examples of pages that recently appeared in or were removed from search.
get-external-links tool
Returns examples of external links pointing to the site (backlinks).
get-external-links-history tool
Returns the history of external links count over time.
get-broken-internal-links tool
Returns examples of broken internal links on the site.
get-broken-internal-links-history tool
Returns the history of broken internal links count over time.
get-sitemaps tool
Returns the list of sitemap files detected for the site.
get-sitemap tool
Returns detailed information about a specific sitemap file.
get-user-sitemaps tool
Returns the list of sitemap files manually added by the user.
get-user-sitemap tool
Returns detailed information about a single sitemap file that was manually added by the user.
get-important-urls tool
Returns the list of important pages being monitored.
get-important-url-history tool
Returns the history of changes for a specific important URL.
get-recrawl-quota tool
Returns the current reindexing quota status.
get-recrawl-queue tool
Returns the list of pending/recent reindexing (recrawl) tasks submitted for the site.
get-recrawl-task tool
Returns the status of a specific reindexing (recrawl) task.
submit-recrawl tool
Queues a URL for reindexing by the Yandex robot. This is a WRITE operation that consumes the daily recrawl quota (check get-recrawl-quota). Returns a task_id that can be tracked via get-recrawl-task.
get-feeds tool
Returns the list of data feeds loaded for the site (enhanced site representation / фиды).
get-feed-status tool
Returns the status of an asynchronous feed upload task.
get-feed-regions tool
Returns the static reference list of regions that can be specified when uploading a YML feed (Russia is the default, id 225). This is a documentation reference, not a live API call.
get-regions-tree tool
Returns the top 3 levels of the Wordstat regions tree (countries, federal districts, major regions). Use get-region-children to drill down into specific regions.
get-region-children tool
Returns the children of a specific region. Use this to drill down into a region from get-regions-tree.
top-requests tool
Returns popular search queries containing the specified keyword for the last 30 days, plus similar/associated queries. The phrase supports Wordstat search operators.
dynamics tool
Returns search volume dynamics (trend) for a keyword over time. Note: all search operators work at daily granularity; weekly/monthly granularity supports only the "+" operator.
regions tool
Returns how search volume for a keyword is distributed across regions over the last 30 days. Includes region names, share percentage and affinity index. The v2 API has no server-side region filter, so the optional `regions` parameter is applied client-side using the cached regions tree.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 104 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 104 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 104 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Requests any address1 finding the scanner could not decide; see the findings below
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 104 tool handlers traced. Not every path could be followed, so this is not a clean pass.
- Tools that start processesNot seen in the traced code of 104 capabilities; 104 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 104 capabilities; 104 more call code the scanner could not follow, where it may happen
- Tools that call the network102 of 104 capabilities call the network; 2 more call code the scanner could not follow, where it may happen
Where the code is: 104 handlers in 11 files at commit f3230f6b0142
packages/yandex-direct-mcp/src/tools/account.mjsget-balance, get-regionspackages/yandex-direct-mcp/src/tools/adgroups.mjslist-adgroups, create-adgroup, delete-adgrouppackages/yandex-direct-mcp/src/tools/ads.mjslist-ads, create-text-ad, manage-adpackages/yandex-direct-mcp/src/tools/campaigns.mjslist-campaigns, get-campaign, create-campaign, update-campaign, manage-campaignpackages/yandex-direct-mcp/src/tools/images.mjsupload-ad-image, list-ad-imagespackages/yandex-direct-mcp/src/tools/keywords.mjslist-keywords, add-keywords, set-bids, set-negative-keywordspackages/yandex-direct-mcp/src/tools/reports.mjsget-reportpackages/yandex-metrika-mcp/src/index.mjsget-counters, get-counter, get-goals, get-traffic-summary, get-traffic-sources, get-geography, get-devices, get-popular-pages, get-search-phrases, get-report, get-high-bounce-pages-organic, get-critical-pages +32packages/yandex-search-mcp/src/index.mjssearchpackages/yandex-webmaster-mcp/src/index.mjsget-user, list-hosts, get-host, get-region-ids, get-summary, get-sqi-history, get-diagnostics, get-popular-queries, get-query-history, get-single-query-history, get-query-analytics, get-indexing-history +22packages/yandex-wordstat-mcp/src/index.mjsget-regions-tree, get-region-children, top-requests, dynamics, regions
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests6 manifests: package.json, packages/yandex-direct-mcp/package.json, packages/yandex-metrika-mcp/package.json, packages/yandex-search-mcp/package.json, packages/yandex-webmaster-mcp/package.json
- Lockfiles checked against OSVNothing could be resolved to exact versions; 7 not resolved: bun.lock: lockfile format is not supported by this analyzer, dependencies were not checked; package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/sdk ^1.32.2
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentials102 of 104 capabilities read credentials; 2 more call code the scanner could not follow, where it may happen
- Environment variables102 capabilities read environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package. A hosted version is also offered: https://mcp.seyka.ru/mcp not assessed a code scan covers the repository, not what runs on the vendor's servers |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.32.2 |
| Servers in the code | 5 (yandex-direct, yandex-metrika, yandex-search, yandex-webmaster, yandex-wordstat) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-10-28 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 2 packages by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| MCP Registry | io.github.ruslan-mm18/yandex-tools-mcp ru.seyka/yandex-tools-mcp |
| Hosted endpoint | https://mcp.seyka.ru/mcp |
| Listed in | 5 catalogs (github_search, mcp_registry, mcp_registry_deprecated, mcpservers_org, npm) |
| License | MIT |
| Created | 2025-12-20 |
| Topics | claude claude-code keyword-research mcp mcp-server model-context-protocol ppc seo yandex yandex-direct |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.