MCP SearXNG vs Rag

A side-by-side look at the MCP SearXNG and Rag MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

MCP SearXNG logoMCP SearXNGSearch & Data Extraction · Local subprocess (stdio)/☁️ - A Model Context Protocol Server for SearXNG67GreatAuth: no auth requiredRag logoRagSearch & Data ExtractionMCP RAG server with hybrid search, multi-KB support, and AI-powered chunk contextualization.41FairAuth: not declared

Verdict: choose MCP SearXNG for search & data extraction work as a local process; choose Rag for search & data extraction. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

MCP SearXNG logoChoose MCP SearXNG when

  • You need dedicated capabilities in the Search & Data Extraction domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
  • You have the keys it needs: SEARXNG_URL.
  • You want tools like searxng_web_search, searxng_search_suggestions, searxng_instance_info.
Explore MCP SearXNG

Rag logoChoose Rag when

  • You need dedicated capabilities in the Search & Data Extraction domain.
  • You want tools like list_knowledge_bases, search_documents, get_document_chunk.
Explore Rag

Feature & specification comparison

Rows where the two servers differ are marked.

SpecMCP SearXNG logoMCP SearXNGRag logoRag
CategorySearch & Data ExtractionSearch & Data Extraction
Quality signal67/100 · Great41/100 · Fair
Install commandConfirmedNot confirmed yet
TransportLocal subprocess (stdio)—
AuthNo auth requiredNot declared
PricingFreeNot declared
Required env varsSEARXNG_URLNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars1,3290
Directory activity 5 views 0 installs 0 upvotes 0 views 0 installs 0 upvotes
Tools47

Tools & capabilities

MCP SearXNG tools 4

  • searxng_web_searchSearches 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 result URL, follow up with `web_url_read`.
  • searxng_search_suggestionsReturns autocomplete suggestions from the configured SearXNG instance. Use this to refine vague or partial queries before searching.
  • searxng_instance_infoDiscovers capabilities from all reachable configured SearXNG instances via /config, including categories.common/available, engines.common/available, defaults, locales, and plugins.
  • web_url_readFetches 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-unavailable acquisition; cache hits bypass acquisition and a final busy or unavailable provider uses one uncached direct-fetch fallback. Three modes: (1) Full content — omit filtering params; use `startChar`/`maxLength` to paginate large pages. (2) Section extraction — set `section` to return content under a specific heading. (3) Headings only — set `readHeadings: true` to list all headings (mutually exclusive with other filtering params). Returns an error string if the URL is unreachable or content cannot be extracted. Use after `searxng_web_search` to read the full content of individual result URLs.

Rag tools 7

  • list_knowledge_basesList all available KBs with status (file/chunk counts, indexing status)
  • search_documentsHybrid BM25 + vector search with RRF. Supports `search_mode`: `auto`, `bm25`, `vector
  • get_document_chunkRetrieve full content of a specific chunk by ID
  • start_reindexQueue an indexing request. Scope merge, force/deferred flags, orchestrator auto-spawn
  • cancel_reindexRemove a pending (not-yet-started) queue entry
  • get_index_infoIndex metadata, queue state (status/position/deferred/last_error), contextualization health
  • check_changesDry-run filesystem scan. Lightweight, no API calls

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

MCP SearXNG

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "ihor-sokoliuk-mcp-searxng": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-searxng"
      ],
      "env": {
        "SEARXNG_URL": "YOUR_SEARXNG_URL_HERE"
      }
    }
  }
}

Rag

No confirmed install command for Rag yet — follow the setup steps linked from its listing page rather than a guessed package name.

Frequently asked questions

MCP SearXNG is categorized under Search & Data Extraction and uses a local stdio subprocess. Rag belongs to Search & Data Extraction and uses an install path we have not confirmed yet. Pick MCP SearXNG for search & data extraction work and Rag for search & data extraction.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client. Rag has no confirmed install command yet — follow its own setup instructions.

MCP SearXNG is listed as free. Auth: no auth required. Rag has no declared pricing — check the project's own site. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add ihor-sokoliuk-mcp-searxng and rag as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, MCP SearXNG has a quality signal of 67/100 (Great) with 5 views, 0 installs and 1,329 GitHub stars. Rag has 41/100 (Fair) with 0 views, 0 installs and 0 GitHub stars.