# LobeHub (LobeChat) online search with NestDaddy, no SearXNG server needed

> Source: <https://nestdaddy.com/blog/lobehub-web-search>
> Published: 2026-11-27 00:00:00+00:00

**Recommendation:** To give self-hosted LobeHub web search without running SearXNG, set SEARCH_PROVIDERS=searxng and SEARXNG_URL to a SearXNG-compatible endpoint without /search, verify it returns JSON results via curl, then restart.
More in the playbook "Retrieval and RAG": <https://wpnews.pro/playbooks/rag-retrieval>

# LobeHub (LobeChat) online search with NestDaddy, no SearXNG server needed

Self-hosted LobeHub can search the web through SearXNG. Set two environment variables to use NestDaddy instead and skip deploying your own SearXNG instance.

LobeHub (formerly LobeChat) has built-in online search: the assistant can search the web and read pages before it answers. For self-hosted deployments, one of the supported search providers is SearXNG, configured with environment variables.

NestDaddy answers in the same SearXNG format, so you can point LobeHub at it and skip running a SearXNG container.

```
Press Run to call the API.
```

[Start 7-day free trial](https://nestdaddy.com/pricing#mcp)

## What you need

- A self-hosted LobeHub deployment (Docker or similar) where you can set environment variables
- A NestDaddy API key: start a 7-day free trial at [nestdaddy.com/pricing](https://nestdaddy.com/pricing)

## Set the environment variables

```
SEARCH_PROVIDERS=searxng
SEARXNG_URL=https://nestdaddy.com/searxng/YOUR_API_KEY
```

LobeHub adds `/search` to `SEARXNG_URL` itself, so give the URL **without** `/search` at the end. Restart LobeHub after changing the variables.

In Docker Compose:

```
environment:
  - SEARCH_PROVIDERS=searxng
  - SEARXNG_URL=https://nestdaddy.com/searxng/${NESTDADDY_API_KEY}
```

LobeHub's built-in `naive` crawler reads the result pages, so you do not need a crawler service to get started. You can add others with `CRAWLER_IMPLS` later.

## Keep the key safe

SearXNG URLs have no separate key field, so the key is part of `SEARXNG_URL`. Keep it in your environment or secrets manager, not in a public repository. NestDaddy masks keys in all of its logs, and you can replace a key from your [dashboard](https://nestdaddy.com/dashboard) at any time.

## Check it works

Before restarting LobeHub, test the same URL with curl:

```
curl -s "https://nestdaddy.com/searxng/$NESTDADDY_API_KEY/search?q=latest+AI+news&format=json"
```

You should get a JSON object with a `results` list. Then open LobeHub, turn on online search for an assistant and ask something current.

## Why NestDaddy here

- **No SearXNG to run.** No container, no engine settings, no upstream engines getting blocked.
- **Fresh news blended in** for current topics.
- **One search = one credit** , the same as the[Search API](https://nestdaddy.com/serp-api) .

More apps that work the same way: [Open WebUI and AnythingLLM](https://nestdaddy.com/blog/searxng-alternative), [Cherry Studio](https://nestdaddy.com/blog/cherry-studio-web-search).
