Skip to main content
Glama

SearXNG MCP 服务器

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

铁匠徽章

特征

  • 网络搜索:一般查询、新闻、文章,带分页。

  • 分页:控制检索哪一页结果。

  • 时间过滤:按时间范围(日、月、年)过滤结果。

  • 语言选择:按首选语言过滤结果。

  • 安全搜索:控制搜索结果的内容过滤级别。

Related MCP server: SearXNG MCP Server

工具

  • 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 文件。

Install Server
A
license - permissive license
A
quality
A
maintenance

Maintenance

Maintainers
1dResponse time
1wRelease cycle
43Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    An MCP server that integrates with the SearXNG API to provide comprehensive web search capabilities with features like time filtering, language selection, and safe search. It also enables users to fetch and convert web content from specific URLs into markdown format.
    2
    13
    4
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server that integrates the SearXNG API for web search and URL content extraction with advanced features like pagination, caching, and proxy support.
    4
    22,508
    2
    MIT

View all related MCP servers

Related MCP Connectors

  • Serper MCP — wraps the Serper Google Search API (serper.dev)

  • An MCP server that gives your AI access to the source code and docs of all public github repos

  • MCP server for Google search results via SERP API

View all MCP Connectors

Latest Blog Posts

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