searxng-mcp
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
searxng-mcp
๐ท๐บ ะ ัััะบะฐั ะฒะตััะธั
MCP server that exposes SearxNG web search and a handful of fetch tools (web page, GitHub README, article) over the Model Context Protocol.
Features
web_search_xngโ search via one or two SearxNG instances, with routing controlled by theinstanceargumentfetch_web_contentโ download a page and strip HTMLfetch_github_readmeโ fetch a repo README from GitHubfetch_articleโ download an article and extract the main textTwo transports: SSE (
/sse+/messages) and direct HTTP (/mcp)Configured entirely via environment variables
Related MCP server: searxng-mcp
Instance routing
| Behaviour |
| Only the RU instance. Errors are returned as-is. |
| Only the VPS instance. |
| Try RU; on error or empty result, try VPS. |
| Try RU, then VPS unconditionally. |
If only one instance is configured, the instance argument is ignored
and every call goes to that instance.
Configuration
Variable | Default | Description |
|
| URL of the primary ("RU") SearxNG instance |
|
| URL of the secondary ("VPS") SearxNG instance |
|
| HTTP port |
At least one of the two instance URLs must be set, otherwise the server exits on startup.
Installation
Docker (recommended)
docker pull ghcr.io/dolphin2702/searxng-mcp:latest
Run
docker run -d
--name searxng-mcp
-p 3006:3006
-e SEARXNG_INSTANCE_RU=https://search.example.ru
-e SEARXNG_INSTANCE_VPS=https://search.example.com
ghcr.io/dolphin2702/searxng-mcp:latest
Deployment examples
Two instances (RU + VPS): examples/docker-compose.two-instances.yml One instance: examples/docker-compose.one-instance.yml
MCP client configuration
SSE transport
{ "mcpServers": { "searxng": { "url": "http://localhost:3006/sse" } } }
Streamable HTTP
{ "mcpServers": { "searxng": { "type": "streamable", "url": "http://localhost:3006/mcp" } } }
Tools
web_search_xng
Search the web via SearxNG.
Arguments:
q (string, required) โ search query
count (number, default 5) โ number of results
instance (string, default default) โ default / ru / vps / all
Returns: markdown-formatted list of results.
fetch_web_content
Fetch a page and return its text content with HTML stripped.
Arguments:
url (string, required)
max_chars (number, default 30000)
fetch_github_readme
Fetch README.md from a GitHub repository (tries main, then master).
Arguments:
url (string, required) โ repository URL
fetch_article
Fetch an article and extract the main text (strips header, footer, nav, scripts).
Arguments:
url (string, required)
HTTP API
Method | Path | Description |
GET | /sse | SSE stream endpoint |
POST | /messages?sessionId=... | SSE message channel |
POST | /mcp | Direct JSON-RPC |
Development
git clone git@github.com:dolphin2702/searxng-mcp.git cd searxng-mcp npm install SEARXNG_INSTANCE_VPS=https://search.example.com node server.js
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
This server cannot be deployed
Maintenance
Related MCP Connectors
Scrape, crawl and search the web for AI agents via MCP.
Search the agentic web. 4,100+ sites, 11 tools incl. check_url + verify_mcp for probe-before-use.
Web MCP: scrape/crawl sites, web search, brand assets, app stores, YouTube, Reddit, Hacker News.
Web search, URL content extraction to Markdown, site mapping, and recursive web crawler.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables web search through a SearXNG instance via MCP, returning search result summaries.3MIT
- AlicenseAqualityCmaintenanceEnables MCP clients to perform web searches through a self-hosted SearXNG instance, offering privacy-focused metasearch without API keys or vendor lock-in.3BSD 3-Clause
- AlicenseNot gradedqualityCmaintenanceExposes metasearch across many engines and a page-to-Markdown fetcher as two MCP tools, web_search and web_fetch, so any MCP client can run searches and pull clean article content on demand. It also supports news-focused queries with category and time-range filters, plus optional inline page content.AGPL 3.0
- FlicenseNot gradedqualityAmaintenanceEnables MCP clients to search the web through SearXNG and crawl single pages or entire sites with Crawl4AI, producing clean markdown for LLM context.-