Back to MCP directory
publicPublicdnsLocal runtime

higress-ai-search-mcp-server

Higress AI-Search MCP服务器为AI模型提供实时搜索引擎结果增强

article

README

🚀 Higress AI-Search MCP 服务器

Higress AI-Search MCP 服务器是一个提供 AI 搜索工具的模型上下文协议(MCP)服务器。它借助 Higressai-search 功能,能够实时从多个搜索引擎获取信息,从而增强 AI 模型的响应能力。

🚀 快速开始

先决条件

✨ 主要特性

  • 互联网搜索:支持 Google、Bing、Quark 等搜索引擎,可用于获取通用网络信息。
  • 学术搜索:集成 Arxiv 搜索引擎,可用于查找科学论文和研究资料。
  • 内部知识搜索:能够搜索内部知识库的信息。

📦 安装指南

选项 1:使用 uvx

使用 uvx 将自动从 PyPI 安装包,无需本地克隆仓库。

{
  "mcpServers": {
    "higress-ai-search-mcp-server": {
      "command": "uvx",
      "args": [
        "higress-ai-search-mcp-server"
      ],
      "env": {
        "HIGRESS_URL": "http://localhost:8080/v1/chat/completions",
        "MODEL": "qwen-turbo",
        "INTERNAL_KNOWLEDGE_BASES": "员工手册、公司政策、内部流程文档"
      }
    }
  }
}

选项 2:使用 uv 进行本地开发

使用 uv 需要本地克隆仓库并指定源代码路径。

{
  "mcpServers": {
    "higress-ai-search-mcp-server": {
      "command": "uv",
      "args": [
        "--directory",
        "path/to/src/higress-ai-search-mcp-server",
        "run",
        "higress-ai-search-mcp-server"
      ],
      "env": {
        "HIGRESS_URL": "http://localhost:8080/v1/chat/completions",
        "MODEL": "qwen-turbo",
      }
    }
  }
}

💻 使用示例

控制台

https://github.com/user-attachments/assets/60a06d99-a46c-40fc-b156-793e395542bb

Claude Desktop

https://github.com/user-attachments/assets/5c9e639f-c21c-4738-ad71-1a88cc0bcb46

📚 详细文档

服务器可通过环境变量进行配置:

  • HIGRESS_URL(可选):Higress 服务的 URL(默认值为 http://localhost:8080/v1/chat/completions)。
  • MODEL(必填):使用的 LLM 模型。
  • INTERNAL_KNOWLEDGE_BASES(可选):内部知识库的描述。
help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client