MCP Server for SearXNG n8n Integration
About
This MCP server enables n8n workflows to search via SearXNG, a self-hosted metasearch engine. It provides a "search" tool that accepts customizable parameters and returns results in multiple formats. It is designed for n8n users who want to integrate private, federated web…
Details
- Author
- tamler
- Downloads
- 177
- Categories
- Other
Jump to
- Searches via a self-hosted SearXNG instance.
- Support for multiple search engines (e.g., Google, DuckDuckGo).
- Customizable categories, language, safesearch, and time range.
- Output formats: JSON, CSV, RSS, or HTML.
- Plugin and engine enable/disable controls.
- Image proxy support for result thumbnails.
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Server for SearXNG n8n IntegrationCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Install the n8n-nodes-mcp package in your n8n instance, then add an MCP node. In the Server Connection section, set Command to npx and Arguments to -y mcp-server-searxng-n8n --instance=https://your-searxng-instance.com. In the Operation section, select the search tool and provide a JSON object with search parameters (only q is required).
search
Perform a search using SearxNG for automation workflows
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp server for searxng n8n integration": {
"mcp-server-searxng-n8n": {
"command": "npx",
"args": [
"-y",
"mcp-server-searxng-n8n",
"--instance=https://your-searxng-instance.com"
]
}
}
}
}
McpServers
{
"mcp-server-searxng-n8n": {
"command": "npx",
"args": [
"-y",
"mcp-server-searxng-n8n",
"--instance=https://your-searxng-instance.com"
]
}
}
MCP Server for SearXNG n8n Integration
A Model Context Protocol (MCP) server specifically designed for using SearXNG with n8n workflows.
Usage in n8n
1. Prerequisites:
- A running n8n instance.
- Access to a SearXNG instance (e.g., https://your-searxng-instance.com).
- The n8n-nodes-mcp package installed in your n8n instance.
2. Configure MCP Node (Server Connection):
- Add an "MCP" node to your workflow.
- In the node settings, under the Server Connection section:
- Command: npx
- Arguments (for npx): -y mcp-server-searxng-n8n --instance=https://your-searxng-instance.com
- Replace https://your-searxng-instance.com with your actual SearXNG URL.
- Environment Variables: (Leave empty)
3. Configure MCP Node (Tool Operation):
- Still in the MCP node settings, under the Operation section:
- Tool Name: Select search from the dropdown.
- Arguments (for the 'search' tool): Enter a JSON object containing the parameters for your search. See examples below. You can use n8n expressions like {{ $json.chatInput }} as values within the JSON.
Available Search Parameters (for Tool Arguments JSON)
The search tool supports the following parameters within the JSON object (only q is required):
- q (required): The search query string
- categories: Comma-separated list of search categories
- engines: Comma-separated list of search engines to use
- language: Language code for the search
- time_range: Time range for results (day, month, year)
- safesearch: Safe search level (0: None, 1: Moderate, 2: Strict)
- image_proxy: Proxy image results through SearXNG
- enabled_plugins: Comma-separated list of enabled plugins
- disabled_plugins: Comma-separated list of disabled plugins
- enabled_engines: Comma-separated list of enabled engines
- disabled_engines: Comma-separated list of disabled engines
- format: Output format (json, csv, rss, html). Defaults to json.
Example n8n Tool Arguments (JSON)
JSON Output (Default):
{
"q": "n8n automation",
"engines": "google,duckduckgo",
"language": "en"
}
HTML Output:
{
"q": "n8n automation",
"format": "html"
}
_(Remember to only include the parameters you need in the JSON)_
Development
git clone https://github.com/tamler/mcp-server-searxng-n8n.git
cd mcp-server-searxng-n8n
npm install
npm run build
Test with:
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.



