Ihor-Sokoliuk/MCP-SearXNG logo

Ihor-Sokoliuk/MCP-SearXNG

Free

连接到 SearXNG 元搜索引擎实例。

FreeFree tier
Inputs: text, urlOutputs: text
Type
Open Source

About Ihor-Sokoliuk/MCP-SearXNG

MCP-SearXNG is an open-source MCP server that connects AI assistants (Claude, Cursor, and any MCP client) to SearXNG instances for private web search. It provides a range of features including web search with filters, failover across multiple instances, URL content reading with Markdown conversion, intelligent caching, SSRF protection, and more. It is self-hosted, privacy-focused, and requires no API keys.

Key Features

Web Search: General, news, and article queries with pagination, time-range/language/safe-search filters, relevance filtering, and formatted-text or raw-JSON output.
Instance Failover Fan-out: Configure interchangeable SearXNG replicas; searches fail over or query all in parallel and merge results.
Direct Answers Metadata: Surfacing SearXNG answers, corrections, suggestions, and infoboxes.
Search Suggestions: Query autocomplete via SearXNG's /autocompleter endpoint.
Instance Capability Discovery: Inspect configured categories, engines, defaults, locales, and plugins.
URL Content Reading: Content-type-aware Markdown conversion with pagination, section filtering, paragraph ranges, and heading extraction.
Intelligent Caching: In-memory cache with configurable TTL and LRU eviction for search results and URL content.
SSRF Protection: Blocks private/internal URLs and redirects by default in all transport modes.
HTTP Transport: Optional Streamable HTTP mode with bearer-token auth, CORS allowlist, and rate limiting.
HTML Fallback: Optionally parse results from HTML page for public instances that reject format=json.

Pros & Cons

Pros
  • Self-hosted, ensuring privacy and data control.
  • Free and open-source, no API keys required.
  • Supports multiple SearXNG instances with failover and fan-out.
  • Rich features: filters, caching, URL reading, SSRF protection.
  • Compatible with any MCP client, including Claude Desktop and Cursor.
Cons
  • Requires running a SearXNG instance (self-hosted).
  • Setup complexity for non-technical users.
  • Dependent on SearXNG instance availability and performance.
  • No built-in web interface; relies on MCP client configuration.

Best For

Enabling AI assistants (Claude, Cursor, etc.) to perform real-time web searches privately.Research and fact-checking with filtered and paginated search results.Reading and converting web pages into Markdown for AI consumption.Self-hosted search infrastructure for privacy-conscious users and organizations.

FAQ

How does mcp-searxng work?
It is a standalone MCP server — a Node.js process that your AI assistant connects to for web search. It queries one or more SearXNG instances configured via environment variables.
What MCP clients are supported?
It supports any MCP client, including Claude Desktop, Cursor, and others. Configuration is done via the client's MCP server settings.