Privacy-focused SearXNG MCP server for secure meta search with multiple categories and filters
The SearXNG MCP Server is an advanced implementation that integrates with the SearXNG meta search engine, providing a privacy-focused and versatile meta search capability through Model Context Protocol (MCP). SearXNG MCP Server acts as a bridge between AI applications and diverse data sources, ensuring secure, reliable, and user-friendly access. It supports multiple search engines, languages, categories, and safe search options, making it an ideal tool for developers looking to enrich their AI workflows with robust meta search features.
The SearXNG MCP Server offers a suite of powerful features that enhance the functionality and usability of its integration with AI applications. These include:
The server combines results from multiple search engines, providing a comprehensive index of information across different sources. This meta-search capability ensures that users receive the most relevant and up-to-date content.
SearXNG MCP Server prioritizes user privacy by implementing no-user tracking or profiling mechanisms. It adheres to stringent data handling practices to ensure that sensitive information remains secure, making it a trusted choice for mission-critical applications.
Support is provided for various search categories including general, news, science, files, images, and videos. Additionally, the server caters to different languages, allowing users to conduct searches in their preferred language or across multiple languages simultaneously.
Users can filter results based on specific time ranges (day/week/month/year) and adjust safe search levels (None/Moderate/Strict). This flexibility ensures that content is both relevant and appropriate for the intended audience.
The SearXNG MCP Server leverages the Model Context Protocol (MCP) to establish a standardized communication channel between AI applications and data sources. This protocol facilitates seamless integration without compromising performance or security. The implementation ensures that requests are handled efficiently, minimizing latency while maintaining reliability.
To run SearXNG MCP Server directly, use the following command:
mcp-server-searxng
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/mcp-server-searxng"
]
}
}
}
Suppose an AI-driven news analytics application needs real-time and comprehensive information from various sources. The SearXNG MCP Server can be integrated to continuously gather data, filter it based on time ranges, and send relevant insights back to the AI application for analysis.
@kevinwatt/mcp-server-searxng
locally or through Docker.web_search
tool with specified parameters like query terms (query
), page number (page
), language (language
), categories (categories
), time range (time_range
), and safe search level (safesearch
).Example:
{
"mcpServers": {
"searxng": {
"command": "npx",
"args": [
"-y",
"@kevinwatt/mcp-server-searxng"
],
"env": {
"SEARXNG_INSTANCES": "http://localhost:8080,https://searx.example.com",
"SEARXNG_USER_AGENT": "CustomBot/1.0",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
}
}
The SearXNG MCP Server is compatible with multiple MCP clients, including:
MCP Client | Resources | Tools | Prompts | Status |
---|---|---|---|---|
Claude Desktop | ✅ | ✅ | ✅ | Full Support |
Continue | ✅ | ✅ | ✅ | Full Support |
Cursor | ❌ | ✅ | ❌ | Tools Only |
The SearXNG MCP Server ensures high performance and compatibility across various AI applications. The integration leverages efficient communication protocols and robust data handling mechanisms, ensuring a smooth and seamless user experience.
To enhance security and performance, you can configure the server using environment variables. These include:
SEARXNG_INSTANCES
: Specify multiple SearXNG instances to use.SEARXNG_USER_AGENT
: Set a custom User-Agent header for requests.NODE_TLS_REJECT_UNAUTHORIZED
: Bypass SSL certificate verification (use with caution).Example configuration:
{
"env": {
"SEARXNG_INSTANCES": "http://localhost:8080,https://searx.example.com",
"SEARXNG_USER_AGENT": "CustomBot/1.0",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}
Use environment variables like NODE_TLS_REJECT_UNAUTHORIZED
to bypass SSL verification for testing purposes, but always enable it in production.
Yes, the server supports language filtering, allowing users to search across multiple language sources as needed.
Time ranges include day, week, month, and year. These can be adjusted according to specific needs using the time_range
parameter.
Safe search levels (None/Moderate/Strict) control how filters are applied during data retrieval from search engines.
Yes, API inputs like query
, language
, and categories
can be dynamically set to perform real-time searches based on user inputs.
To contribute to the SearXNG MCP Server project, you can:
For more details, refer to the CONTRIBUTING.md file.
Explore more about Model Context Protocol (MCP) and its applications in:
By integrating the SearXNG MCP Server, developers can significantly enhance their AI applications with robust meta search capabilities while ensuring privacy and reliability.
RuinedFooocus is a local AI image generator and chatbot image server for seamless creative control
Learn to set up MCP Airflow Database server for efficient database interactions and querying airflow data
Simplify MySQL queries with Java-based MysqlMcpServer for easy standard input-output communication
Build stunning one-page websites track engagement create QR codes monetize content easily with Acalytica
Access NASA APIs for space data, images, asteroids, weather, and exoplanets via MCP integration
Explore CoRT MCP server for advanced self-arguing AI with multi-LLM inference and enhanced evaluation methods