Feedback

SearXNG MCP Server — by The-AI-Workshops

@the-ai-workshops Claim

Basic information

Runtime
python
Version
1.0.1
Category
License
Not specified
Transports
stdio
Author
the-ai-workshops
Submitted by
Community
Quality
40
Stars
24

About SearXNG MCP Server

An MCP sse implementation of the Model Context Protocol (MCP) server integrated with SearXNG for providing AI agents with powerful, privacy-respecting search capabilities.

SearXNG MCP Server is a MCP server in the Other category listed in the AddMCP.net directory, published by The-AI-Workshops. Supported transport: stdio. Runtime: python. The repository has 24 GitHub stars. Source code is hosted on github.com. Related topics: ai, docker, dockerfile, mcp, mcp-server.

Setup

{
    "mcpServers": {
        "searxng-mcp-server": {
            "command": "docker",
            "args": [
                "run",
                "-d",
                "--name=searxng",
                "-p",
                "32768:8080",
                "-v",
                "/root/searxng:/etc/searxng",
                "\\"
            ]
        }
    }
}

SearXNG MCP Server — by The-AI-Workshops config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "searxng-mcp-server": {
            "command": "docker",
            "args": [
                "run",
                "-d",
                "--name=searxng",
                "-p",
                "32768:8080",
                "-v",
                "/root/searxng:/etc/searxng",
                "\\"
            ]
        }
    }
}

SearXNG MCP Server — by The-AI-Workshops tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is SearXNG MCP Server?

The SearXNG MCP Server is an MCP SSE implementation that integrates the SearXNG metasearch engine with the Model Context Protocol. It enables AI agents to perform privacy-respecting web searches through a SearXNG instance. The server serves both as a ready-to-use tool and as a template for building custom MCP servers.

How to use SearXNG MCP Server?

Install the server using uv, Docker, or Smithery. Ensure Python 3.9+ and a running SearXNG instance are available. Configure a .env file with SEARXNG_BASE_URL, HOST, PORT, and TRANSPORT (sse or stdio). Run server.py directly, via Docker, or through Smithery depending on your chosen transport. Connect your MCP client (e.g., Claude Desktop, Windsurf) using the appropriate SSE URL or stdio configuration.

Key features of SearXNG MCP Server

  • SSE and stdio transport support for flexible integration.
  • Configurable SearXNG search parameters (categories, engines, time range, language, etc.).
  • Works with any MCP-compatible client.
  • Docker container deployment for easy setup.
  • Smithery management support for streamlined installation.

Use cases of SearXNG MCP Server

  • Provide AI agents with web search capability while respecting user privacy.
  • Integrate a self-hosted SearXNG instance into an MCP-connected assistant.
  • Serve as a starting template for building custom MCP servers with other backends.
  • Enable private, ad-free search for automated tasks or research agents.

Frequently asked questions

1 What are the prerequisites for running the server?

Python 3.9+ and access to a running SearXNG instance (local or remote) are required. Docker and uv are optional for containerized or faster setup.

2 What transport protocols are supported?

The server supports both SSE (Server-Sent Events) and stdio transports. Set the TRANSPORT environment variable to sse or stdio in your .env file.

3 How do I configure the SearXNG instance URL?

Set the SEARXNG_BASE_URL environment variable in your .env file, for example http://172.17.0.1:32768 (default Docker bridge address).

4 Is the server compatible with n8n?

Yes, n8n users should use host.docker.internal instead of localhost in the SSE URL because n8n runs inside a separate container.

5 Can I extend the server with custom tools?

Yes, the repository is designed as a template. Add custom tools by decorating methods with @mcp.tool(), and add resources or prompts with @mcp.resource() and @mcp.prompt().

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬