# mcp-searxng (VYAGENT Radar #01)

> Zero-API-key, private web search for Claude Desktop, Cursor, and local AI agents via SearXNG.

- **URL**: https://vyagent.com/radar/mcp-searxng
- **Published**: 2026-11-24
- **Category**: MCP Server · Search
- **License**: MIT
- **Pricing**: Free & Open Source (self-hosted SearXNG)
- **Agent Ready**: MCP, Local-first, Open Source
- **Source**: https://github.com/ihor-sokoliuk/mcp-searxng
- **Package / Docs**: https://www.npmjs.com/package/mcp-searxng

## 1. Friction Solved
Commercial search APIs for AI agents (Tavily, Brave, Exa, SerpAPI) enforce tight monthly quotas or require credit cards, leaving local agents blind whenever a key expires or hits rate limits. mcp-searxng bridges any MCP-compatible agent directly to a SearXNG metasearch instance—aggregating results from multiple engines with zero per-query billing.

## 2. Best-Fit Scenarios
- Giving Claude Desktop, Cursor, Zed, or DeepSeek Harness live web research without paying for a search API subscription.
- Running private or internal research workflows where search queries should not be logged by third-party AI search vendors.
- Building automated daily monitoring or competitive-research agents that run hundreds of queries per week.

## 3. Setup (MCP Client Configuration (Claude Desktop / Cursor / Zed))
```
{
  "mcpServers": {
    "searxng": {
      "command": "npx",
      "args": ["-y", "mcp-searxng"],
      "env": {
        "SEARXNG_URL": "http://localhost:8080"
      }
    }
  }
}
```

## 4. Reality Check & Trade-offs
- Requires a running SearXNG instance with JSON output enabled in settings.yml (a single Docker container on localhost or a small VPS takes ~2 minutes to boot).
- Public community SearXNG instances frequently rate-limit or block JSON API requests—self-hosting is strongly recommended for reliable agent runs.
- Returns search snippets and URLs rather than full headless-browser rendering; pair with a page fetcher if your agent needs JavaScript-heavy pages.

## 5. Editorial Verdict
A textbook micro-element: one tiny npm bridge that removes a recurring paywall between local agents and the open web. No account, no dashboard, no vendor lock-in.

## 6. FAQ
### Does mcp-searxng require a paid API key?
No. mcp-searxng connects to your own or an accessible SearXNG instance via the SEARXNG_URL environment variable and requires no commercial API key.

### Why do I get 403 or empty results when pointing at a public SearXNG URL?
Most public SearXNG instances disable the JSON search format to prevent bot abuse. Running SearXNG locally via Docker and adding "json" under search.formats in settings.yml resolves this.
