Skip to main content
Glama
FivePebblesGPT

SearXNG MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BYPARR_URLNoURL of a Byparr service for browser-solver integration.
SEARXNG_URLYesThe base URL of the SearXNG service. This identifies the SearXNG instance, not the MCP endpoint.
MCP_HTTP_HOSTNoBind address for HTTP transport. The README example uses 0.0.0.0 as the container-side bind address.
MCP_HTTP_PORTNoPort for running the MCP server over HTTP transport. Leave unset for local STDIO.
FLARESOLVERR_URLNoURL of a FlareSolverr service for browser-solver integration.
MCP_HTTP_STATELESSNoSet to true to run the legacy HTTP mode sessionless.
SEARXNG_HTML_FALLBACKNoSet to true to retry 403/404/non-JSON search responses as HTML. Parsing is best-effort and metadata is limited.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
searxng_web_searchA

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. When engines and time_range are both provided, every selected engine must explicitly advertise time-range support via SearXNG /config; otherwise the request is rejected before search. To read the full text of a result URL, follow up with web_url_read.

searxng_search_suggestionsA

Returns autocomplete suggestions from the configured SearXNG instance. Use this to refine vague or partial queries before searching.

searxng_instance_infoA

Discovers capabilities from all reachable configured SearXNG instances via /config, including categories.common/available, engines.common/available, defaults, locales, and plugins.

web_url_readA

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.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Server ConfigurationCurrent server configuration and environment variables
Usage GuideHow to use the MCP SearXNG server effectively

TDQS

A4.3/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct role: web search, autocomplete suggestions, instance capability discovery, and URL content reading. The descriptions explicitly guide follow-up workflows, making misselection unlikely.

Naming Consistency4/5

Three tools share the predictable `searxng_` prefix and snake_case, but `web_url_read` breaks that prefix pattern. The naming is still readable and mostly consistent.

Tool Count5/5

Four tools is well-scoped for a SearXNG integration: search, suggestions, instance info, and content fetching. Each earns its place without redundancy.

Completeness4/5

The surface covers the main search workflow end-to-end, including query refinement and reading result content. Some advanced search modes may be handled via parameters rather than dedicated tools, leaving only minor gaps.

Maintenance

ActivityActive
ResponsivenessNo issues