npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

yandex-search-mcp

v1.1.0

Published

MCP server for Yandex Search API - web search optimized for Russian and Cyrillic content

Downloads

316

Readme

yandex-search-mcp

MCP server for Yandex Search API — web search optimized for Russian and Cyrillic content.

npm version License: MIT

English | Русский


English

Features

  • Optimized for Russian/Cyrillic — auto-detects language and uses appropriate search index
  • Full Yandex Search — same results as yandex.ru
  • Rich structured results — position, URL, domain, title, headline, passages, snippet, size, language, cached URL
  • Content filtering — family mode support
  • Regional search — filter by geographic region
  • Pagination — fetch multiple pages of results

v1.1.0 Improvements:

  • Structured JSON output — results now include all available metadata
  • Domain extraction — each result includes parsed domain
  • Passages array — separate text snippets for better processing
  • Cached URLs — links to Yandex cached versions when available

Setup

Step 1: Create Yandex Cloud Account

  1. Go to Yandex Cloud and create an account
  2. Create a new folder (or use default)
  3. Note your Folder ID from the folder settings

Step 2: Enable Search API

  1. Go to Search API in Yandex Cloud console
  2. Click Enable API
  3. Create a Service Account with search-api.executor role
  4. Create an API Key for the service account
  5. Note your API Key

Step 3: Configure Claude

Claude Desktop — edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "yandex-search": {
      "command": "npx",
      "args": ["-y", "yandex-search-mcp"],
      "env": {
        "YANDEX_SEARCH_API_KEY": "your_api_key",
        "YANDEX_FOLDER_ID": "your_folder_id"
      }
    }
  }
}

Claude Code:

claude mcp add yandex-search \
  -e YANDEX_SEARCH_API_KEY=your_api_key \
  -e YANDEX_FOLDER_ID=your_folder_id \
  -- npx -y yandex-search-mcp

Usage Examples

Once configured, ask Claude:

General Search:

  • "Search Yandex for 'best restaurants in Moscow'"
  • "Find information about 'machine learning' using Yandex"
  • "Search for 'купить квартиру Москва'"

Russian Content:

  • "Найди информацию о 'история России'"
  • "Поищи в Яндексе 'рецепт борща'"
  • "Что пишут о 'новости технологий'?"

With Options:

  • "Search Yandex for 'weather' in Moscow region (region 213)"
  • "Find 'news' with strict family filter"
  • "Search for 'cats' and include images"

Tool Parameters

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | query | string | required | Search query | | maxResults | number | 10 | Results per page (1-100) | | includeImages | boolean | false | Include image URLs | | region | number | auto | Region ID (e.g., 213 for Moscow) | | page | number | 0 | Page number for pagination | | familyMode | string | MODERATE | Content filter: NONE, MODERATE, STRICT |


Русский

Возможности

  • Оптимизирован для русского языка — автоматически определяет язык и использует нужный индекс
  • Полноценный поиск Яндекса — те же результаты, что и на yandex.ru
  • Структурированные результаты — позиция, URL, домен, заголовок, headline, passages, сниппет, размер, язык, кэш
  • Фильтрация контента — поддержка семейного режима
  • Региональный поиск — фильтрация по географическому региону
  • Пагинация — получение нескольких страниц результатов

Улучшения v1.1.0:

  • Структурированный JSON — результаты содержат все доступные метаданные
  • Извлечение домена — каждый результат включает распарсенный домен
  • Массив passages — отдельные текстовые фрагменты для лучшей обработки
  • Кэшированные URL — ссылки на кэшированные версии Яндекса

Настройка

Шаг 1: Создание аккаунта Yandex Cloud

  1. Перейдите на Yandex Cloud и создайте аккаунт
  2. Создайте новый каталог (или используйте default)
  3. Запишите Folder ID из настроек каталога

Шаг 2: Подключение Search API

  1. Перейдите в Search API в консоли Yandex Cloud
  2. Нажмите Подключить API
  3. Создайте Сервисный аккаунт с ролью search-api.executor
  4. Создайте API-ключ для сервисного аккаунта
  5. Сохраните API-ключ

Шаг 3: Настройка Claude

Claude Desktop — отредактируйте ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) или %APPDATA%\Claude\claude_desktop_config.json (Windows):

{
  "mcpServers": {
    "yandex-search": {
      "command": "npx",
      "args": ["-y", "yandex-search-mcp"],
      "env": {
        "YANDEX_SEARCH_API_KEY": "ваш_api_ключ",
        "YANDEX_FOLDER_ID": "ваш_folder_id"
      }
    }
  }
}

Claude Code:

claude mcp add yandex-search \
  -e YANDEX_SEARCH_API_KEY=ваш_api_ключ \
  -e YANDEX_FOLDER_ID=ваш_folder_id \
  -- npx -y yandex-search-mcp

Примеры использования

После настройки спросите Claude:

Общий поиск:

  • "Поищи в Яндексе 'лучшие рестораны Москвы'"
  • "Найди информацию о 'машинное обучение'"
  • "Search for 'buy apartment Moscow'"

Русскоязычный контент:

  • "Найди информацию о 'история России'"
  • "Поищи в Яндексе 'рецепт борща'"
  • "Что пишут о 'новости технологий'?"

С параметрами:

  • "Поищи 'погода' в Московском регионе (region 213)"
  • "Найди 'новости' со строгим семейным фильтром"
  • "Поищи 'котики' и включи изображения"

Параметры инструмента

| Параметр | Тип | По умолчанию | Описание | |----------|-----|--------------|----------| | query | string | обязательный | Поисковый запрос | | maxResults | number | 10 | Результатов на странице (1-100) | | includeImages | boolean | false | Включить URL изображений | | region | number | авто | ID региона (например, 213 для Москвы) | | page | number | 0 | Номер страницы для пагинации | | familyMode | string | MODERATE | Фильтр контента: NONE, MODERATE, STRICT |


Common Region IDs / Популярные ID регионов

| Region | ID | |--------|-----| | Russia / Россия | 225 | | Moscow / Москва | 213 | | Saint Petersburg / Санкт-Петербург | 2 | | Novosibirsk / Новосибирск | 65 | | Yekaterinburg / Екатеринбург | 54 | | Kazan / Казань | 43 |


Development

git clone https://github.com/altrr2/yandex-tools-mcp.git
cd yandex-tools-mcp/packages/yandex-search-mcp
bun install

No build step needed.

bun run lint        # check
bun run lint:fix    # fix issues
bun run format      # format code

Test locally:

YANDEX_SEARCH_API_KEY=key YANDEX_FOLDER_ID=folder node src/index.mjs

License

MIT © Alternex