mcp_server_searXNG

by panxingfeng

1 stars
380 downloads
Not rated
GitHub

About

mcpserversearXNG is an MCP-based network search function server that uses the SearXNG search engine for privacy-friendly web searches. It is intended for users who want to perform web searches with privacy and control over search sources and categories.

Details

Author
panxingfeng
GitHub stars
1
Downloads
380
Categories
Other

- Web searches through multiple search engines
- Supports general, images, and news categories
- Customizable engine selection
- Language filtering (default: Chinese)
- Time range filtering (day, week, month, year)
- Control over maximum search results

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name mcp_server_searXNG
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install with pip install mcp-server-searxng==0.2, then configure as an MCP server by specifying the command python -m mcp_server_searxng --instance-url=https://your-searxng-instance.com. Invoke the web_search tool with required parameter query and optional parameters such as categories, engines, language, max_results, and time_range.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcp_server_searxng": {
            "mcp_server_searXNG": {
                "command": "npx",
                "args": [
                    "@modelcontextprotocol/inspector",
                    "python",
                    "-m",
                    "mcp_server_searxng"
                ]
            }
        }
    }
}

McpServers

{
    "mcp_server_searXNG": {
        "command": "npx",
        "args": [
            "@modelcontextprotocol/inspector",
            "python",
            "-m",
            "mcp_server_searxng"
        ]
    }
}

mcp_server_searXNG

基于MCP技术的网络搜索功能服务器,使用SearXNG搜索引擎实现隐私友好的网络搜索功能。

功能特点

此服务器提供以下主要功能:

- 通过多个搜索引擎进行网络搜索
- 支持多种搜索类别(一般、图片、新闻等)
- 自定义搜索引擎选择
- 语言筛选
- 时间范围过滤
- 搜索结果数量控制

可用工具

- web_search - 使用SearXNG执行网络搜索
- 必需参数:
- query (string): 搜索查询内容
- 可选参数:
- categories (array): 搜索类别,例如 ['general', 'images', 'news']
- engines (array): 搜索引擎,例如 ['google', 'bing', 'duckduckgo']
- language (string): 搜索语言代码,默认为 "zh"
- max_results (integer): 最大结果数量,默认为 10
- time_range (string): 时间范围过滤 ('day', 'week', 'month', 'year')

安装方法

使用 pip 安装

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.