CuratedMCP
OpenAI Agents SDK
npm

How to install SearXNG Search in OpenAI Agents SDK

MCP server for SearXNG — privacy-respecting web search with pagination, URL reading

Indexed, not yet reviewed

We found SearXNG Search in the official MCP registry. Our automated check passed on Nov 1, 2026 (it confirms the server is published and reachable), but no one at CuratedMCP has reviewed its code, permissions or credentials handling. Check what it can access before you give it keys. Scan your machine free to see every MCP server you have installed.

Steps

  1. 1Install Node.js 18 or newer (for npx)
  2. 2pip install openai-agents
  3. 3Use the snippet below inside an async function

Python snippet

Python
from agents import Agent
from agents.mcp import MCPServerStdio

async with MCPServerStdio(
    params={
        "command": "npx",
        "args": [
            "-y",
            "mcp-searxng"
        ],
        "env": {
            "SEARXNG_URL": "<your-searxng-url>"
        }
    },
) as server:
    agent = Agent(name="Assistant", mcp_servers=[server])

Replace the values in angle brackets. Optional settings are listed below.

Environment variableRequiredWhat it is
SEARXNG_URLsecretYesURL of your SearXNG instance
AUTH_USERNAMEsecretNoLegacy global SearXNG Basic Auth username
AUTH_PASSWORDsecretNoLegacy global SearXNG Basic Auth password

Install in other clients

About SearXNG Search: repo, license and check results →

Maintain SearXNG Search?

Claim this page to get a full CuratedMCP listing: edit your description, see listing analytics, and add our README badge. Listing is free, and a person checks every submission before it goes live. We'll pre-fill the form from the registry.

    How to install SearXNG Search MCP server in OpenAI Agents SDK | CuratedMCP