mcp -searxng
An MCP server implementation that integrates with SearXNG, providing privacy-focused meta search capabilities.
claude mcp add --transport stdio kevinwatt-mcp-server-searxng npx -y @kevinwatt/mcp-server-searxng \ --env SEARXNG_INSTANCES="http://localhost:8080" \ --env SEARXNG_USER_AGENT="MCP-SearXNG/1.0" \ --env NODE_TLS_REJECT_UNAUTHORIZED="0"
How to use
This MCP server integrates SearXNG as a privacy-focused meta search layer. It aggregates results from multiple search engines via SearXNG, offering categories such as general, news, science, files, images, videos, and more, while supporting language filters, time range, and safe search levels. The server exposes a unified API that you can call through your MCP-enabled clients or tools like Dive Desktop to perform meta searches across configured engines. You can customize which SearXNG instances to query and adjust options such as language, categories, and safe search to fit your privacy and relevance requirements.
To use it, deploy the MCP server and connect it to your client (for example, via Dive Desktop or an MCP runner). The recommended runtime is to install it via npx as shown in the installation instructions, which ensures you’re running the MCP server with the official package. Once running, you can perform meta searches by invoking the web_search tool (or equivalent MCP action) with inputs such as query, page, language, categories, time_range, and safesearch. You can also configure multiple SearXNG instances for redundancy and failover, so searches continue to return results even if one instance is unavailable.
How to install
Prerequisites:
- Node.js (recommended LTS version)
- npm or npx available in your environment
- A running SearXNG instance(s) to query
Option A: Install automatically via Smithery (recommended for Claude Desktop)
- Install via Smithery CLI:
npx -y @smithery/cli install @kevinwatt/mcp-server-searxng --client claude
Option B: Manual installation (local development)
- Install globally from npm:
npm install -g @kevinwatt/mcp-server-searxng
- Verify the server binary is available (or run from node_modules if installed locally):
mcp-server-searxng --version
- Start the MCP server directly (example):
mcp-server-searxng
Notes:
- Ensure you have a SearXNG instance running and accessible (as described in the prerequisites).
Additional notes
Tips and considerations:
- You can configure multiple SearXNG endpoints for higher availability by adjusting SEARXNG_INSTANCES in the environment or by extending the mcp configuration to include multiple instances if supported by your MCP tooling.
- If you encounter SSL certificate issues in development, NODE_TLS_REJECT_UNAUTHORIZED=0 can be used temporarily, but it is not recommended for production.
- The default user agent for SearXNG requests is set to M C P-SearXNG/1.0; you can override it with SEARXNG_USER_AGENT to customize headers.
- When running behind a proxy or corporate network, ensure your network allows outbound connections to your SearXNG instances and any engines your SearXNG configuration queries.
- See the SearXNG documentation for fine-grained control over engines, safety levels, and UI/language settings; changes can be made in the SearXNG settings.yml inside your instance.
Related MCP Servers
zen
Selfhosted notes app. Single golang binary, notes stored as markdown within SQLite, full-text search, very low resource usage
MCP -Deepseek_R1
A Model Context Protocol (MCP) server implementation connecting Claude Desktop with DeepSeek's language models (R1/V3)
mcp-fhir
A Model Context Protocol implementation for FHIR
mcp
Inkdrop Model Context Protocol Server
mcp-appium-gestures
This is a Model Context Protocol (MCP) server providing resources and tools for Appium mobile gestures using Actions API..
dubco -npm
The (Unofficial) dubco-mcp-server enables AI assistants to manage Dub.co short links via the Model Context Protocol. It provides three MCP tools: create_link for generating new short URLs, update_link for modifying existing links, and delete_link for removing short links.