This server allows you to perform web searches using public SearXNG instances and returns results in JSON format.
- Web Search: Execute searches by providing a
query
string - Time-Range Filtering: Optionally filter results by time range (day, month, year)
- JSON Output: Receive results as an array of objects containing
url
andsummary
for each result - Fallback Support: Uses up to three public SearXNG servers with primary and fallback options
- Easy Integration: Can be installed and run via npm with simple configuration
Queries public SearXNG instances by parsing HTML search results into JSON format, allowing searches with time range filtering (day, month, year), and providing URL and summary data for each result.
mcp-searxng-public
An MCP server that queries public SearXNG instances, parsing HTML contents into a JSON result
Rationale
All the MCP servers for SearXNG that I've seen use "json" as the output format. While that is certainly a faster way to code a SearXNG MCP server, it will make it fail on virtually all public servers since they don't expose the JSON format.
This server will read from up to three public SearXNG servers (using one as main and the others as fallback) and will parse the results into JSON.
Installation
Install via npm install mcp-serxng-public
.
If the server is installed, the run configuration is:
(you can use any servers from https://searx.space/ as your selected servers)
Usage
The server exposes one endpoint: search
. The endpoint takes two arguments: query
- the search query and an optional time_range
, which takes a time range parameter according to the https://docs.searxng.org/dev/search_api.html spec (day
, month
or year
).
Returned is an array of objects:
You must be authenticated.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
An MCP server that allows searching through public SearXNG instances by parsing HTML content into JSON results, enabling metasearch capabilities without requiring JSON API access.
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server for connecting agentic systems to search systems via searXNG.Last updated -143PythonMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates the SearxNG API, providing web search capabilities.Last updated -2566107JavaScriptMIT License
- -securityAlicense-qualityA TypeScript-based MCP server for SearXNG that allows users to create and summarize text notes using simple URIs and metadata, facilitating natural language interaction with stored content.Last updated -1PythonMIT License
- -securityAlicense-qualityThe Search MCP Server enables seamless integration of network and local search capabilities in tools like Claude Desktop and Cursor, utilizing the Brave Search API for high-concurrency and asynchronous requests.Last updated -152PythonMIT License