An MCP server for connecting agentic systems to search systems via searXNG.
3 stars1 watching0 forks

MCP-searxng

An MCP server for connecting agentic systems to search systems via searXNG.

Tools

Search the web with searXNG

Prompts

search(query: str) -> f"Searching for {query} using searXNG"

Usage

  1. Add the server to claude desktop (the entrypoint is main.py)

Clone the repo and add this json to claude desktop

{
  "mcpServers": {
    "searxng": {
      "command": "uv", 
      "args": [
        "--project",
        "/absoloute/path/to/MCP-searxng/",
        "run",
        "/absoloute/path/to/MCP-searxng/mcp-searxng/main.py"
      ]
    }
  }
}

obviously you will need to change the paths to match your environment

  1. set the environment variable SEARXNG_URL to the url of the searxng server (default is http://localhost:8080)

  2. run your MCP client and you should be able to search the web with searxng

Note: if you are using claude desktop make sure to kill the process (task manager or equivalent) before running the server again

Features

search
web
query

Category

Search