Research with mcp-searxng
Four tools. Pick the one that advances the task; most tasks need only two.
| Need | Tool |
|---|---|
| Source URL unknown, or want several perspectives | searxng_web_search |
| Query is vague or terminology uncertain | searxng_search_suggestions |
| Plan depends on a specific category/engine/locale | searxng_instance_info |
| Have a URL and need its content | web_url_read |
Workflow
- Define the need. Note the question, required freshness, and what counts as sufficient evidence. Separate facts from opinions and forecasts.
- Search with the bare query first. Call
searxng_web_searchwithquery(andnum_resultsif useful). Add filters only after seeing results, one at a time. - Select sources before reading. Prefer primary sources (official docs, laws, papers, first-party announcements). Syndicated copies and several pages from one organization are not independent confirmation.
- Read the pages that matter. A snippet is discovery evidence, not proof of what the page says. Call
web_url_readfor every source supporting a material claim. - Cross-check. Confirm material claims against a genuinely independent source, or say why only one authoritative source exists. If sources conflict, report the conflict and check whether date, version, or method explains it.
- Answer with citations. Cite the canonical URL next to each claim. Label each statement as evidence (a source says it), inference (you combined sources), or unknown (not established). Never invent a quote, date, or citation.
Effort budget
| Task | Search rounds | Pages read |
|---|---|---|
| Small factual check | 1 | 1-2 |
| Normal research | 2-3 | 3-6 |
| High-impact claim | 3-5 | 5-10 |
Run independent queries or reads in parallel (2-4 at once). Keep dependent steps sequential: find a URL before reading it, check searxng_instance_info before relying on a category or engine. Stop when the question is answered, claims are cited or labeled, and another round is unlikely to change the conclusion. If access is blocked or the budget is hit, report the limitation instead of retrying indefinitely.
Reading long pages
- Call
web_url_readwithreadHeadings=truealone (it ignores other extraction options). - Then a separate call with
section,paragraphRange("3","1-5","10-"), orstartChar+maxLength.
PDFs return extracted text only (no OCR). Scanned or encrypted PDFs return a short explanation; try another source.
Gotchas
engines+time_rangetogether requires every instance to report per-engine time-range support, otherwise the call fails before searching. Drop one of them, or checksearxng_instance_infofirst.- Prefer
commonoveravailablecapabilities fromsearxng_instance_infowhen several replicas are configured;availablevalues may work on only some. - Default
result_detailisfull. Usecompact(title, URL, snippet only) to save tokens on broad scans; switch back tofullwhen you need answers, infoboxes, warnings, scores, dates, or engine-failure detail. Search DegradedwithisError: truemeans zero rows plus reported engine failures. It does not mean every engine failed. Retry later with different engines; do not hammer a public instance.- Results can be cached per process. Repeated identical calls may return old data. There is no per-call cache bypass;
refresh=trueonsearxng_instance_inforefreshes capabilities only. - Private/internal URLs are blocked by
web_url_readby default (including via redirects). Don't try to work around it. - Binary content is rejected. Media, archives, and octet-streams are not readable; pick a different source.
- PDF busy message ("PDF text extraction is busy") means two parsers are already running. Retry later with lower concurrency.
- Lite mode (
SEARXNG_LITE_TOOLS=true) hides optional parameters from the schema. If you cannot seetime_rangeorsection, they may still be accepted when sent explicitly. - Suggestions are query ideas, not evidence. Never cite them.
When results are poor or empty
Change one constraint at a time, in this order:
- Drop unnecessary words or try a synonym.
- Remove
time_range. - Set
languagetoall. - Remove
categories/engines. - Broaden the question, then search narrower sub-questions separately.
Retries do not guarantee useful results; engine quality is instance-dependent.
Privacy
Queries and fetched URLs go to the SearXNG instance and possibly upstream engines. Never put secrets, credentials, private identifiers, or confidential text in a query. Strip unnecessary personal data.
References
- Full parameter list for all four tools: read
references/tool-parameters.mdwhen you need an argument you don't remember. - Server or connection errors (401/403/404/429/503, timeouts, STDIO/Docker problems, non-JSON responses): read
references/troubleshooting.md.


