mcp-searxng
This MCP server provides privacy-respecting web search and content reading tools by connecting AI assistants to SearXNG instances.
Web Search (
searxng_web_search): Search the web with filters for pagination, time range (day, week, month, year), language, safe search, min relevance score, specific engines/categories, result count (1–20), output format (text/JSON), and detail level (full/compact).Search Suggestions (
searxng_search_suggestions): Get autocomplete suggestions to refine query terms.Instance Info (
searxng_instance_info): Discover categories, engines, defaults, locales, and plugins of configured SearXNG instances.URL Content Reader (
web_url_read): Fetch and convert pages to Markdown, extract text from PDFs (≤500 pages), pretty-print JSON, handle YAML/TOML/XML, extract sections by heading, select paragraph ranges, list headings, and paginate via character range. Supports browser solvers (FlareSolverr/Byparr) and protects against SSRF.
Additional capabilities: Failover/fan-out across multiple SearXNG replicas for high availability, in-memory caching with configurable TTL, HTML fallback parsing if JSON is blocked, lite tool schemas for small context windows, proxy support, optional Streamable HTTP transport, and rate limiting.
Provides privacy-respecting web search capabilities by integrating with SearXNG instances, including web search, URL content reading, caching, and failover.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-searxngsearch the web for recent news on AI privacy"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
🔍 SearXNG MCP Server
Privacy-respecting web search for AI assistants — use an operator-controlled, trusted SearXNG instance with Claude, Cursor, Cline, Bionic, and more.
🎇An MCP server that integrates the SearXNG API, giving AI assistants web search capabilities.
Quick Start
Add to your MCP client configuration (e.g. mcp-client-config.json):
⚠️ Supply Chain Security Warning
The standard npx configuration execution model carries an inherent supply chain risk:
json
// ❌ RISKY CONFIGURATION
"command": "npx",
"args": ["-y", "mcp-searxng"]Use that code with caution.
Why this is unsafe:
Bypassed Prompts: The
-yflag auto-approves installation, giving you no chance to verify changes before execution.Typosquatting Vulnerability: If you misspell the package name in your config file,
npxwill instantly execute whatever malicious package occupies that typo's slot on the public npm registry.Implicit Latest Tag: Without an explicit version pin,
npxdynamically fetches the absolute latest code directly from npm on every server initialization. If the upstream repository or developer account is compromised, the malicious update executes automatically on your host machine.
🛡️ Safer Workaround
To mitigate some of this risk, avoid dynamic remote execution entirely. Install a specific, audited version locally or globally, and point your configuration directly to that fixed binary.
Option A: Local Installation (Recommended for project isolation)
Install the package explicitly as a dependency with a pinned version:
bash
npm install mcp-searxng@1.0.0 --save-exactPoint your configuration directly to the local node modules binary path:
json
{ "mcpServers": { "searxng": { "command": "node", "args": ["./node_modules/mcp-searxng/dist/index.js"], "env": { "SEARXNG_URL": "https://YOUR_SEARXNG_INSTANCE_URL" } } } }
Option B: Global Pinned Installation
Install the audited version globally:
bash
npm install -g mcp-searxng@1.0.0Call the command directly (ensure your global npm
bindirectory is in your system's PATH):json
{ "mcpServers": { "searxng": { "command": "mcp-searxng", "args": [], "env": { "SEARXNG_URL": "https://YOUR_SEARXNG_INSTANCE_URL" } } } }
Replace YOUR_SEARXNG_INSTANCE_URL with the URL of your SearXNG instance (e.g. https://searxng.example.com). You can also provide interchangeable replicas as a semicolon-separated list, e.g. https://one.example.com;https://two.example.com.
For verified Claude Desktop, Claude Code, Codex CLI, Cursor, VS Code, Windsurf, Cline, and OpenCode recipes, see the MCP client configuration cookbook.
For a bounded, client-neutral method to search, inspect sources, cross-check claims, and cite evidence, see the evidence-focused research workflow.
For measured MCP-process CPU and memory starting points, see measured deployment profiles.
Related MCP server: searxng-mcp
🛡️ Safe and Secure Local Clone Usage (recommended)
If you have cloned this repository and want to run the server locally without relying on npx, follow the Local MCP-SearXNG Quickstart below:
You may use my known good config for a local mcp-searxng running on Windows.
Modify the following with your values.
Build mcp-searxng
cd D:\c0dex\GitHub\vinas1\vinas1.github.io
npm install
npm run buildCline config
I'm providing the quick start to Cline, which is how I use searXNG MCP every day. First, open your IDE and open cline. In VScode you'd click the hambuger looking icon, then press the gear icon. See the graphic for help, then enter the following JSON.
a green dot will be present when the MCP server is working, as shown above
make sure to replace my local path with yours! example: D:\c0dex\GitHub\vinas1\mcp-searxng
{
"mcpServers": {
"searxng": {
"command": "C:\\Program Files\\nodejs\\node.exe",
"args": [
"D:\\c0dex\\GitHub\\vinas1\\mcp-searxng\\dist\\cli.js"
],
"cwd": "D:\\c0dex\\GitHub\\vinas1\\mcp-searxng",
"env": {
"SEARXNG_URL": "http://192.168.0.60:8080/"
},
"disabled": false,
"autoApprove": []
}
}
}the SEARXNG_URL should be updated to your locally installed searXNG IP!
Then:
Save the file with Ctrl+S.
Press Ctrl+Shift+P.
Run Developer: Reload Window.
Open Cline → MCP Servers → Installed.
Local Install Details
Build the project Install dependencies and build the project to generate the necessary distribution files:
npm install
npm run build2. Configure your MCP client
Point your configuration to the local Node binary and the built entry point. Replace dist/cli.js with the actual path to the file if you are running from a different directory:
{
"mcpServers": {
"searxng": {
"command": "node",
"args": ["dist/cli.js"],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}🛡️ Security Note
Running from a local clone is significantly safer than using npx. While npx can lead to supply chain attacks by fetching and executing remote code without verification (e.g., typosquatting or package hijacking), building locally ensures you are executing the exact source code you have reviewed in your repository.
Features
Web Search: General, news, and article queries with pagination, time-range/language/safe-search filters, relevance filtering (
min_score), and formatted-text or raw-JSON output selected per call (response_format) or with the operator default (SEARXNG_DEFAULT_RESPONSE_FORMAT).Instance Failover & Fan-out: Configure interchangeable SearXNG replicas in
SEARXNG_URL; searches fail over in order by default, or query all healthy replicas in parallel and merge results withSEARXNG_FANOUT.Direct Answers & Metadata: Text results surface SearXNG answers, corrections, suggestions, and infoboxes before the result list.
Search Suggestions: Query autocomplete via SearXNG's
/autocompleterendpoint.Instance Capability Discovery: Inspect configured categories, engines, defaults, locales, and plugins from
/config.URL Content Reading: Content-type-aware Markdown conversion, including bounded PDF text extraction, with pagination, section filtering, paragraph ranges, and heading extraction.
Browser Solver Support: For each uncached URL that passes static URL validation and the HEAD size preflight, optionally acquire a browser session from FlareSolverr, Byparr, or both, then replay the returned user-agent and scoped cookies through the bounded URL reader. In dual-provider mode FlareSolverr is always primary and Byparr is attempted only after a busy or transient-unavailable primary. FlareSolverr 3.5.0 and Byparr 2.1.0 were verified on 2026-07-30.
Intelligent Caching: Both search results and URL content are cached in memory with configurable TTL and least-frequently-used (LFU) eviction, reducing redundant requests.
SSRF Protection:
web_url_readblocks private/internal URLs and redirects by default in all transport modes.HTTP Transport: Optional Streamable HTTP mode with opt-in hardening, rate limiting, and bounded stateless compatibility for serverless or horizontally scaled deployments.
HTML Fallback: Optionally parse results from the HTML page for public instances that reject
format=json.Lite Tools Mode: Minimal tool schemas for local models with small context windows.
Proxy Support: Global or per-tool HTTP/HTTPS proxies for search and URL-reader traffic.
The verified linux/amd64 images came from multi-architecture manifests
ghcr.io/flaresolverr/flaresolverr:v3.5.0@sha256:139dfee1c6f89249c8d665d1333a42e8ec74ec0a86bc6bb1c8461e10d3a66a47
and
ghcr.io/thephaseless/byparr:2.1.0@sha256:01a46a2865d9a6db5eb8ead04ec0dd33b8fbe233e8565ae70b50d4cc0af4cfb0.
Client cancellation stops local work promptly, but a remote browser may
continue until its configured provider timeout after the HTTP client
disconnects. See browser solver verification.
Why mcp-searxng?
As of 2026-07-29, the capability comparison below reflects the official Brave MCP, Exa MCP, and Firecrawl MCP projects. “Pagination” means an exposed page or offset control. “Self-hosted” means the search service can run under your control. “Free / No API key” means this MCP server does not require a paid search-vendor API key; you still operate or select the underlying SearXNG instance.
Brave MCP | Exa MCP | Firecrawl MCP | mcp-searxng | |
Web Search | ✓ | ✓ | ✓ | ✓ |
Read URL | ✗ | ✓ | ✓ | ✓ |
Pagination | ✓ | ✗ | ✓ | ✓ |
Self-hosted | ✗ | ✗ | Partial | ✓ |
Free / No API key | ✗ | ✗ | ✗ | ✓ |
Privacy depends on the SearXNG deployment. An operator-controlled instance can avoid trusting a third-party search operator, while a public instance receives the query and may log it. SearXNG and this MCP integration do not by themselves provide anonymity.
How It Works
mcp-searxng is a standalone MCP server — a separate Node.js process that your AI assistant connects to for web search. It queries one SearXNG instance, or a semicolon-separated list of interchangeable SearXNG replicas, via the HTTP JSON API.
Not a SearXNG plugin: This project cannot be installed as a native SearXNG plugin. Point it at any existing SearXNG instance, or interchangeable replica list, by setting
SEARXNG_URL.
AI Assistant (e.g. Claude)
│ MCP protocol
▼
mcp-searxng (this project — Node.js process)
│ HTTP JSON API (SEARXNG_URL)
▼
SearXNG instance(s)For SearXNG deployment, configuration, and troubleshooting, see Operating Self-Hosted SearXNG with mcp-searxng.
Tools
searxng_web_search
Execute web searches with pagination
Inputs:
query(string): The search query. This string is passed to external search services.pageno(number, optional): Search page number, starts at 1 (default 1)time_range(string, optional): Filter results by time range - one of: "day", "week", "month", "year" (default: none)language(string, optional): Language code for results (e.g., "en", "fr", "de") or "all" (default: "all")safesearch(string enum, optional): Safe search filter level, one of"0"(None),"1"(Moderate), or"2"(Strict). Legacy numeric values0,1, and2are still accepted for backward compatibility. (default: instance setting)min_score(number, optional): Minimum relevance score from 0.0 to 1.0. Results below this score are filtered out.num_results(number, optional): Maximum number of results to return, from 1 to 20.SEARXNG_MAX_RESULTSapplies as an operator ceiling.categories(string, optional): Comma-separated SearXNG categories (e.g."news","it,science"). Live/configcapabilities are aggregated across reachable instances; prefersearxng_instance_infocategories.commonfor consistent multi-instance results. Known values are trimmed and normalized case-insensitively; unknown values are forwarded trimmed so SearXNG can ignore or honor them. If/configis unavailable, values are forwarded as-is with a warning. If omitted, each instance uses its server-side default.engines(string, optional): Comma-separated SearXNG engine names (e.g."google,bing,ddg","semantic scholar"). Live/configcapabilities are aggregated across reachable instances; prefersearxng_instance_infoengines.common.enabledfor consistent multi-instance results. Known values are trimmed and normalized case-insensitively, including engines disabled by default; unknown values are forwarded trimmed so SearXNG can ignore or honor them. If/configis unavailable, values are forwarded as-is with a warning. If omitted, each instance uses its server-side default.response_format(string, optional): Response format, either"text"for formatted agent-readable output or"json"for raw SearXNG JSON with filtered/slicedresults. If omitted,SEARXNG_DEFAULT_RESPONSE_FORMATapplies; if unset or invalid,textis used. An explicitresponse_formatalways takes precedence.result_detail(string, optional):"full"(the default) preserves SearXNG metadata, warnings, provenance, answers, infoboxes, corrections, and suggestions."compact"returns only title, URL, and the description/content snippet for every result; compact JSON uses exactly thetitle,url, andcontentkeys. Use full when those research signals matter.Clients that explicitly send or auto-inject
response_format=textcontinue to override the operator default. If omitted calls still return text after configuring JSON, inspect the arguments emitted by the MCP client.
Migration: compact text has exactly three lines per result and no cache annotation or preamble. Update line parsers that expect relevance scores or search metadata to request
result_detail="full"(or accept compact's three-line records).Compact deliberately suppresses warnings, provenance, and every other search signal. Full text may add valid optional lines in fixed order: score, engines, category, published date, thumbnail, image source; invalid optional metadata is omitted. Text fields are normalized to single lines.
SEARXNG_MAX_RESULT_CHARStruncates result content in compact and full text/JSON responses, including full JSON for existing users who already set the variable; compact text normalizes line separators before applying the cap, while JSON caps the original string value.With
SEARXNG_LITE_TOOLS=true, the Lite schema stays query-only, but explicitly supplied optional overrides such asresponse_formatandresult_detailare still validated and honored.searxng_search_suggestions
Get autocomplete suggestions for refining search queries
Inputs:
query(string): Partial or complete query to autocomplete.language(string, optional): Language code for suggestions (e.g., "en", "fr", "de") or "all" (default: "all")
searxng_instance_info
Discover categories aggregated from reachable configured SearXNG instances, optionally include engine names, and inspect defaults, locales, and plugins from the primary reachable instance. Categories—and engines when requested—report
commonvalues present on every reachable instance andavailablevalues present on at least one reachable instance.Inputs:
includeEngines(boolean, optional): Include enabled engine names in the response. (default: false)includeDisabled(boolean, optional): Include disabled engine names whenincludeEnginesis true. (default: false)category(string, optional): Filter categories and engines to a single category name.refresh(boolean, optional): Bypass the process cache and fetch fresh/configdata. (default: false)
web_url_read
Read URL content as markdown with content-type-aware handling and advanced extraction options
Supported readable content:
HTML (
text/html,application/xhtml+xml) is converted to markdownJSON (
application/json,*+json) is pretty-printed in a fenced blockPlain text, YAML, TOML, XML, and other safe explicit
text/*responses are returned as readable fenced textPDF (
application/pdf) text is extracted in a resource-bounded worker for documents up to 500 pagesMissing or generic content types are read under the existing size cap; non-binary bodies continue through the HTML-to-markdown path for compatibility
PDF input and extracted text are each capped at the lower of
URL_READ_MAX_CONTENT_LENGTH_BYTESand 16 MiB. OCR is not supported, and scanned/image-only or password-protected PDFs return a short explanation.A response declared as PDF must begin with the
%PDF-signature; a mismatch usually indicates an interstitial or error page served with the wrong content type.PDF parsing has a separate 30-second worker budget after the response body is downloaded. On the direct path, the network fetch and parse take at most the configured fetch budget plus 30 seconds; configured browser-solver preflight and acquisition time is additional.
At most two PDF extractions run concurrently per MCP process. There is no queue; additional concurrent reads return a busy message and may be retried.
Other binary, media, archive, and octet-stream downloads are intentionally rejected with a short hint instead of returning raw bytes
When
FLARESOLVERR_URLorBYPARR_URLis configured, an uncached URL is validated and checked by the HEAD size preflight beforemcp-searxngattempts browser-session acquisition. With both set, FlareSolverr is attempted first and Byparr is attempted only after a busy slot, network/timeout failure, HTTP 408/429/5xx, or malformed/oversized response. Persistent provider 4xx, cancellation, solution-host validation failure, and solved non-2xx target status stop the chain. If every configured provider is busy or unavailable, one uncached direct fetch runs. Each attempted provider receives the original target URL; challenge success is not guaranteed.At default limits, dual-provider mode has an additive maximum of 150 seconds across the initial HEAD preflight, both solver attempts (including response grace), and the final direct fetch.
Inputs:
url(string): The URL to fetch and processstartChar(number, optional): Starting character position for content extraction (default: 0)maxLength(number, optional): Maximum number of characters to returnsection(string, optional): Extract content under a specific heading (searches for heading text)paragraphRange(string, optional): Return specific paragraph ranges (e.g., '1-5', '3', '10-')readHeadings(boolean, optional): Return only a list of headings instead of full content
Installation
Requires Node.js 20 or later.
npm install -g mcp-searxng{
"mcpServers": {
"searxng": {
"command": "mcp-searxng",
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}Pre-built image:
docker pull isokoliuk/mcp-searxng:latestImage signatures can be verified with Cosign — see SECURITY.md for instructions.
{
"mcpServers": {
"searxng": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "SEARXNG_URL",
"isokoliuk/mcp-searxng:latest"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}To pass additional env vars, add -e VAR_NAME to args and the variable to env.
For browser-solver integration, pass FLARESOLVERR_URL, BYPARR_URL, or both
and make the configured services reachable from this container. Dual mode has
a fixed FlareSolverr-first order and no automatic reverse failover. See
URL Reader Controls for the complete
behavior and Docker Compose example.
Build locally:
docker build -t mcp-searxng:latest -f Dockerfile .Use the same config above, replacing isokoliuk/mcp-searxng:latest with mcp-searxng:latest.
docker-compose.yml:
services:
mcp-searxng:
image: isokoliuk/mcp-searxng:latest
stdin_open: true
environment:
- SEARXNG_URL=${SEARXNG_URL:?Set SEARXNG_URL in the environment}
# Add optional variables as needed — see CONFIGURATION.mdThe tracked Compose file is intentionally STDIO-only and publishes no network ports; MCP clients launch it with an absolute Compose-file path and docker compose run --rm -T, not docker compose up. The -T flag prevents pseudo-TTY allocation so MCP JSON-RPC stays on raw standard input and output. Compose fails before launch unless the MCP client supplies SEARXNG_URL.
MCP client config:
{
"mcpServers": {
"searxng": {
"command": "docker",
"args": [
"compose",
"-f", "/absolute/path/to/docker-compose.yml",
"run", "--rm", "-T", "mcp-searxng"
],
"env": {
"SEARXNG_URL": "YOUR_SEARXNG_INSTANCE_URL"
}
}
}
}If you previously used the tracked file as an HTTP service on port 8080, put the HTTP settings in an untracked docker-compose.override.yml:
services:
mcp-searxng:
ports:
- "127.0.0.1:8080:8080"
environment:
- MCP_HTTP_PORT=8080
- MCP_HTTP_HOST=0.0.0.0Here 0.0.0.0 is the container-side bind address; the host-side port remains loopback-only. This override has no authentication and is only a temporary single-host migration path. Before adding co-located containers or exposing the service beyond the local machine, follow the hardened deployment guidance.
By default the server uses STDIO, launched by your MCP client. To use HTTP instead, run mcp-searxng as a standalone process with MCP_HTTP_PORT set. In this mode it serves the MCP protocol over HTTP and does not speak STDIO, so your client connects to it by URL rather than spawning it.
Start the server:
MCP_HTTP_PORT=3000 SEARXNG_URL=http://localhost:8080 mcp-searxngOr with Docker (bind to all interfaces so the port is reachable from the host):
docker run --rm -p 3000:3000 \
--add-host=host.docker.internal:host-gateway \
-e MCP_HTTP_PORT=3000 -e MCP_HTTP_HOST=0.0.0.0 \
-e SEARXNG_URL=http://host.docker.internal:8080 \
isokoliuk/mcp-searxng:latestThe --add-host mapping lets the container reach a SearXNG instance on the host via host.docker.internal; it resolves automatically on Docker Desktop but needs this flag on native Linux. Point SEARXNG_URL at your actual instance if it runs elsewhere.
Connect an HTTP-capable MCP client to the /mcp endpoint by URL:
{
"mcpServers": {
"searxng-http": {
"type": "streamable-http",
"url": "http://localhost:3000/mcp"
}
}
}Endpoints: POST/GET/DELETE /mcp (stateful MCP protocol), GET /health (health check)
Stateful sessions remain the default. Set MCP_HTTP_STATELESS=true when a deployment cannot preserve in-memory sessions between requests. Every stateless POST creates a fresh MCP server and transport, ignores any incoming session ID, and returns negotiated JSON or an SSE stream within that same POST. Stateless mode is POST-only: GET /mcp and DELETE /mcp return HTTP 405 with Allow: POST, and no cross-request subscriptions, resumability, or server-to-client notifications are preserved.
Stateless requests are bounded by global and per-client-IP in-flight limits plus a request lifetime. See CONFIGURATION.md for defaults, overload and timeout responses, proxy-aware fairness, and the complete compatibility contract.
Test it:
curl http://localhost:3000/healthThe server binds to 127.0.0.1 by default; set MCP_HTTP_HOST=0.0.0.0 for remote or containerized deployments. Before exposing it on a network, enable hardened mode (MCP_HTTP_HARDEN) and see CONFIGURATION.md for MCP_HTTP_TRUST_PROXY so rate limiting and logs use the correct client IP.
Configuration
SEARXNG_URL is the only required variable — set it to your SearXNG instance URL (or a semicolon-separated list of interchangeable replicas). Everything else is optional.
Use SEARXNG_DEFAULT_RESPONSE_FORMAT to select text or json when search calls omit response_format; explicit per-call values still win.
See CONFIGURATION.md for the full environment variable reference, including authentication, failover/fan-out, caching, timeouts, proxies, TLS, HTTP transport, and hardening.
Troubleshooting
For self-hosted SearXNG configuration, direct verification, and troubleshooting, see Operating Self-Hosted SearXNG with mcp-searxng. If you do not control the instance, use the separate public SearXNG instance guide instead.
If HTTPS requests fail behind a TLS-inspecting corporate proxy with certificate errors, see TLS / Corporate CA.
403 Forbidden from SearXNG
Your SearXNG instance likely has JSON format disabled. Edit settings.yml (usually /etc/searxng/settings.yml):
search:
formats:
- html
- jsonRestart SearXNG (docker restart searxng) then verify:
curl 'http://localhost:8080/search?q=test&format=json'You should receive a JSON response. If not, confirm the file is correctly mounted and YAML indentation is valid.
See also: SearXNG settings docs · discussion
Can't enable JSON? (HTML fallback)
If you must use a public instance you don't control and it rejects format=json (the 403 above), set the opt-in flag instead of editing the server:
Before enabling it, review the public operator's policy and the public-instance usage guide.
{
"SEARXNG_HTML_FALLBACK": "true"
}A search that gets a 403/404 or a non-JSON response is then retried automatically without format=json and parsed from the regular HTML results page.
On success: you get normal results (title, URL, snippet). They are marked
sourceFormat: "html"in JSON mode, and text mode adds the line "Note: Results parsed from SearXNG HTML fallback; metadata is limited." Relevance scores and engine names are not available from HTML.On failure: parsing is best-effort and varies by the instance's theme/version, so some results may be missed or sparse. If the HTML page itself also fails — still blocked, rate-limited (
429), auth (401), or5xx— the fallback attempt's error is surfaced, so the search never silently returns empty results. The fallback only triggers on403/404/non-JSON, never on auth or network errors.
Enabling JSON on an instance you control (above) remains the recommended setup — the fallback is a compatibility aid, not a replacement.
Contributing
See CONTRIBUTING.md
License
MIT — see LICENSE for details.
Available Tools
4 toolssearxng_instance_infoARead-only
Discovers capabilities from all reachable configured SearXNG instances via /config, including categories.common/available, engines.common/available, defaults, locales, and plugins.
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | Bypass the process cache and fetch fresh /config data. | |
| category | No | Filter categories and engines to a single category name. | |
| includeEngines | No | Include enabled engine names in the response. | |
| includeDisabled | No | Include disabled engine names when includeEngines is true. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description adds context beyond the readOnlyHint annotation by noting it fetches from 'all reachable configured instances' and describes the data categories returned. It does not mention caching behavior despite the refresh parameter, but the core behavioral traits (read-only, network-dependent) are covered.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence that front-loads the action ('Discovers capabilities') and uses a compact, informative list for data categories. Every phrase contributes meaning without redundancy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only tool with no output schema, the description adequately covers its purpose and the data content it returns. It lacks explicit treatment of caching (hinted at by the refresh parameter) and behavior when instances are unreachable, which would be useful but are not critical for basic invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100% with clear parameter descriptions, so the tool description does not need to explain parameters. The description's list of output categories (e.g., categories.common/available) loosely relates to the 'category' filter but does not explicitly connect them, adding only marginal semantic value.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description uses the specific verb 'discovers' and names the resource: capabilities of SearXNG instances. It enumerates the exact content categories (categories, engines, defaults, locales, plugins), making it distinct from sibling tools like searxng_web_search and searxng_search_suggestions.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description implies usage when you need to inspect instance capabilities, but it does not explicitly state when to choose this over sibling search tools or provide exclusions. The context is inferred rather than stated.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
searxng_search_suggestionsARead-only
Returns autocomplete suggestions from the configured SearXNG instance. Use this to refine vague or partial queries before searching.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Partial or complete query to autocomplete. | |
| language | No | Language code for suggestions (e.g., 'en', 'fr', 'de') or 'all'. Default: all. | all |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnlyHint=true and openWorldHint=true, covering the safety and determinism profile. The description adds that results come from the configured instance, implying external dependency, but doesn't disclose rate limits or response format. With annotations doing the heavy lifting, 3 is appropriate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two sentences, front-loaded with the core purpose and immediately followed by usage guidance. No filler or repetition of schema content.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a read-only suggestion tool with two well-documented parameters and no output schema, the description fully conveys purpose and usage. Annotations cover behavioral constraints, making this complete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 100%, with descriptions for both query and language including default values. The description's 'autocomplete suggestions' adds context but does not materially enhance what the schema already provides, so baseline 3.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Returns autocomplete suggestions from the configured SearXNG instance' – a specific verb, resource, and source. The name and description distinguish it from sibling tools like web_search and instance_info.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly says 'Use this to refine vague or partial queries before searching', providing clear when-to-use context and implying it is a precursor to web search. This is unambiguous guidance.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
searxng_web_searchARead-only
Searches the web using SearXNG and returns a list of results, each with a title, URL, and content snippet. CRITICAL: The required parameter name is exactly query (not prompt, q, or any other name). Calls an external SearXNG instance; availability depends on the SEARXNG_URL configuration. Use pageno to paginate results; combine time_range and language to narrow scope. To read the full text of a result URL, follow up with web_url_read.
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | The search query string. This is the required parameter name — use exactly `query`, not `prompt` or `q`. | |
| pageno | No | Search page number (starts at 1) | |
| engines | No | Comma-separated SearXNG engine names to query (e.g. 'google,bing,ddg'). Live /config capabilities are aggregated across reachable instances; prefer searxng_instance_info engines.common.enabled for consistent multi-instance results. Values in engines.available.enabled are best-effort and may only be honored by some instances. Known values are normalized case-insensitively; unknown values are forwarded trimmed so SearXNG can ignore or honor them. If /config is unavailable, values are forwarded as-is with a warning. If omitted, each instance uses its server-side default. | |
| language | No | Language code for search results (e.g., 'en', 'fr', 'de'). Default is instance-dependent. | all |
| min_score | No | Minimum relevance score threshold from 0.0 to 1.0. Results below this score are filtered out. | |
| categories | No | Comma-separated SearXNG categories. Live /config capabilities are aggregated across reachable instances; prefer searxng_instance_info categories.common for consistent multi-instance results. Values in categories.available are best-effort and may only be honored by some instances. Known values are normalized case-insensitively; unknown values are forwarded trimmed so SearXNG can ignore or honor them. If /config is unavailable, values are forwarded as-is with a warning. If omitted, each instance uses its server-side default. | |
| safesearch | No | Safe search filter level (0: None, 1: Moderate, 2: Strict) | |
| time_range | No | Time range of search (day, week, month, year) | |
| num_results | No | Maximum number of results to return (1-20). Operator cap SEARXNG_MAX_RESULTS applies as a ceiling. | |
| result_detail | No | Result detail: full preserves SearXNG metadata and search signals; compact returns only title, URL, and content-snippet fields for each result (JSON keys: title, url, content). If omitted, full is used. | |
| response_format | No | Response format: formatted text for agents or raw JSON for programmatic clients. If omitted, SEARXNG_DEFAULT_RESPONSE_FORMAT applies; if unset or invalid, text is used. An explicit response_format always takes precedence. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Beyond annotations (readOnlyHint, openWorldHint), the description adds that it 'Calls an external SearXNG instance; availability depends on the SEARXNG_URL configuration.' This discloses a meaningful operational constraint not present in the annotations. It also warns about the exact parameter name, which is useful.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Four short sentences, each with a distinct purpose: function, critical parameter note, usage tips, and follow-up action. No fluff, and the most important information (what it does and the critical parameter) is front-loaded.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given no output schema, the description reasonably explains the return format ('title, URL, and content snippet'), external dependency, pagination, narrowing options, and follow-up to web_url_read. It does not cover error handling or rate limits, but with read-only/open-world annotations and a well-covered schema, this is adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 100%, so the baseline is 3. The description emphasizes the required `query` parameter and hints at combining `time_range` and `language`, but most parameter details are already in the schema. It adds minimal extra meaning beyond what the schema already provides.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description starts with a specific verb+resource: 'Searches the web using SearXNG and returns a list of results...' It clearly differentiates from siblings by explicitly directing follow-up to web_url_read for full text, and the search-vs-suggestions distinction is obvious from the tool names.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Provides concrete usage guidance: 'Use pageno to paginate results; combine time_range and language to narrow scope' and 'follow up with web_url_read' for full-text reading. It does not explicitly compare with the sibling searxng_search_suggestions, but the main use case and a clear alternative (web_url_read) are covered.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
web_url_readARead-only
Fetches a URL and returns readable content as markdown. Content-type aware: HTML is converted to markdown; JSON is pretty-printed; plain text, YAML, TOML, and XML are returned as fenced readable text. PDF text extraction is supported with bounded input, output, page count, time, concurrency, and memory; OCR is not supported. Binary, media, archive, and octet-stream downloads other than PDFs are intentionally rejected instead of being returned as raw bytes. When the operator configures browser solvers, mcp-searxng attempts FlareSolverr first and then Byparr only after a busy or transient-unavailable acquisition; cache hits bypass acquisition and a final busy or unavailable provider uses one uncached direct-fetch fallback. Three modes: (1) Full content — omit filtering params; use startChar/maxLength to paginate large pages. (2) Section extraction — set section to return content under a specific heading. (3) Headings only — set readHeadings: true to list all headings (mutually exclusive with other filtering params). Returns an error string if the URL is unreachable or content cannot be extracted. Use after searxng_web_search to read the full content of individual result URLs.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL | |
| section | No | Extract content under a specific heading (searches for heading text) | |
| maxLength | No | Maximum number of characters to return | |
| startChar | No | Starting character position for content extraction (default: 0) | |
| readHeadings | No | Return only a list of headings instead of full content | |
| paragraphRange | No | Return specific paragraph ranges (e.g., '1-5', '3', '10-') |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations provide readOnlyHint and openWorldHint, but the description adds extensive behavioral detail: content-type conversion rules, PDF extraction limits, binary rejection, FlareSolverr/Byparr fallback logic, modes, and error return behavior. This far exceeds what annotations alone communicate, with no contradictions.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is long but each sentence contributes necessary detail. It is front-loaded with the primary purpose and then branches into content types, limitations, modes, and usage. The solver fallback details are somewhat verbose and could be trimmed without losing core guidance, preventing a perfect score.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With no output schema, the description adequately explains return format (markdown, fenced text, error string) and covers all major usage aspects: modes, pagination, unsupported types, and integration with the search tool. This makes it self-sufficient for an AI agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema covers all parameters 100%, so baseline is 3. The description adds value by explaining how parameters combine into three modes (full content with startChar/maxLength, section extraction, readHeadings) and notes mutual exclusivity. However, paragraphRange is not mentioned in the description, so it doesn't fully elaborate every parameter.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The first sentence clearly states 'Fetches a URL and returns readable content as markdown,' identifying the specific verb and resource. It distinctly differentiates from sibling tools (searxng_web_search, suggestions, instance info) which are search-oriented, not content retrieval.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Explicitly states 'Use after searxng_web_search to read the full content of individual result URLs,' providing clear when-to-use guidance. Also lists exclusions (binary, media, OCR not supported) which inform when not to use.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v1.14.1- First observed
searxng_instance_info - First observed
searxng_search_suggestions - First observed
searxng_web_search - First observed
web_url_read
TDQS
Scored across 4 tools
Each tool has a clearly distinct purpose: web search, search suggestions, instance configuration, and URL content retrieval. No overlapping functionality between the tools.
Three tools use the 'searxng_' prefix, but 'web_url_read' breaks the pattern. Verb placement varies (e.g., 'web_search' vs 'url_read'), and some names are noun-heavy like 'instance_info' and 'search_suggestions'.
Four tools is well-scoped for a SearXNG integration, covering search, refinement, instance discovery, and content reading without unnecessary bloat.
The set covers the core search workflow end-to-end: from query and suggestions to reading result content. Minor gaps like OCR or advanced result parsing are not essential for the intended purpose.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Serper MCP — wraps the Serper Google Search API (serper.dev)
MCP server for Google search results via SERP API
Docs: https://docs.keenable.ai/mcp-server Keenable is a free, remote MCP server that gives agents access to the web index. Search the web with ranked results and date/site filters, then fetch any indexed page as clean markdown. Works out of the box with no account or API key.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps a local SearXNG instance to provide private, customizable web search capabilities. It enables AI assistants to perform queries with support for specific parameters like results limits, language, and time ranges.84MIT
- AlicenseAqualityAmaintenanceMCP server for private web search via self-hosted SearXNG with local reranking, full-page content fetching via Firecrawl, and optional Ollama-powered query expansion and summaries.71,11722MIT
- AlicenseAqualityBmaintenanceMCP server for SearXNG meta search engine with enhanced error handling and parameter validation for AI agents. Enables privacy-focused web searches with structured JSON results and advanced filtering.11002MIT
- AlicenseAqualityDmaintenanceA privacy-focused web search and content extraction MCP server. It integrates SearxNG with fallback to Google scraping, featuring relevance ranking, security-aware search, and rate limiting.3MIT