Skip to main content
Glama

SearXNG Server

SearXNG MCP 服务器

集成SearXNG API 的MCP 服务器实现,提供网络搜索功能。

特征

  • 网络搜索:一般查询、新闻、文章,带分页。
  • 分页:控制检索哪一页结果。
  • 时间过滤:按时间范围(日、月、年)过滤结果。
  • 语言选择:按首选语言过滤结果。
  • 安全搜索:控制搜索结果的内容过滤级别。

工具

  • searxng_web_search
    • 使用分页执行网页搜索
    • 输入:
      • query (字符串):搜索查询。此字符串将传递给外部搜索服务。
      • pageno (数字,可选):搜索页码,从 1 开始(默认 1)
      • time_range (字符串,可选):按时间范围过滤结果 - 其中之一:“日”、“月”、“年”(默认值:无)
      • language (字符串,可选):结果的语言代码(例如“en”,“fr”,“de”)或“all”(默认值:“all”)
      • safesearch (数字,可选):安全搜索过滤级别(0:无,1:中等,2:严格)(默认:实例设置)
  • web_url_read
    • 读取内容并将其从 URL 转换为 markdown
    • 输入:
      • url (字符串):要获取和处理的 URL

配置

设置 SEARXNG_URL

  1. 公共实例列表中选择一个 SearxNG 实例或使用您的本地环境。
  2. SEARXNG_URL环境变量设置为实例 URL。
  3. 默认的SEARXNG_URL值是http://localhost:8080

与 Claude Desktop 一起使用

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 SearxNG 服务器:

npx -y @smithery/cli install @ihor-sokoliuk/server-searxng --client claude

NPX

{ "mcpServers": { "searxng": { "command": "npx", "args": [ "-y", "mcp-searxng" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }

新公共管理

npm install -g mcp-searxng

然后在你的 MCP 配置文件中:

{ "mcpServers": { "searxng": { "command": "mcp-searxng", "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }

Docker

使用Docker Hub 预构建的镜像
docker pull isokoliuk/mcp-searxng:latest

将其添加到您的claude_desktop_config.json中:

{ "mcpServers": { "searxng": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SEARXNG_URL", "isokoliuk/mcp-searxng:latest" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }
本地构建
docker build -t mcp-searxng:latest -f Dockerfile .
使用

将其添加到您的claude_desktop_config.json中:

{ "mcpServers": { "searxng": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "SEARXNG_URL", "mcp-searxng:latest" ], "env": { "SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL" } } } }

执照

此 MCP 服务器采用 MIT 许可证。这意味着您可以自由使用、修改和分发该软件,但须遵守 MIT 许可证的条款和条件。更多详情,请参阅项目仓库中的 LICENSE 文件。

You must be authenticated.

A
security – no known vulnerabilities
A
license - permissive license
A
quality - confirmed to work

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

集成 SearXNG API 的 MCP 服务器实现,提供网络搜索功能。

  1. 特征
    1. 工具
      1. 配置
        1. 设置 SEARXNG\_URL
        2. 与 Claude Desktop 一起使用
        3. 通过 Smithery 安装
        4. NPX
        5. 新公共管理
        6. Docker
      2. 执照

        Related MCP Servers

        • A
          security
          A
          license
          A
          quality
          An MCP server for connecting agentic systems to search systems via searXNG.
          Last updated -
          1
          43
          Python
          MIT License
        • -
          security
          A
          license
          -
          quality
          A TypeScript-based MCP server for SearXNG that allows users to create and summarize text notes using simple URIs and metadata, facilitating natural language interaction with stored content.
          Last updated -
          1
          Python
          MIT License
          • Apple
        • -
          security
          A
          license
          -
          quality
          The Search MCP Server enables seamless integration of network and local search capabilities in tools like Claude Desktop and Cursor, utilizing the Brave Search API for high-concurrency and asynchronous requests.
          Last updated -
          1
          52
          Python
          MIT License
          • Linux
        • -
          security
          F
          license
          -
          quality
          An MCP server that integrates with SerpApi to retrieve search results from multiple search engines including Google, Bing, Yahoo, and others, enabling fast access to both live and archived search data.
          Last updated -
          Python

        View all related MCP servers

        MCP directory API

        We provide all the information about MCP servers via our MCP API.

        curl -X GET 'https://glama.ai/api/mcp/v1/servers/ihor-sokoliuk/mcp-searxng'

        If you have feedback or need assistance with the MCP directory API, please join our Discord server