YY

yandex/yandex-search-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

47 stars 5 forks 质量 68 趋势 13NOASSERTION

这个模型上下文协议(MCP)服务器让像Claude和Cursor这样的AI助手可以使用Yandex Search API进行网页搜索。

概览

该模型上下文协议(MCP)服务器允许 Claude 和 Cursor 等 AI 助手使用 Yandex Search API 进行网页搜索。Yandex Search 使 LLM 代理能够安全轻松地在互联网上查找最新信息。 Yandex 搜索 MCP 服务器包含以下工具: - 进行实时网页搜索,并基于Yandex Yazeka AI模型的搜索结果返回AI生成的答案。- :进行实时网络搜索并返回带有来源的答案 要使用该MCP服务器,您需要成为Yandex Search API的客户。此外,您需要Yandex Search API密钥和文件夹ID:- API密钥文档 - 必须包含yc.search-api.execute scope。- 文件夹ID文档 - 该文件夹中的服务账户必须具有search-api.editor角色。 打开Claude桌面应用,从左上角菜单栏启用开发者模式。 启用后,打开设置(同样在左上角菜单栏),进入开发者选项。

概述(AI 翻译)

该模型上下文协议(MCP)服务器允许 Claude 和 Cursor 等 AI 助手使用 Yandex Search API 进行网页搜索。Yandex Search 使 LLM 代理能够安全轻松地在互联网上查找最新信息。

可用工具

Yandex 搜索 MCP 服务器包含以下工具:

  • ai_search_post 进行实时网页搜索,并基于Yandex Yazeka AI模型根据搜索结果返回AI生成的答案。
  • web_search_post:进行实时网页搜索并返回答案及来源

获取API密钥

要使用这个MCP服务器,你需要是Yandex Search API的客户。另外,你需要Yandex Search API的密钥和文件夹ID:

  • API 密钥文档
  • 必须包含yc.search-api.execute范围。
  • 文件夹ID文档
  • 该文件夹中的服务账户必须具有search-api.editor角色。

如何远程使用 Yandex 搜索 MCP(推荐)

Yandex 搜索 MCP 连接网址

如何将Yandex搜索MCP添加到Claude 🤖中

1.配置 Claude Desktop 以识别 MCP 服务器

打开Claude桌面应用,从左上角菜单栏启用开发者模式。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Yandex Search MCP Server

This Model Context Protocol (MCP) server lets AI assistants like Claude and Cursor use the Yandex Search API for searching the web. Yandex Search enables LLM agents to safely and easily find up-to-date information on the internet.

Available Tools

The Yandex Search MCP server includes the following tools:

  • ai_search_post Performs a real-time web search and returns an AI-generated answer based on the search results using Yandex Yazeka AI model.
  • web_search_post: Performs a real-time web search and returns answer with sources

Getting API Key

To use this MCP server, you need to be a customer of Yandex Search API. Also you need a Yandex Search API key and folder id:

Yandex Search MCP URL for Remote Connection

https://d5de9siimt9bkld7viic.emzafcgx.apigw.yandexcloud.net:3000/sse

How to Add Yandex Search MCP to Claude 🤖

1. Configure Claude Desktop to Recognize MCP Servers

Open the Claude Desktop app and enable Developer Mode from the top-left menu bar.

Once enabled, open Settings (also from the top-left menu bar) and navigate to the Developer Option.

Click the Edit Config button to open the claude_desktop_config.json file

2. Add Yandex Search MCP to Claude Desktop

Add the following text to your Claude Desktop configuration file:

{
  "mcpServers": {
    "yandexSearch": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://d5de9siimt9bkld7viic.emzafcgx.apigw.yandexcloud.net:3000/sse",
        "--header", "ApiKey:",
        "--header", "FolderId:"
      ]
    }
  }
}

3. Restart Claude Desktop

For the changes to take effect:

  1. Completely quit Claude Desktop (not just close the window)
  2. Start Claude Desktop again
  3. Click “Search and Tools” to verify that yandexSearch is enabled and running

How to Add Yandex Search MCP to Cursor 🤖

1. Configure Cursor to Recognize MCP Servers

Open Settings and navigate to Tools and Integrations in the left panel.

Click the Add Custom MCP button to create the mcp.json config file in cursor

2. Add Yandex Search MCP to Cursor

Add the following text to your Claude Desktop configuration file:

{
  "mcpServers": {
    "yandexSearch": {
      "type": "sse",
      "url": "https://d5de9siimt9bkld7viic.emzafcgx.apigw.yandexcloud.net:3000/sse",
      "headers": {
        "ApiKey": "",
        "FolderId": ""
      }
    }
  }
}

3. Find information on the web with yandexSearch

在 GitHub 查看完整 README

安装

npx -y mcp-remote https://d5de9siimt9bkld7viic.emzafcgx.apigw.yandexcloud.net:3000/sse --header ApiKey:<your_api_key> --header FolderId:<your_folder_id>
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "yandexSearch": { "command": "npx", "args": [ "-y", "mcp-remote", "https://d5de9siimt9bkld7viic.emzafcgx.apigw.yandexcloud.net:3000/sse", "--header", "ApiKey:<your_api_key>", "--header", "FolderId:<your_folder_id>" ] } } }