
SearXNG Search MCP Server
by ihor-sokoliukio.github.ihor-sokoliuk/mcp-searxngv2.6.0
MCP server for SearXNG — privacy-respecting web search with pagination, URL reading
context tax
~1,480 tok/turn4 tools
security
100/100
cold start
895 ms
freshness
Active29d ago
Our reading of SearXNG Search, from the data
SearXNG Search is a web search MCP server from ihor-sokoliuk, listed in the official MCP Registry.
Its 4 tools add about 1,480 tokens to every model turn, in line with the web search median of 1,516 tokens across 117 measured servers (measured 2026-10-23).
Maintenance is active: the last public signal was 29 days ago (2026-10-13). For comparison, 70% of web search servers are active or maintained.
With 1,315 GitHub stars it ranks #15 of 738 web search servers we index.
It runs locally on your machine over stdio and needs 3 secrets (SEARXNG_URL, AUTH_USERNAME, AUTH_PASSWORD); use a scoped, least-privilege key.
Install SearXNG Search MCP server
Install in Claude Code
claude mcp add io-github-ihor-sokoliuk-mcp-searxng -e SEARXNG_URL='<searxng-url>' -e AUTH_USERNAME='<auth-username>' -e AUTH_PASSWORD='<auth-password>' -- npx -y mcp-searxngInstall in Cursor
{
"mcpServers": {
"io-github-ihor-sokoliuk-mcp-searxng": {
"command": "npx",
"args": [
"-y",
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "<searxng-url>",
"AUTH_USERNAME": "<auth-username>",
"AUTH_PASSWORD": "<auth-password>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"io-github-ihor-sokoliuk-mcp-searxng": {
"command": "npx",
"args": [
"-y",
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "<searxng-url>",
"AUTH_USERNAME": "<auth-username>",
"AUTH_PASSWORD": "<auth-password>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"io-github-ihor-sokoliuk-mcp-searxng": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "<searxng-url>",
"AUTH_USERNAME": "<auth-username>",
"AUTH_PASSWORD": "<auth-password>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"io-github-ihor-sokoliuk-mcp-searxng": {
"command": "npx",
"args": [
"-y",
"mcp-searxng"
],
"env": {
"SEARXNG_URL": "<searxng-url>",
"AUTH_USERNAME": "<auth-username>",
"AUTH_PASSWORD": "<auth-password>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Try it in a sandbox first: this installs it with scripts off and starts it with no network, then lists its tools and token cost. How it works
npx mcpskillhub test mcp-searxng --env SEARXNG_URL
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| SEARXNG_URL | yes | yes | URL of your SearXNG instance |
| AUTH_USERNAME | — | yes | Legacy global SearXNG Basic Auth username |
| AUTH_PASSWORD | — | yes | Legacy global SearXNG Basic Auth password |
Context tax
Connecting this server adds ~1,480 tokens of tool definitions to every model turn (moderate, 4 tools). Measured 2026-10-23 via a sandboxed run; o200k tokenizer, worst case for clients that load all tools up front. How we measure
| Model | Per 1,000 turns | With prompt caching |
|---|---|---|
| Claude Opus 5.5 | $5.92 | $0.296 |
| Claude Sonnet 5.5 | $2.96 | $0.296 |
| Claude Haiku 5.5 | $0.148 | — |
Input prices as of 2026-10-06. Excludes your own prompt and output.
Tools (4)
searxng_web_search811 tokSearches the web using SearXNG and returns a list of results, each with a title, URL, and content snippet. CRITICAL: The required parameter name is exactly `query` (not `prompt`, `q`, or any other name). Calls an external SearXNG instance; availability depends on the `SEARXNG_URL` configuration. Use `pageno` to paginate results; combine `time_range` and `language` to narrow scope. When `engines` and `time_range` are both provided, every selected engine must explicitly advertise time-range support via SearXNG /config; otherwise the request is rejected before search. To read the full text of a r
web_url_read415 tokFetches a URL and returns readable content as markdown. Content-type aware: HTML is converted to markdown; JSON is pretty-printed; plain text, YAML, TOML, and XML are returned as fenced readable text. PDF text extraction is supported with bounded input, output, page count, time, concurrency, and memory; OCR is not supported. Binary, media, archive, and octet-stream downloads other than PDFs are intentionally rejected instead of being returned as raw bytes. When the operator configures browser solvers, mcp-searxng attempts FlareSolverr first and then Byparr only after a busy or transient-unavai
searxng_instance_info148 tokDiscovers capabilities from all reachable configured SearXNG instances via /config, including categories.common/available, engines.common/available, defaults, locales, and plugins.
searxng_search_suggestions104 tokReturns autocomplete suggestions from the configured SearXNG instance. Use this to refine vague or partial queries before searching.
Security signals
100/100 — no known issues found as of 2026-10-23, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.
Deductions
No findings from the checks that ran.
Checks
- ✓Repository hygiene (archived, activity, license, security policy)
- ✓Tool descriptions (prompt-injection and hidden-text heuristics)
- ○Package metadata (install scripts, provenance) — pending
- ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending
Scan it yourself before installing with vectra-guard, the open-source agent security CLI (made by NavyaAI, which also runs MCPSkillHub). Scoring rules
Freshness
Active — last maintenance signal 29d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-10-13 · 29d ago · GitHub
Latest release
2026-10-13 · 29d ago · GitHub · v2.6.0
Package published
no data · npm/PyPI
Registry entry updated
2026-10-13 · 29d ago · official registry · v2.6.0
How it compares in Web Search
Against the most-starred web search servers we index. Token cost is per model turn, measured from each server's live tool list.
| Server | Stars | Tools | Tokens / turn | Freshness | Runs |
|---|---|---|---|---|---|
| SearXNG Search (this) | 1,315 | 4 | 1,480 | Active | local |
| Fetch | 91,356 | 1 | 235 | Active | local |
| Search | 39,318 | — | not measured | Active | local + hosted |
| Wigolo | 5,486 | — | not measured | Active | local |
| Exa | 5,138 | 2 | 564 | Active | local + hosted |
| Arxiv | 3,224 | 19 | 3,728 | Active | local |
FAQ
›How do I install the SearXNG Search MCP server in Claude Code?
Run: claude mcp add io-github-ihor-sokoliuk-mcp-searxng -e SEARXNG_URL='<searxng-url>' -e AUTH_USERNAME='<auth-username>' -e AUTH_PASSWORD='<auth-password>' -- npx -y mcp-searxng. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does SearXNG Search require an API key?
Yes. It expects SEARXNG_URL, AUTH_USERNAME, AUTH_PASSWORD, of which 3 are secrets.
›Can I use SearXNG Search as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is SearXNG Search in the official MCP registry?
Yes, as io.github.ihor-sokoliuk/mcp-searxng.
›How many tokens does SearXNG Search add to my context?
Its tool definitions total about 1,480 tokens, resent on every turn.
Sources and method
- Official MCP Registry entry
- updated 2026-10-13
- GitHub repository
- fetched 2026-10-19
- Package registry (npm / PyPI)
- listed
- Tool list (tools/list), measured by us
- 2026-10-23
- Security signals, computed by us
- 2026-10-23
- Last checked against all sources
- 2026-10-19
The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Editorial standards are owned by Ramachandra Vikas Chamarthi, Founder & AI HPC Architect. Spot an error? Request a correction or claim the listing.
Alternatives to SearXNG Search
Other web search MCP servers.