yandex-searchapi-mcp
Yandex Search.API MCPサーバー
REST経由でYandex Search APIを利用するための7つのツールを備えたMCPサーバーです:
web_searchimage_searchgenerative_searchwordstat_get_topwordstat_get_dynamicswordstat_get_regions_distributionwordstat_get_regions_tree
サーバーはMCPクライアントの環境設定から以下の認証情報を読み取ります:
FOLDER_IDAPI_KEY
ローカル開発環境では、.envファイルが自動的に読み込まれます。
特徴
RESTエンドポイントのみを使用 (
/v2/web/search,/v2/image/search,/v2/gen/search, Wordstat RESTパス)モデルのコンテキストをコンパクトに保つため、ツールへの入力を最小限に抑えています
すべての関連ツールで
searchTypeが利用可能で、デフォルトはSEARCH_TYPE_COMですウェブ検索は常に
responseFormat: FORMAT_XMLを強制しますウェブ/画像ツールはBase64から
rawDataをデコードし、XMLを構造化されたグループに解析します明確なAPIステータスと詳細を含むエラーハンドリング
Related MCP server: Yandex Search MCP Server
インストール
npm install yandex-searchapi-mcpMCPクライアント設定例
{
"mcpServers": {
"yandex-searchapi": {
"command": "npx",
"args": ["-y", "yandex-searchapi-mcp"],
"env": {
"FOLDER_ID": "your-folder-id",
"API_KEY": "your-api-key"
}
}
}
}ツール
web_search
生成された回答ではなく、従来のウェブ検索結果(リンク + スニペット)が必要な場合に使用します。
入力:
query(必須)searchType(オプション、デフォルトSEARCH_TYPE_COM)page(オプション)docsOnPage(オプション)familyMode(オプション)fixTypoMode(オプション)
戻り値:
groups[](各ドキュメントに以下を含むdocuments[]を持つ):urltitlelanguagepassages
requestIdfound
注:ウェブ検索の場合、この入力はアップストリームAPIの groupSpec.groupsOnPage にマッピングされます。
image_search
画像検索結果および画像のメタデータ(サムネイル/オリジナルリンクおよび寸法)が必要な場合に使用します。
入力:
query(必須)searchType(オプション、デフォルトSEARCH_TYPE_COM)page(オプション)site(オプション)docsOnPage(オプション)imageSpec(オプション:format,size,orientation,color)
戻り値:
groups[](各ドキュメントに以下を含むdocuments[]を持つ):urlextras.image-properties(存在する場合)
requestIdfound
generative_search
検索結果から統合された、すぐに使える根拠のある回答が必要な場合に使用します。
入力:
query(必須)searchType(オプション、デフォルトSEARCH_TYPE_COM)fixMisspell(オプション)getPartialResults(オプション)scope(オプション):{ type: "site" | "host" | "url", values: string[] }
生成されたコアフィールドのみを返します(ラッパーオブジェクトなし):
messagesourcessearchQueriesfixedMisspellQueryisAnswerRejectedisBulletAnswerhintsproblematicAnswer
wordstat_get_top
キーワードに関連してユーザーがどのようなクエリを検索しているかを把握するために使用します。
入力:
phrase(必須)numPhrases(オプション、デフォルト20)regions(オプション)devices(オプション)
戻り値:
totalCountresultsassociations
wordstat_get_dynamics
キーワードの需要トレンドを時系列で追跡するために使用します。
入力:
phrase(必須)period(オプション、デフォルトPERIOD_WEEKLY)fromDate(オプション、デフォルトnow-30d, ISO日時)toDate(オプション、デフォルトnow, ISO日時)regions(オプション)devices(オプション)
戻り値:
results
wordstat_get_regions_distribution
キーワードがどの地域/都市で相対的に人気があるかを確認するために使用します。
入力:
phrase(必須)region(オプション、デフォルトREGION_ALL)devices(オプション)
戻り値:
results
wordstat_get_regions_tree
地域別のWordstatフィルターに使用する有効な地域IDと名前を取得するために使用します。
入力:
なし
戻り値:
regions
開発
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.
Maintenance
Related MCP Connectors
Web search, AI agent, and content extraction via You.com APIs
Web knowledge fetching tools for your agent.
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
SEO & GEO data: keywords, live SERPs with AI Overviews, backlinks, site audits, rank tracking.
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.50-- 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