yandex-searchapi-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@yandex-searchapi-mcp web search for machine learning tutorials"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Yandex Search.API MCP Server
MCP server for Yandex Search API over REST with 7 tools:
web_searchimage_searchgenerative_searchwordstat_get_topwordstat_get_dynamicswordstat_get_regions_distributionwordstat_get_regions_tree
The server reads credentials from MCP client env config:
FOLDER_IDAPI_KEY
For local development, .env is loaded automatically.
Features
Uses only REST endpoints (
/v2/web/search,/v2/image/search,/v2/gen/search, Wordstat REST paths)Minimal tool inputs by default to keep model context compact
searchTypeis available for all relevant tools and defaults toSEARCH_TYPE_COMWeb search always forces
responseFormat: FORMAT_XMLWeb/image tools decode
rawDatafrom Base64 and parse XML into structured groupsError handling with clear API status and details
Related MCP server: Yandex Search MCP Server
Install
npm install yandex-searchapi-mcpMCP client config example
{
"mcpServers": {
"yandex-searchapi": {
"command": "npx",
"args": ["-y", "yandex-searchapi-mcp"],
"env": {
"FOLDER_ID": "your-folder-id",
"API_KEY": "your-api-key"
}
}
}
}Tools
web_search
Use this tool when you need classic web search results (links + snippets), not a generated answer.
Inputs:
query(required)searchType(optional, defaultSEARCH_TYPE_COM)page(optional)docsOnPage(optional)familyMode(optional)fixTypoMode(optional)
Returns:
groups[]withdocuments[]where each document contains:urltitlelanguagepassages
requestIdfound
Note: for web search this input is mapped to groupSpec.groupsOnPage on the upstream API.
image_search
Use this tool when you need image search results and image metadata (thumbnail/original links and dimensions).
Inputs:
query(required)searchType(optional, defaultSEARCH_TYPE_COM)page(optional)site(optional)docsOnPage(optional)imageSpec(optional:format,size,orientation,color)
Returns:
groups[]withdocuments[]where each document contains:urlextras.image-properties(if present)
requestIdfound
generative_search
Use this tool when you need a ready-to-use grounded answer synthesized from search results.
Inputs:
query(required)searchType(optional, defaultSEARCH_TYPE_COM)fixMisspell(optional)getPartialResults(optional)scope(optional):{ type: "site" | "host" | "url", values: string[] }
Returns only core generative fields (without wrapper objects):
messagesourcessearchQueriesfixedMisspellQueryisAnswerRejectedisBulletAnswerhintsproblematicAnswer
wordstat_get_top
Use this tool to understand what related queries users search for around a keyword.
Inputs:
phrase(required)numPhrases(optional, default20)regions(optional)devices(optional)
Returns:
totalCountresultsassociations
wordstat_get_dynamics
Use this tool to track demand trends over time for a keyword.
Inputs:
phrase(required)period(optional, defaultPERIOD_WEEKLY)fromDate(optional, defaultnow-30d, ISO datetime)toDate(optional, defaultnow, ISO datetime)regions(optional)devices(optional)
Returns:
results
wordstat_get_regions_distribution
Use this tool to see in which regions/cities a keyword is relatively more popular.
Inputs:
phrase(required)region(optional, defaultREGION_ALL)devices(optional)
Returns:
results
wordstat_get_regions_tree
Use this tool to get valid region IDs and names for regional Wordstat filters.
Inputs:
none
Returns:
regions
Development
npm install
npm run build
npm run devAvailable Tools
7 toolsgenerative_searchA
Generate an answer grounded in web search results, with optional source restrictions (site/host/url).
Inputs: query (required), searchType, fixMisspell, getPartialResults, +1 more.
image_searchA
Search images by text query. Returns grouped image documents and image metadata like thumbnail/original links.
Inputs: query (required), searchType, page, site, +2 more.
web_searchA
Search web pages by text query. Returns grouped documents with URL, title, language, and snippet passages.
Inputs: query (required), searchType, page, docsOnPage, +2 more.
wordstat_get_dynamicsB
Get how search frequency changes over time for a keyword (daily, weekly, or monthly).
Inputs: phrase (required), period, fromDate, toDate, +2 more.
wordstat_get_regions_distributionB
Get regional distribution for a keyword: where users search this phrase more often.
Inputs: phrase (required), region, devices.
wordstat_get_regions_treeA
Get the full tree of Wordstat region IDs and names. Useful for choosing region filters.
Inputs: no named parameters.
wordstat_get_topB
Get popular and related search queries for a keyword using Yandex Wordstat.
Inputs: phrase (required), numPhrases, regions, devices.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 7 tools
Each tool has a clearly distinct purpose: web search, image search, generative answer, and four distinct Wordstat analytics functions. No overlap or confusion between tools.
All tool names follow snake_case with a consistent verb_noun pattern. The three search tools use 'search' as noun, and the four Wordstat tools use 'wordstat_get_<feature>'.
7 tools is an ideal scope for a Yandex Search API server, covering core search types and keyword research without being overwhelming or insufficient.
The tool set covers web search, image search, generative search, and comprehensive Wordstat analytics. Minor gaps like video or news search exist but are not essential for the server's stated purpose.
Related MCP Connectors
Yandex search results, images, and SERP data via the Apify Yandex Search Scraper, hosted MCP.
MCP servers for Yandex APIs: Wordstat, Search, Webmaster, Metrika, Direct. Open source, by Seyka AI.
Research Yandex search demand, trends and regions in ChatGPT. Yandex API charges apply.
Web search, AI agent, and content extraction via You.com APIs
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables keyword research and search trend analysis for the Russian market through Yandex Wordstat API. Provides access to popular search queries, search volume dynamics over time, and regional distribution data.-

Yandex Search MCP Serverofficial
FlicenseNot gradedqualityDmaintenanceEnables AI assistants to perform real-time web searches and retrieve AI-generated answers using the Yandex Search API. It provides tools for accessing up-to-date internet information with support for both raw search results and summarized content via the Yazeka model.47-- AlicenseBqualityBmaintenanceEnables SEO and AI-search visibility analysis for Russian websites through Yandex APIs, including keyword research from Wordstat, live SERP results, position tracking with history, technical audits, content briefs, and checks of AI search citations.222MIT
- AlicenseAqualityCmaintenanceEnables collecting real Yandex Wordstat v2 data and running managed semantic-core research workflows, including query frequencies, regional demand, dynamics, and AI-assisted cleaning, intent labeling, clustering, and reporting.5MIT