Skip to main content
Glama
README.md
# 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)
```bash
node server.js
```

## Example call via mcporter
```bash
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
```bash
SEARXNG_BASE=http://localhost:8080 node server.js
```

## If you are an OpenClaw assistant
### Quick setup
```bash
git clone https://github.com/baadir/searxng-mcp.git
cd searxng-mcp
npm install
```

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

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

Then restart OpenClaw:
```bash
openclaw gateway restart
```

Test from OpenClaw:
```bash
mcporter call --stdio "node /ABS/PATH/TO/searxng-mcp/server.js" \
  searxng_search query="ai agents" limit:=5 language="en" time_range="day"
```

TDQS

C2.8/5.0

Scored across 1 tool

Disambiguation5/5

With only a single tool in the set, there is no possibility of overlap or misselection between tools. The tool's purpose (running a SearXNG web search) is unambiguous.

Naming Consistency4/5

The single name searxng_search follows a clear snake_case provider_action pattern. A one-tool set can't demonstrate a full naming convention, so it can't reach a perfect score.

Tool Count3/5

One tool is the minimum viable surface for a search server and is defensible, but it feels thin—no variants for category, language, paging, or result count are exposed. The count is borderline rather than clearly well-scoped.

Completeness3/5

Basic search is covered, but the surface is a dead end beyond "top results": no pagination, category/safesearch/language filters, or follow-up operations like fetching a result's content. Agents needing more than a single top-N query will have to work around it.

Maintenance

ActivityInactive
ResponsivenessNo recent community issues