Yandex Search API MCP server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Yandex Search API MCP server — StreamableHTTP build
Self-hostable Model Context Protocol server for the
Yandex Search API v2 — all search types,
served over StreamableHTTP (/mcp) so it can run as an HTTP-MCP backend in a Docker/Compose
stack (alongside other HTTP-MCP servers).
This is a fork of the official
yandex/yandex-search-mcp-server
(which exposes only stdio and always includes the AI/Yazeka endpoint). Not an official Yandex
product and not endorsed by Yandex. Two deviations:
HTTP transport — adds
run_http.py, which re-exports the same FastMCP instance and serves it over StreamableHTTP, so the container behaves like any HTTP-MCP service.All search types — builds on upstream's
web_searchand also exposes the other Search API v2 endpoints (gen_search,image_search,image_search_by_image, plus deferred text search). Russian is the default search type (SEARCH_TYPE_RU,LOCALIZATION_RU, region225= Россия).
⚠️ Derivative work. Files inherited from upstream (
server.py,detail.py) are © 2025 YANDEX LLC, Apache-2.0. See LICENSE.
Tools
All search types of the Yandex Search API v2 are exposed. Russian is the default
(SEARCH_TYPE_RU, LOCALIZATION_RU, region 225 = Россия).
Tool | Search type | Mode | Response |
| Текстовый (web pages) | sync | parsed |
| Текстовый (web pages) | deferred | Operation |
| — | — | Operation status + base64 |
| Генеративный ответ (YandexGPT) | sync | JSON answer + |
| Поиск изображений по тексту | sync |
|
| Поиск изображений по изображению | sync |
|
gen_searchrequires theFOLDER_IDenv var (the Yandex folder the key belongs to).
Docs (search types & modes): https://aistudio.yandex.ru/ru/docs/search-api/concepts/
Related MCP server: yandex-search-mcp
Container image (GHCR)
Every push to main (and every v* tag) builds and publishes the image to the
GitHub Container Registry:
ghcr.io/msklv/yandex-search-mcp-server:latest # default branch
ghcr.io/msklv/yandex-search-mcp-server:main # branch ref
ghcr.io/msklv/yandex-search-mcp-server:v1.2.3 # semver tagThe container serves the MCP server over StreamableHTTP on port 8766:
docker run --rm -p 8766:8766 \
-e SEARCH_API_KEY=... [-e FOLDER_ID=...] \
ghcr.io/msklv/yandex-search-mcp-server:latest
# MCP endpoint: http://<host>:8766/mcpRequirements
Python 3.10+ / Docker 20+.
A Yandex Search API key (and optionally a folder id). Credentials come from env vars at runtime — the repository contains no secrets.
Env var | Required | Notes |
| ✅ | Yandex Search API key ( |
| ⚠️ optional | Yandex Cloud folder id; accepted but not mandatory for service-account keys. |
| no | HTTP bind host, default |
| no | HTTP port, default |
Run
# local, stdio (upstream behaviour)
export SEARCH_API_KEY=...
python3 server.py
# local, StreamableHTTP on 8766 (/mcp)
export SEARCH_API_KEY=...
python3 run_http.py
# docker
docker build -t yandex-search-mcp-server .
docker run --rm -p 8766:8766 \
-e SEARCH_API_KEY=... [-e FOLDER_ID=...] \
yandex-search-mcp-serverweb_search
await mcp.call_tool("web_search", {"body": {"query": "кофемашина", "region": 213}})query(required) — search query; Cyrillic supported natively.search_region(optional) —ru(default) /tr/com/kk/be/uz.region(optional) — numeric Yandex region id to bias ranking (onlyru/tr); default225(Россия) forru, e.g.213= Москва,2= Санкт-Петербург.
License
Apache-2.0. Original copyright on derived files: 2025 YANDEX LLC.
This fork's additions (run_http.py, HTTP Dockerfile, this README) by msklv, Apache-2.0.
This server cannot be deployed
Maintenance
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.
Yandex rank tracking and bulk SERP data, billed per result, hosted MCP.
1Remote streamable-HTTP MCP server running on a single Cloudflare Worker. Your assistant gets live Airbnb, Amazon, Booking.com, Google Flights, Maps and Reddit data, social search on X, Instagram and TikTok, the Meta Ad Library, and image/video generation without any keys. Connect your own accounts to let it send WhatsApp or Telegram messages, work an IMAP inbox, manage Meta Ads campaigns and publish to X and LinkedIn. OAuth 2.1 with PKCE; stored credentials are AES-256-GCM encrypted.
Related MCP Servers
- AlicenseAqualityDmaintenanceProvides tools for web, image, generative search, and Wordstat keyword statistics via Yandex Search API.78 npm1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Yandex search with advanced content extraction, analysis, and LLM-context formatting through a Model Context Protocol server.26 npm4MIT
- AlicenseAqualityDmaintenanceLocal-first MCP server for Yandex Webmaster that exposes tools for SEO operations including search query analytics, sitemap management, indexing history, recrawl quota, and diagnostics.15MIT
- AlicenseNot gradedqualityCmaintenanceMCP-compliant server providing web search via Yandex Search API and URL fetching with fallback mechanisms, plus a monitoring dashboard.Apache 2.0