hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
Integrates the SearXNG API to provide web search capabilities with pagination support, allowing for general queries, news, and article searches.
SearXNG MCP 服务器
集成SearXNG API 的MCP 服务器实现,提供网络搜索功能。
特征
- 网络搜索:一般查询、新闻、文章,带分页。
- 分页:控制检索哪一页结果。
- 时间过滤:按时间范围(日、月、年)过滤结果。
- 语言选择:按首选语言过滤结果。
- 安全搜索:控制搜索结果的内容过滤级别。
工具
- searxng_web_search
- 使用分页执行网页搜索
- 输入:
query
(字符串):搜索查询。此字符串将传递给外部搜索服务。pageno
(数字,可选):搜索页码,从 1 开始(默认 1)time_range
(字符串,可选):按时间范围过滤结果 - 其中之一:“日”、“月”、“年”(默认值:无)language
(字符串,可选):结果的语言代码(例如“en”,“fr”,“de”)或“all”(默认值:“all”)safesearch
(数字,可选):安全搜索过滤级别(0:无,1:中等,2:严格)(默认:实例设置)
配置
设置 SEARXNG_URL
- 从公共实例列表中选择一个 SearxNG 实例或使用您的本地环境。
- 将
SEARXNG_URL
环境变量设置为实例 URL。 - 默认的
SEARXNG_URL
值是http://localhost:8080
。
与 Claude Desktop 一起使用
通过 Smithery 安装
要通过Smithery自动为 Claude Desktop 安装 SearxNG 服务器:
Copy
NPX
Copy
新公共管理
Copy
然后在你的 MCP 配置文件中:
Copy
Docker
使用 Docker Hub 预构建的镜像
Copy
将其添加到您的claude_desktop_config.json
中:
Copy
本地构建
Copy
使用
将其添加到您的claude_desktop_config.json
中:
Copy
执照
此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。
You must be authenticated.
集成 SearXNG API 的 MCP 服务器实现,提供网络搜索功能。