Yandex Search API
MCP server for Yandex Search API from https://aistudio.yandex.ru/docs/en/search-api/concepts/
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_COM- Web search always forces
responseFormat: FORMAT_XML - Web/image tools decode
rawDatafrom Base64 and parse XML into structured groups - Error handling with clear API status and details
Install
npm install yandex-searchapi-mcp
MCP 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 dev
Verwandte Server
OuEstCharlie Woof — MCP App photo gallery
Search and browser you photos in your AI assistant while preserving your privacy and metadata
RedNote MCP
Search and retrieve content from the Xiaohongshu (Red Book) platform.
Hatch MCP Server
Find emails, phone numbers, company data, and LinkedIn URLs using the Hatch API.
Shodan
Query Shodan's database of internet-connected devices and vulnerabilities using the Shodan API.
Simple arXiv
Search and retrieve academic papers from the arXiv repository via its API.
Dictionary-MCP
A dictionary server using the Merriam-Webster API to provide definitions, parts of speech, and pronunciations for words.
招投标大数据服务
Provides comprehensive bidding and tender information query services, including statistics, searches, and planned project queries.
skills-mcp
A self-hostable, open-source, semantically-searchable Agent Skills registry delivered over MCP, with a three-tier progressive disclosure architecture.
Supavec
Fetch relevant embeddings and content from Supavec for AI assistants.
Manalink MCP Server
An MCP server implementation for Manalink that allows AI assistants to use functions like teacher search.