Higress AI 智能搜索服务
一个模型上下文协议服务器,通过 Higress 让 AI 模型能够进行实时的互联网和知识搜索,利用来自谷歌、必应、Arxiv 和内部知识库的最新信息增强模型的回答。
可用工具 (1 个)
该服务在 MCP 协议中暴露的工具,AI 可按需调用
ai_search 1 个参数 需填 1 项
Enhance AI model responses with real-time search results from search engines. This tool sends a query to Higress, which integrates with various search engines to provide up-to-date information: ð **Internet Search**: Google, Bing, Quark - for general web information ð **Academic Search**: Arxiv - for scientific papers and research ð¨âð» **Internal Knowledge Search**: Company policies, Product documentation, Technical specifications Args: query: The user's question or search query Returns: The enhanced AI response with search results incorporated
必填参数:query
服务介绍
Higress AI-Search MCP 服务器
概述
这是一个模型上下文协议 (MCP) 服务器,通过 Higress 的 ai-search 功能提供一个 AI 搜索工具,利用来自多个搜索引擎的实时搜索结果来增强 AI 模型的响应。
演示
Cline
https://github.com/user-attachments/assets/60a06d99-a46c-40fc-b156-793e395542bb
Claude Desktop
https://github.com/user-attachments/assets/5c9e639f-c21c-4738-ad71-1a88cc0bcb46
特性
- 互联网搜索:Google、Bing、Quark - 用于一般网络信息
- 学术搜索:Arxiv - 用于科学论文和研究
- 内部知识搜索
前提条件
配置
可以通过环境变量配置服务器:
HIGRESS_URL(可选):Higress 服务的 URL(默认为http://localhost:8080/v1/chat/completions)。MODEL(必需):用于生成响应的 LLM 模型。INTERNAL_KNOWLEDGE_BASES(可选):内部知识库的描述。
选项 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": "Employee handbook, company policies, internal process documents"
}
}
}
}
选项 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",
"INTERNAL_KNOWLEDGE_BASES": "Employee handbook, company policies, internal process documents"
}
}
}
}
许可证
本项目根据 MIT 许可证授权 - 详情请参阅 LICENSE 文件。