
Easy SearXNG MCP Server
io.github.sheldonrobinsonPublished by GitHub account sheldonrobinsonv2026.11.22.0Updated Nov 22, 2026
Search the web through SearXNG with optional reranking and document processing.
Overview
Easy SearXNG's local MCP server; no sign-in required; STDIO.
No AI overview yet: these facts come from the registry entry and the server itself.
Installation
In SourceWeft
- Open Easy SearXNG MCP Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
Konnek SearXNG MCP Server
This project implements an MCP (Model Context Protocol) server for SearXNG integration, providing web search functionality for AI agents.
Purpose
This server is developed to serve as a dedicated, open, and reliable metasearch solution for AI agents. Its goal is to provide a strong, high-quality search backend that can replace or supplement commercial search APIs like Tavily, Bing Search, and Brave Search.
Features
- MCP Compliance: Implements the MCP protocol for search operations.
- SearXNG Integration: Uses the
searxngPython library to interact with SearXNG instances. - Dual Search Methods:
search: Basic search via SearXNG client.web_search: Full-featured web search with categories, engines, language, time range, safe search, and result limits.
- Tavily-Compatible Adapter: Provides a Tavily-compatible interface
(
TavilyAdapter) that wraps SearXNG results in Tavily's response format. - Embedded SearXNG: Optional embedded local SearXNG MCP server via
--embeddedflag — starts searxng's MCP server in-process (background thread) and connects viaHttpSearchAdapteron localhost. No separate Flask server required. - Dual Transport Support:
- stdio: MCP over Standard Input/Output (default).
- streamable-http: MCP over Streamable HTTP (Starlette + uvicorn).
- PEP 8 compliant: Code follows Python's style guide.
- RealPython Project Layout: Source code is organised under the
srcdirectory.
Directory Structure
Usage
Via uvx (recommended)
Direct execution from source
Supported Options
Note:
--embeddedis the recommended way to run locally. It starts the SearXNG MCP server in-process and connects automatically. Using--searxng-url=http://127.0.0.1:11888achieves the same result but requires you to start the SearXNG server separately.
VectorRAG (Optional)
When the EMBEDDINGS_URL environment variable is set, the server uses VectorRAG to rerank search results by semantic similarity using LanceDB + OpenAI-compatible embeddings.
Example:
Examples
Embedded SearXNG with stdio transport (recommended for local use):
Then enter MCP requests in JSON format:
Embedded SearXNG with streamable-http transport:
MCP endpoint: http://127.0.0.1:8000/mcp
Web Search with parameters:
Remote Mode with streamable-http:
Or with explicit URL:
Environment Variables
Supported File Formats
The server uses markitdown for converting various file formats to text. When enabled, the following formats are supported:
To install all optional dependencies:
Or via uvx:
Audio transcription uses FasterWhisper for high-performance speech recognition. The Whisper base model is bundled with the package, so no internet download is required. The model size can be configured via the WHISPER_MODEL environment variable (default: base, falls back to downloaded model if bundled not found).
Dependencies
- Python 3.8+
searxng- Core SearXNG client and MCP serveruvicorn,starlette,sse-starlette,anyio- Streamable HTTP transportflask,waitress- Web server for embedded modeaiohttp,beautifulsoup4- Web scraping for Tavily adapterpydantic- Data validationpyyaml,platformdirs- Configurationmcp-utils,strif,queuelib- MCP and queue utilities
Install with:
MCP Tools
web_search
Performs a web search using SearXNG with customizable parameters.
Parameters:
query(required): Search query stringcategories: Search categories (e.g.,["general", "news"])engines: Search engines (e.g.,["google", "bing", "duckduckgo"])language: Language code (default:"auto")max_results: Maximum results (default: 5, range: 1-50)time_range: Time filter (day,week,month,year,all)safe_search: Safe search level (0=normal, 1=moderate, 2=strict)
Development
The project follows PEP 8 guidelines and the RealPython project layout
with source code in the src directory.
Source: README.md at commit 2ca9959
Tools
0Version history
1- v2026.11.22.0LatestNov 22, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts