# SearXNG Search (MCP server)

> SearXNG Search is an MCP server that adds search and knowledge tools to AI assistants such as Claude Desktop, Claude Code and Cursor. MCP server for SearXNG — privacy-respecting web search with pagination, URL reading. It has 1,284 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-searxng.

Privacy-respecting web search for AI assistants — use an operator-controlled or trusted SearXNG instance with Claude, Cursor, and more.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/ihor-sokoliuk/mcp-searxng |
| GitHub stars | 1,284 |
| License | MIT |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: mcp-searxng |
| Remote URL | none |
| Needs API key | yes |
| Official | no |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | AI & search |
| Latest release | v2.5.1 (Oct 6, 2026) |
| Last commit | Oct 6, 2026 |
| MCP registry name | io.github.ihor-sokoliuk/mcp-searxng |

## Install

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "searxng-search": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-searxng"
      ],
      "env": {
        "SEARXNG_URL": "your-value",
        "AUTH_USERNAME": "your-value",
        "AUTH_PASSWORD": "your-value"
      }
    }
  }
}
```

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

### Claude Code

```sh
claude mcp add --env SEARXNG_URL=your-value --env AUTH_USERNAME=your-value --env AUTH_PASSWORD=your-value --transport stdio searxng-search -- npx -y mcp-searxng
```

### Cursor (.cursor/mcp.json)

```json
{
  "mcpServers": {
    "searxng-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-searxng"
      ],
      "env": {
        "SEARXNG_URL": "your-value",
        "AUTH_USERNAME": "your-value",
        "AUTH_PASSWORD": "your-value"
      }
    }
  }
}
```

Project file; use ~/.cursor/mcp.json to enable it in every project.

### VS Code (.vscode/mcp.json)

```json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "searxng_url",
      "description": "SEARXNG_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "auth_username",
      "description": "AUTH_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "auth_password",
      "description": "AUTH_PASSWORD",
      "password": true
    }
  ],
  "servers": {
    "searxng-search": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-searxng"
      ],
      "env": {
        "SEARXNG_URL": "${input:searxng_url}",
        "AUTH_USERNAME": "${input:auth_username}",
        "AUTH_PASSWORD": "${input:auth_password}"
      }
    }
  }
}
```

Config formats checked against the official docs on 2026-10-07.

## Environment variables

- `SEARXNG_URL` (secret) (required): URL of your SearXNG instance
- `AUTH_USERNAME` (secret): Legacy global SearXNG Basic Auth username
- `AUTH_PASSWORD` (secret): Legacy global SearXNG Basic Auth password

## Tools

- `searxng_web_search`: Find sources and refine results
- `searxng_search_suggestions`: Complete or refine a query
- `searxng_instance_info`: Inspect categories, engines and defaults
- `web_url_read`: Read a known URL as text/Markdown

## Similar MCP servers

- [Context7](https://appsgit.com/mcp-servers/context7): Up-to-date code docs for any prompt. (62,752 stars, MIT, needs API key)
- [FunASR](https://appsgit.com/mcp-servers/funasr): Transcribe local audio with FunASR and SenseVoice using private, on-device inference. (20,596 stars, MIT)
- [Bifrost](https://appsgit.com/mcp-servers/bifrost): Fastest enterprise AI gateway (50x faster than LiteLLM) with adaptive load balancer, cluster mode, guardrails, 1000+ models support & <100 µs overhead at 5k RPS. (8,591 stars, Apache-2.0)
- [Honcho](https://appsgit.com/mcp-servers/honcho): Memory that reasons: continual learning for stateful agents. (7,494 stars, AGPL-3.0, needs API key)
- [Semble](https://appsgit.com/mcp-servers/semble): Fast and Accurate Code Search for Agents. (6,185 stars, MIT)
- [Exa](https://appsgit.com/mcp-servers/exa): Connect AI agents to Exa for web search, content fetching, and multi-step research. (5,088 stars, MIT, official)

---

Canonical page: https://appsgit.com/mcp-servers/searxng-search
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
