SM

secretiveshell/mcp-searxng

开发工具

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

132 stars 18 forks 质量 67 趋势 0MIT

secretiveshell/mcp-searxng 是一个从 https://github.com/secretiveshell/mcp-searxng. 导入的 MCP 服务器候选

概览

secretiveshell/mcp-searxng 是一个从 https://github.com/secretiveshell/mcp-searxng. 导入的 MCP 服务器候选

概述(AI 翻译)

一个MCP服务器,用于通过searXNG连接代理系统与搜索系统。

工具

用SearXNG搜索网页

提示

用途

通过 UVX

1)配置客户端的JSON

通过 Git 克隆

1)将服务器添加到Claude桌面(入口点是 main.py)

克隆仓库,然后把这个JSON 添加到Claude Desktop。

你可以用 uvx mcp-searxng 运行该服务器,或者使用仓库的本地副本

你需要根据环境调整路径

自定义 SearXNG URL

2)将环境变量 SEARXNG_URL 设置为 searxng 服务器的 URL(默认为 http://localhost:8080)

3)运行你的MCP客户端,你应该能用searxng在网上搜索

注意:如果你用的是Claude Desktop,确保在再次运行服务器前关闭进程(任务管理器或同等工具)

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

README

MCP-searxng

An MCP server for connecting agentic systems to search systems via searXNG.

Tools

Search the web with SearXNG

Prompts

search(query: str) -> f"Searching for {query} using searXNG"

Usage

via uvx

  1. configure your client JSON like
{
  "mcpServers": {
    "searxng": {
      "command": "uvx", 
      "args": [
        "mcp-searxng"
      ]
    }
  }
}

via git clone

  1. Add the server to claude desktop (the entrypoint is main.py)

Clone the repo and add this JSON to claude desktop

you can run this server with uvx mcp-searxng, or use a local copy of the repo

{
  "mcpServers": {
    "searxng": {
      "command": "uv", 
      "args": [
        "--project",
        "/absoloute/path/to/MCP-searxng/",
        "run",
        "/absoloute/path/to/MCP-searxng/mcp-searxng/main.py"
      ]
    }
  }
}

you will need to change the paths to match your environment

Custom SearXNG URL

  1. set the environment variable SEARXNG_URL to the URL of the searxng server (default is http://localhost:8080)

  2. run your MCP client and you should be able to search the web with searxng

Note: if you are using claude desktop make sure to kill the process (task manager or equivalent) before running the server again

在 GitHub 查看完整 README

安装

uvx mcp-searxng
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "searxng": { "command": "uvx", "args": [ "mcp-searxng" ] } } }