# whw23/searxng-http-mcp [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/whw23/searxng_http_mcp  
**GitHub Stars:** 11  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/whw23-searxng-http-mcp

## Description
Self-contained SearXNG MCP server in Docker. 200+ search engines, 30+ categories, multi-page fanout, autocomplete, and engine discovery. Dual transport (HTTP + stdio), API key auth, and built-in SearXNG Web UI reverse proxy. Zero-install deploy.

## Tools
Capabilities this server exposes over MCP:

- **search** — Search the web using SearXNG metasearch engine.

Aggregates results from 200+ search engines (Google, Bing, DuckDuckGo, Brave, etc.)
with privacy. Returns results, answers, suggestions, corrections, and infoboxes.
Use 'categories' to focus on specific content types. Use 'pages' for more results.

Not suitable for autocomplete suggestions (use autocomplete tool) or discovering
available engines/categories (use engine_info tool). Results are cached for 60 seconds.

- **autocomplete** — Get search query suggestions from SearXNG.

Returns a list of autocomplete suggestions for the given partial query.
Use this to discover relevant search terms before performing a full search.

Best results come from 1-2 meaningful keywords (e.g., "python async").
Single characters return overly broad suggestions; full sentences return none.

Makes an external API call to the configured autocomplete backend (e.g., Bing, Google).
Not suitable for full web search (use search tool) or engine discovery (use engine_info tool).

- **engine_info** — Get available search engines and categories from the SearXNG instance.

Returns the list of enabled engines grouped by category.
Use this to discover what engines and categories are available
before calling search with specific engines or categories filters.

Response is cached for 5 minutes. Does not perform any web search — use the search tool for that.


## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "searxng-http-mcp": {
    "command": "uvx",
    "args": ["searxng-http-mcp"]
  }
}
```

## Documentation

## What whw23/searxng-http-mcp MCP server does

The whw23/searxng-http-mcp MCP server exposes SearXNG search through the Model Context Protocol. SearXNG aggregates results from more than 200 search engines, including examples such as Google, Bing, DuckDuckGo, and Brave. Search categories cover areas such as news, images, videos, science, and IT.

The server is packaged as a self-contained Docker deployment that includes SearXNG. It can also run as a local stdio process or through uvx when SearXNG is already installed separately. A reverse proxy makes the SearXNG web interface available through the same HTTP service used for MCP.

## How it works

In Docker server mode, an MCP client connects to the exposed HTTP endpoint at the `/mcp/` path. Requests pass through the container's authentication layer before reaching the MCP server, which calls the SearXNG service inside the container. Requests for other paths are handled by the reverse proxy and forwarded to SearXNG's web UI.

Local Docker mode starts the image with stdio enabled, allowing a client to launch it directly rather than connecting over the network. The uvx mode runs the MCP package separately and uses a configured SearXNG URL. The default URL in that mode is `http://127.0.0.1:8080`.

## Setup and configuration

For a persistent HTTP deployment, run the published Docker image, map a host port to container port `8888`, and point the MCP client at the resulting `/mcp/` URL. The documented container example applies 512 MB of memory and one CPU; these are runtime settings rather than MCP requirements.

For a local connection, run the image interactively with the `--stdio` argument and register that command as a stdio MCP server. If SearXNG is already available, install or run the package with uvx and set `SEARXNG_URL` to the instance address when it differs from the default.

HTTP access can be protected with an `x-api-key` or HTTP Basic Authentication.

## Tools and capabilities

The whw23/searxng-http-mcp MCP server provides capabilities for:

- Searching across SearXNG's enabled engines and categories.
- Requesting up to five result pages through multi-page fanout.
- Getting autocomplete suggestions for search terms.
- Discovering available engines grouped by category.
- Using generated tool descriptions that include the live category list at startup.
- Supplying structured parameters with JSON Schema constraints, including enumerations, ranges, and descriptions.

Returned search data is trimmed to essential fields to reduce the amount of context passed to an agent.

## Limitations and notes

Search coverage depends on the engines enabled and working in the underlying SearXNG instance. The documentation excerpt does not specify result ranking behavior, individual engine reliability, credential variable names, or the exact MCP tool names.

The project advertises Python 3.14 or newer for the package environment. Docker users can avoid a local Python installation by running the published image. HTTP and stdio are separate operating modes, so the client configuration must match the chosen transport.

_Full upstream README: https://allmcps.com/mcp/whw23-searxng-http-mcp/readme_

