Yandex Search MCP
io.github.stufently/yandex-search-mcp · 19 stars · JavaScript · MIT
MCP server MCP server for Yandex Search API (v2, Cloud)
Install
The repo has no one-line install. Follow its README.
Published as
- npm
@stufently/yandex-search-mcpstdio
From the server's entry in the official MCP Registry.
Configuration
| Name | Set as | What it is |
|---|---|---|
YANDEX_SEARCH_API_KEYRequired · Secret | Env var | Yandex Cloud API key (service account with search-api.webSearch.user) |
YANDEX_FOLDER_IDRequired | Env var | Yandex Cloud folder ID |
Files
yandex-search-mcp
MCP server for Yandex Search API v2 (Cloud). Search the web through Yandex and get structured results with titles, snippets, URLs, and metadata.
Installation
This package is published as @stufently/yandex-search-mcp; the unscoped name yandex-search-mcp
belongs to an unrelated publisher (see the note in the root README).
Nothing is on the scope yet, so run it from source:
git clone https://github.com/stufently/yandex-mcp.git cd yandex-mcp && bun install node packages/yandex-search-mcp/src/index.mjs
Configuration
Add to your MCP client config:
{
"mcpServers": {
"yandex-search": {
"command": "node",
"args": ["/path/to/yandex-mcp/packages/yandex-search-mcp/src/index.mjs"],
"env": {
"YANDEX_SEARCH_API_KEY": "your-api-key",
"YANDEX_FOLDER_ID": "your-folder-id"
}
}
}
}
Environment Variables
| Variable | Required | Description |
|---|---|---|
YANDEX_SEARCH_API_KEY |
Yes | API key from Yandex Cloud Console |
YANDEX_FOLDER_ID |
Yes | Folder ID from Yandex Cloud |
No OAuth flow is needed. Get both values from the Yandex Cloud Console.
Tool Reference
search
Search the web using Yandex Search API. Returns ranked results with titles, snippets, and URLs.
Parameters:
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
query |
string | Yes | -- | Search query text |
maxResults |
number | No | 10 | Maximum results to return (1-100) |
region |
number | No | -- | Yandex region ID |
page |
number | No | 0 | Page number (0-based) |
familyMode |
enum | No | FAMILY_MODE_MODERATE |
Safe search: FAMILY_MODE_NONE, FAMILY_MODE_MODERATE, FAMILY_MODE_STRICT |
Response fields:
Each result contains:
| Field | Type | Description |
|---|---|---|
position |
number | Ranking position (1-based) |
url |
string | Result URL |
domain |
string | Hostname extracted from URL |
title |
string | Page title |
headline |
string | Meta description |
passages |
string[] | Relevant text passages |
snippet |
string | Combined headline and passages |
size |
number | Document size in bytes |
lang |
string | Document language |
cachedUrl |
string | Yandex cached copy URL |
Language detection:
The search type and localization are automatically selected based on the query. Queries containing Cyrillic characters use the Russian search index; Latin-only queries use the international index.
API Details
- Endpoint:
POST https://searchapi.api.cloud.yandex.net/v2/web/search - Auth:
Api-Keyheader - Response: JSON with base64-encoded XML in
rawDatafield - Automatic retry with exponential backoff on 429/5xx errors
License
MIT
Facts
- Kind
- MCP server
- Group
- Uncategorized
- Stars
- 19
- License
- MIT
- Language
- JavaScript
- Last push
- 2026-10-26
- Forks
- 1
- MCP Registry
- io.github.stufently/yandex-search-mcp
- Homepage
- stufently.github.io/yandex-mcp
- Topics
- claude-code, keyword-research, mcp, mcp-server, metrika, model-context-protocol, seo, webmaster, wordstat, yandex, yandex-direct, ai-tools, javascript, nodejs, yandex-metrika
From the same owner
- 4742Yandex Webmaster MCPio.github.stufently/yandex-webmaster-mcpMCP server for Yandex Webmaster API — site analytics, indexing, search queries19
- 4743Yandex Wordstat MCPio.github.stufently/yandex-wordstat-mcpMCP server for Yandex Wordstat API — keyword research for Russian/CIS markets19
- 5516Aviasales Flight Pricesio.github.stufently/aviasales-mcpFlight price search via Aviasales/Travelpayouts: fares by route, cheapest days, flexible dates.14
- 4739Yandex Direct MCPio.github.stufently/yandex-direct-mcpMCP server for Yandex Direct API v5 — campaigns, ads, keywords, reports19
- 4740Yandex Metrika MCPio.github.stufently/yandex-metrika-mcpMCP server for Yandex Metrika API — web analytics, traffic, audience data19