MCP Searxng Relay MCP Server

A Model Context Protocol (MCP) server giving AI agents web search and URL fetching through your own self-hosted

Remote serverstreamable-httpGo

What is the MCP Searxng Relay MCP Server?

A Model Context Protocol (MCP) server giving AI agents web search and URL fetching through your own self-hosted SearXNG

The short version

  • Web search — via SearXNG with full control over language, category, time range, safe-search level, and result count
  • URL fetching — with structured Markdown output — headings, lists, tables, code blocks, and inline emphasis all preserved
  • PDF text extraction — from fetched URLs
  • Automatic charset detection — — non-UTF-8 pages (Shift-JIS, windows-1252, ISO-8859-1, …) are decoded correctly before parsing
  • Readability-style content extraction — — navigation bars, footers, sidebars, and cookie banners are stripped automatically
  • Response caching — with configurable TTL and per-request cache bypass

What it needs from you

  • A running SearXNG instance with the JSON output format enabled - Go 1.26+ (for building from source) or Docker

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
searxng_web_search
searxng_read_url
searxng_url_metadata
searxng_session_sources

How to install the MCP Searxng Relay MCP Server

{
  "mcpServers": {
    "searxng": {
      "command": "/path/to/mcp-searxng-relay",
      "env": {
        "SEARXNG_URL": "https://your-searxng-instance.example.com"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • A running SearXNG instance with the JSON output format enabled - Go 1.26+ (for building from source) or Docker
VariableDescriptionRequired
SEARXNG_URLDeclared in the maintainer’s client configuration.Check documentation

Example prompts to try

  • “Use MCP Searxng Relay to Kubernetes.”
  • “Use MCP Searxng Relay to searxng web search.”

Frequently asked questions

A Model Context Protocol (MCP) server giving AI agents web search and URL fetching through your own self-hosted [SearXNG](https://github.com/searxng/searxng) Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.