Skip to main content
Glama

searxng-mcp

MCP tool that wraps a local SearXNG instance.

Prereqs

  • SearXNG running at http://localhost:8080 (override with SEARXNG_BASE)

Run (stdio MCP server)

node server.js

Example call via mcporter

mcporter call --stdio "node /home/baadir/.openclaw/workspace/searxng-mcp/server.js" \
  searxng_search query="ai agents" limit:=5 language="en" time_range="day"

Example raw

SEARXNG_BASE=http://localhost:8080 node server.js

If you are an OpenClaw assistant

Quick setup

git clone https://github.com/baadir/searxng-mcp.git
cd searxng-mcp
npm install

Add this MCP server to your OpenClaw config (example):

{
  "mcpServers": {
    "searxng": {
      "command": "node",
      "args": ["/ABS/PATH/TO/searxng-mcp/server.js"],
      "env": {
        "SEARXNG_BASE": "http://localhost:8080"
      }
    }
  }
}

Then restart OpenClaw:

openclaw gateway restart

Test from OpenClaw:

mcporter call --stdio "node /ABS/PATH/TO/searxng-mcp/server.js" \
  searxng_search query="ai agents" limit:=5 language="en" time_range="day"
-
security - not tested
A
license - permissive license
-
quality - not tested

Latest Blog Posts

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/baadir/searxng-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server