# Easy SearXNG MCP Server

> Easy SearXNG MCP Server is an open-source MCP server for web search and scraping. Open MCP server giving AI agents web search through a SearXNG metasearch backend. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, API, Self-hosted, Linux, macOS, Windows
- **Repository:** https://github.com/sheldonrobinson/easy-searxng-mcp-server
- **MCP Registry name:** io.github.sheldonrobinson/easy-searxng-mcp-server
- **Categories:** [web search and scraping](https://ai-powered.com/categories/web-search-and-scraping)
- **Listing updated:** 2026-11-27

## About

Gives AI assistants a web search tool backed by SearXNG, a self-hostable metasearch engine that aggregates results from many search engines. Agents can request general, news or other categories, choose engines, set a language, time window, safe-search level and result count through the web_search tool.

The server can talk to a remote SearXNG instance, or start an embedded SearXNG app inside the same process on localhost so no separate search server is needed. It can run over stdio for local clients or over Streamable HTTP. Result pages can be fetched and their main text extracted with Trafilatura, with MarkItDown handling some document formats when optional extras are installed.

An optional smart mode reranks results by semantic similarity, using either a local CTranslate2 encoder or an OpenAI-compatible embeddings endpoint. A Tavily-compatible adapter is also included for tools that expect Tavily's response shape. It suits developers who want a search backend for agents without relying on a commercial search API.

## Features

- **Web search tool:** Exposes a web_search tool with filters for categories, engines, language, time range and safe search.
- **Embedded SearXNG mode:** Runs a SearXNG instance in-process on localhost so search works without a separate server.
- **Remote instance support:** Connects to any SearXNG instance over HTTP using a configurable URL.
- **Semantic reranking:** Optionally reorders results by embedding similarity using local or remote encoders.
- **Page content extraction:** Pulls main article text from result pages with Trafilatura and falls back to other converters.
- **Tavily-compatible adapter:** Wraps results in a Tavily-style response format for tools built around that API.
- **stdio and HTTP transports:** Works with local stdio clients or serves MCP over Streamable HTTP.

## Good for

- Give a coding or research agent live web results without paying for a search API
- Run a private metasearch backend on localhost for an AI assistant
- Gather recent news on a topic by filtering search results to a time range
- Swap a commercial search provider for SearXNG in an existing agent pipeline
- Feed extracted article text from search hits into a retrieval workflow

## Install

### Claude Code: Add with the CLI (Terminal)

```sh
claude mcp add easy-searxng-mcp-server -- uvx easy-searxng-mcp-server
```

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

### Claude Code: Or share it with your project (.mcp.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Use .cursor/mcp.json in a project to share it with the project.

### VS Code (~/.copilot/mcp-config.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Or put the same entry in .mcp.json at your workspace root to share it.

### Codex: Add with the CLI (Terminal)

```sh
codex mcp add easy-searxng-mcp-server -- uvx easy-searxng-mcp-server
```

### Codex: Or add to config.toml (~/.codex/config.toml)

```toml
[mcp_servers.easy-searxng-mcp-server]
command = "uvx"
args = ["easy-searxng-mcp-server"]
```

### Gemini CLI and Antigravity: Gemini CLI (~/.gemini/settings.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Or run: gemini mcp add -s user easy-searxng-mcp-server uvx -- easy-searxng-mcp-server

### Gemini CLI and Antigravity: Antigravity (~/.gemini/config/mcp_config.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Use .agents/mcp_config.json to add it to one workspace only.

### Devin Desktop (~/.config/devin/mcp_config.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

On Windows the file is %APPDATA%\\devin\\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

### Cline (cline_mcp_settings.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Open it from the MCP Servers icon → Configure → Configure MCP Servers.

### Zed (Zed settings.json)

```json
{
  "context_servers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Open it with zed: open settings file. Merge context_servers into the settings you already have.

### JetBrains AI Assistant and Junie: AI Assistant (Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

### JetBrains AI Assistant and Junie: Junie (~/.junie/mcp/mcp.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Use .junie/mcp/mcp.json to share it with a project.

### Kiro (~/.kiro/settings/mcp.json)

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

Use .kiro/settings/mcp.json to add it to one workspace only.

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "easy-searxng-mcp-server": {
      "command": "uvx",
      "args": [
        "easy-searxng-mcp-server"
      ]
    }
  }
}
```

## Tools

From the tool list in its README, going by the names, all 1 tool only read data. From the server's own tool labels and tool names; not verified by us.

- `web_search` (name suggests: reads): Performs a web search using SearXNG with customizable parameters.

## FAQ

### How do I install Easy SearXNG MCP Server?

It can be run with uvx from the easy-searxng-mcp-server package on PyPI, or launched from source with the included entry script.

### Does Easy SearXNG MCP Server need a separate SearXNG server?

No. The --embedded option starts SearXNG inside the server process on localhost. A remote instance can also be used through SEARXNG_URL.

### Which transports are supported?

stdio is the default. Streamable HTTP is available with a configurable host and port.

### Is semantic reranking required?

No. It is optional and enabled with --smart, using a local CTranslate2 model or an OpenAI-compatible embeddings URL.

### Is Easy SearXNG MCP Server free?

Yes. Easy SearXNG MCP Server is open source, so you can use and self-host it for free.

### How do I add Easy SearXNG MCP Server to Claude Code?

Run this command in your terminal: claude mcp add easy-searxng-mcp-server -- uvx easy-searxng-mcp-server

### What are the best alternatives to Easy SearXNG MCP Server?

The closest alternatives to Easy SearXNG MCP Server are SearXNG, SearXNG Search, SearXNG HTTP MCP, Web Search and Searxng MCP.

## Where this comes from

- Description: written from the project's README and its MCP Registry entry.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [SearXNG](https://ai-powered.com/mcp/searxng): SearXNG is an open-source MCP server for web search and scraping.
- [SearXNG Search](https://ai-powered.com/mcp/searxng-search): SearXNG Search is an open-source MCP server for web search and scraping.
- [SearXNG HTTP MCP](https://ai-powered.com/mcp/searxng-http-mcp): SearXNG HTTP MCP is an open-source MCP server for web search and scraping.
- [Web Search](https://ai-powered.com/mcp/web-search-3): Web Search is an open-source MCP server for web search and scraping.
- [Searxng MCP](https://ai-powered.com/mcp/searxng-mcp): Searxng MCP is an open-source MCP server for web search and scraping.
- [websearch](https://ai-powered.com/mcp/websearch-2): websearch is an open-source MCP server for design and media.
- [Searxng Deepdive](https://ai-powered.com/mcp/searxng-deepdive): Searxng Deepdive is an open-source MCP server for web search and scraping.
- [CrawlEyes MCP Server](https://ai-powered.com/mcp/crawleyes-mcp-server): CrawlEyes MCP Server is an open-source MCP server for web search and scraping.

---
Source: https://ai-powered.com/mcp/easy-searxng-mcp-server
