Get the FREE Ultimate OpenClaw Setup Guide →

mcp -searxng-n8n

MCP Server for SearxNG n8n integration

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio tamler-mcp-server-searxng-n8n npx -y mcp-server-searxng-n8n --instance=https://your-searxng-instance.com

How to use

This MCP server provides a dedicated integration to query a SearXNG instance from within n8n workflows using the MCP (Model Context Protocol) interface. It exposes a single tool called search that you can invoke from an MCP node in your n8n workflow. The node is configured to connect to this MCP server (via npx) and then you can pass a JSON object containing search parameters to the search tool. The tool supports standard SearXNG query parameters such as q (the search query), engines, language, time_range, safesearch, and output format. You can tailor the JSON payload to your needs and include only the parameters you require. For example, you can request a JSON response with a specific query and engines, or switch to HTML for easy embedding in dashboards.

How to install

Prerequisites:

  • Node.js and npm installed on the system where you run the MCP server
  • Access to a SearXNG instance (URL required in configuration)
  • n8n installed and able to run MCP nodes

Installation steps:

  1. Clone the MCP server repository (or install via npm if published): git clone https://github.com/tamler/mcp-server-searxng-n8n.git cd mcp-server-searxng-n8n

  2. Install dependencies: npm install

  3. Build the project if a build step exists: npm run build

  4. Run the MCP server (example using npm start with instance parameter routed via MCP config): npm start -- --instance=https://your-searxng-instance.com

Prerequisites recap: ensure Node.js/npm are available, you have access to a running SearXNG instance, and your n8n instance has the n8n-nodes-mcp package installed to leverage the MCP node.

Additional notes

Tips and caveats:

  • Replace https://your-searxng-instance.com with the actual URL of your SearXNG instance in the MCP server configuration and in n8n tool payloads.
  • The search tool accepts a subset of parameters; include only what you need to minimize payload size. Common fields: q (required), engines, language, format, and safesearch.
  • If you need HTML or other formats, set format in the JSON payload (e.g., "format": "html").
  • Ensure the n8n MCP node is configured to use the npx-based command as shown in the example, with environment variables left empty unless you have secret values to inject.
  • When testing, pass a minimal JSON payload first (e.g., {"q": "example"}) to confirm connectivity, then add additional parameters as needed.

Related MCP Servers

Sponsor this space

Reach thousands of developers