1. Conduid
  2. Social
  3. SearXNG Search Server
MCP server · Social

SearXNG Search Server

Provide programmatic access to privacy-respecting meta-search functionality via a standardized protocol. Perform advanced search queries with flexible filtering and output formats. Easily deploy and integrate with existing SearXNG instances using multiple transport modes including HTTP and stdio.

Unclaimed social
34Low

Scored 6 months ago · breakdown

About SearXNG Search Server

SearXNG Search Server is an MCP server in the Social category: provide programmatic access to privacy-respecting meta-search functionality via a standardized protocol. Perform advanced search queries with flexible filtering and output formats. Easily deploy and integrate with existing SearXNG instances using multiple transport modes including HTTP and stdio.

Install

From source
git clone https://github.com/GoodestUsername/searxng-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about SearXNG Search Server

Powered by Claude · Grounded in docs

I know everything about SearXNG Search Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

MCP Server for SearXNG

This project provides an MCP (Multi-Client Protocol) server interface for interacting with SearXNG, the privacy-respecting meta-search engine. The server allows programmatic access to search functionality through a standardized protocol.

Features

  • Integration with SearXNG
  • Support for multiple transport protocols (stdio, HTTP)
  • Type-safe API using Pydantic models
  • Flexible configuration via environment variables
  • Docker support for easy deployment

Prerequisites

Before running the server:

  1. Ensure you have a working SearXNG instance (local or remote)
  2. Install Python 3.13+ and required dependencies:
    uv sync
    

Environment Variables

Variable Default Value Description
SEARXNG_URL http://localhost:8181 URL of the SearxNG instance
DEFAULT_PATH mcp Default path of in the uri if none is provided

Command Line Interface

The application provides a Typer-based CLI with two main commands:

stdio mode

python searxng_mcp/main.py stdio

http mode

python searxng_mcp/main.py http --host=0.0.0.0 --port=8000

Docker

Build the image:

docker build --tag 'mcp/searxng-mcp' .

Run in stdio mode:

docker run mcp/searxng-mcp stdio

Run in HTTP mode (exposing port 8000):

docker run -p 8000:8000 mcp/searxng-mcp http --host=0.0.0.0 --port=8000

MCP Config file examples

With http:

{
  "mcpServers": {
    "mcp/searxng": {
      "url": "http://0.0.0.0:8000/mcp"
    }
  }
}

With stdio:

{
  "mcpServers": {
    "mcp/searxng": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "mcp/searxng-mcp",
        "stdio"
      ]
    }
  }
}

API Documentation

The server implements a MCP (Model Communication Protocol) compatible with FastMCP.

Search Tool

  • Name: search

  • Description: Performs a search query using a remote SearXNG instance.

  • Parameters:

    • q (str): The search query string. Supports advanced syntax per engine.
    • categories (list[Categories], optional): List of active categories. See available in code.
    • engines (list[Engines], optional): List of specific engines to use.
    • language (str, optional): ISO language code for results.
    • pageno (int, default=1): Page number starting from 1.
    • time_range (Literal['day','month','year'], optional): Time range filter.
    • format (Literal['html', 'json', 'csv', 'rss'], default='json'): Output format.
    • image_proxy (bool, optional): Proxy images through SearXNG?
    • safesearch (int:0-2, optional): Safe search level. Higher is stricter.
    • enabled_plugins, disabled_plugins (list[Plugins], optional): Plugins to enable/disable.
    • enabled_engines, disabled_engines (list[Engines], optional): Engines to enable/disable.
  • Returns:

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About SearXNG Search Server

How do I install SearXNG Search Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is SearXNG Search Server safe to use with an AI agent?

Its trust score is 34 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is SearXNG Search Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.