mcp-server-searxng-n8n
MCP Server for SearXNG n8n Integration
A Model Context Protocol (MCP) server specifically designed for using SearXNG with n8n workflows.
Usage in n8n
Prerequisites:
A running n8n instance.
Access to a SearXNG instance (e.g.,
https://your-searxng-instance.com).The
n8n-nodes-mcppackage installed in your n8n instance.
Configure MCP Node (Server Connection):
Add an "MCP" node to your workflow.
In the node settings, under the Server Connection section:
Command:
npxArguments (for npx):
-y mcp-server-searxng-n8n --instance=https://your-searxng-instance.comReplace
https://your-searxng-instance.comwith your actual SearXNG URL.
Environment Variables: (Leave empty)
Configure MCP Node (Tool Operation):
Still in the MCP node settings, under the Operation section:
Tool Name: Select
searchfrom 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 stringcategories: Comma-separated list of search categoriesengines: Comma-separated list of search engines to uselanguage: Language code for the searchtime_range: Time range for results (day,month,year)safesearch: Safe search level (0: None, 1: Moderate, 2: Strict)image_proxy: Proxy image results through SearXNGenabled_plugins: Comma-separated list of enabled pluginsdisabled_plugins: Comma-separated list of disabled pluginsenabled_engines: Comma-separated list of enabled enginesdisabled_engines: Comma-separated list of disabled enginesformat: Output format (json,csv,rss,html). Defaults tojson.
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 buildTest with:
# Note the double dash -- to pass arguments to the script via npm start
npm start -- --instance=https://your-searxng-instance.comLicense
MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tamler/mcp-server-searxng-n8n'
If you have feedback or need assistance with the MCP directory API, please join our Discord server