Information
MCP-searxng
一个用于通过 searXNG 将代理系统连接到搜索系统的MCP服务器。
工具
使用SearXNG搜索网络
提示
search(query: str) -> f"Searching for \{query\} using searXNG"
使用方法
通过 uvx
配置您的客户端JSON,如下所示
\{
"mcpServers": \{
"searxng": \{
"command": "uvx",
"args": [
"mcp-searxng"
]
\}
\}
\}
通过 git 克隆
将服务器添加到Claude桌面(入口点是main.py)
克隆仓库并将此JSON添加到Claude桌面
你可以通过运行uvx mcp-searxng来启动这个服务器,或者使用本地的仓库副本
\{
"mcpServers": \{
"searxng": \{
"command": "uv",
"args": [
"--project",
"/absoloute/path/to/MCP-searxng/",
"run",
"/absoloute/path/to/MCP-searxng/mcp-searxng/main.py"
]
\}
\}
\}
你需要根据你的环境更改路径
自定义SearXNG URL
设置环境变量SEARXNG_URL为你所使用的searxng服务器的URL(默认为http://localhost:8080)
运行你的MCP客户端,你应该能够使用searxng进行网络搜索
注意:如果你正在使用Claude桌面,请确保在重新运行服务器前终止进程(任务管理器或类似工具)