MCP.so
登录
S

SearXNG MCP server

@nik-sharky

关于 SearXNG MCP server

A Model Context Protocol (MCP) server that provides web search capabilities by integrating with a SearXNG instance.

基本信息

分类

搜索

传输方式

stdio

发布者

nik-sharky

提交者

Nik

配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "searxng-mcp-nik-sharky": {
      "command": "python",
      "args": [
        "searxng_mcp.py",
        "--transport",
        "http",
        "--port",
        "32123",
        "--searxng",
        "http://searx.lan"
      ]
    }
  }
}

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is SearXNG MCP server?

A Model Context Protocol (MCP) server that provides web search capabilities by integrating with a SearXNG instance. It aggregates results from over 130 engines and supports advanced search parameters for precise queries.

How to use SearXNG MCP server?

Install Python 3.10+, clone the repository, and install dependencies with pip install -r requirements.txt. Run the server using python searxng_mcp.py --transport http --port 32123 --searxng http://your-searxng-instance:8080. Configuration can be set via environment variables (SEARXNG_URL, MCP_PORT, MCP_HOST) or command-line arguments. Docker is also supported for containerized deployment.

Key features of SearXNG MCP server

  • Aggregated web search across 130+ engines.
  • Programmatic discovery of categories and engines.
  • Supports stdio, HTTP, and SSE transports.
  • Flexible configuration via environment variables and CLI.
  • Advanced parameters: categories, engines, language, pageno, time_range, safesearch.

Use cases of SearXNG MCP server

  • Integrate aggregated web search into AI agents or assistants.
  • Retrieve specialized content (images, news, science, maps) programmatically.
  • Dynamically adapt to available engines and categories via discovery tools.
  • Deploy a stateless search service for scalable, multi-client environments.

FAQ from SearXNG MCP server

What prerequisites are needed to run SearXNG MCP server?

Python 3.10+ and a running SearXNG instance (accessible via HTTP) are required.

How do I configure the server?

Set SEARXNG_URL, MCP_PORT, and MCP_HOST in a .env file, or pass them as command-line arguments (e.g., --searxng http://instance:8080).

What transport options are available?

The server supports stdio (default for some clients), http (stateless HTTP), and sse (Server-Sent Events) transports.

How can I filter search results?

Use the categories (e.g., news,it), engines (e.g., google,wikipedia), language, pageno, time_range (day, month, year), and safesearch (0–2) parameters.

Can I discover available categories and engines dynamically?

Yes, the searxng_get_info tool returns the list of enabled categories and engines from your SearXNG instance.

评论

搜索 分类下的更多 MCP 服务器