searxng-mcp

v1.2.0
@aplix39/searxng-mcp Checked 4 days ago Published 1 month ago

MCP server for SearXNG: privacy-friendly web, news, image and video search for AI agents, with page content extraction and filtering

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

searxng_search_news SearXNG news search

Search news articles through the user's SearXNG instance (category: news). Use time_range ("day" | "month" | "year") to get recent articles.

ParameterTypeDescription
q *stringSearch query. Supports search-engine syntax.
enginesarrayRestrict to specific engines by name or shortcut, case-insensitive, e.g. ["duckduckgo", "brave"] or ["ddg"]. Shortcuts are resolved against the instance; unknown names are rejected (all unknown) or re…
exclude_domainsarrayDrop results hosted on these domains, e.g. ["pinterest.com"]. Matches host and subdomains.
include_domainsarrayOnly keep results hosted on these domains, e.g. ["wikipedia.org", "github.com"]. Matches host and subdomains.
languagestringLanguage code for results, e.g. "en", "fr", "de". Default: instance setting.
limitintegerMax number of results to return in the output (default 10, max 50).
pagenointegerPage number of results to fetch (default 1). Use to paginate.
safesearchintegerSafeSearch level: 0=off, 1=moderate, 2=strict. Default: instance setting.
time_rangestringRestrict results to the last day, week, month or year (engines that support it).

searxng_search_images SearXNG image search

Search images through the user's SearXNG instance (category: images). Results include the full image URL and a thumbnail URL when available.

ParameterTypeDescription
q *stringSearch query. Supports search-engine syntax.
enginesarrayRestrict to specific engines by name or shortcut, case-insensitive, e.g. ["duckduckgo", "brave"] or ["ddg"]. Shortcuts are resolved against the instance; unknown names are rejected (all unknown) or re…
exclude_domainsarrayDrop results hosted on these domains, e.g. ["pinterest.com"]. Matches host and subdomains.
include_domainsarrayOnly keep results hosted on these domains, e.g. ["wikipedia.org", "github.com"]. Matches host and subdomains.
languagestringLanguage code for results, e.g. "en", "fr", "de". Default: instance setting.
limitintegerMax number of results to return in the output (default 10, max 50).
pagenointegerPage number of results to fetch (default 1). Use to paginate.
safesearchintegerSafeSearch level: 0=off, 1=moderate, 2=strict. Default: instance setting.
time_rangestringRestrict results to the last day, week, month or year (engines that support it).

searxng_search_videos SearXNG video search

Search videos through the user's SearXNG instance (category: videos). Results include the video page URL and a thumbnail URL when available.

ParameterTypeDescription
q *stringSearch query. Supports search-engine syntax.
enginesarrayRestrict to specific engines by name or shortcut, case-insensitive, e.g. ["duckduckgo", "brave"] or ["ddg"]. Shortcuts are resolved against the instance; unknown names are rejected (all unknown) or re…
exclude_domainsarrayDrop results hosted on these domains, e.g. ["pinterest.com"]. Matches host and subdomains.
include_domainsarrayOnly keep results hosted on these domains, e.g. ["wikipedia.org", "github.com"]. Matches host and subdomains.
languagestringLanguage code for results, e.g. "en", "fr", "de". Default: instance setting.
limitintegerMax number of results to return in the output (default 10, max 50).
pagenointegerPage number of results to fetch (default 1). Use to paginate.
safesearchintegerSafeSearch level: 0=off, 1=moderate, 2=strict. Default: instance setting.
time_rangestringRestrict results to the last day, week, month or year (engines that support it).

searxng_autocomplete SearXNG autocomplete

Get search query suggestions from the user's SearXNG instance. Useful to refine or expand a query before searching.

ParameterTypeDescription
q *stringPartial search query to get suggestions for.
languagestringLanguage code for suggestions, e.g. "fr", "en". Default: instance setting.

searxng_config SearXNG instance configuration

Describe the user's SearXNG instance: available categories and enabled engines grouped by category. Call this first when you need to know what can be searched on this instance.

ParameterTypeDescription
include_enginesbooleanList enabled engines grouped by category (default: true). Set false for a compact view with counts only (big instances list hundreds of engines).

searxng_extract_content Extract page content

Fetch a web page (typically a URL found with the search tools) and extract clean, readable text. Structural filtering removes site chrome by default: headers, footers, navigation menus, sidebars, cookie banners, ads and comment sections. The agent can re-include any of these sections, keep links/images, limit the output length, or target a CSS selector. Reports which sections were removed.

ParameterTypeDescription
url *stringAbsolute http(s) URL of the page to fetch and extract.
content_onlybooleanExtract only the main content area (article/main) when detectable (default: true). Set false to render the whole cleaned body.
headings_onlybooleanReturn only the heading outline (h1–h6, indented by depth) instead of the full text. Use to map a long page before extracting its sections.
include_commentsbooleanKeep comment sections (default: false, removed).
include_footerbooleanKeep site footer blocks (default: false, removed).
include_headerbooleanKeep site header/banner blocks (default: false, removed).
include_imagesbooleanRender images as markdown ![alt](src) (default: false).
include_linksbooleanRender links as markdown [text](url) instead of plain text (default: false).
include_navigationbooleanKeep navigation menus, topbars and breadcrumbs (default: false, removed).
include_sidebarbooleanKeep sidebars and widget columns (default: false, removed).
max_lengthintegerTruncate the extracted content to this many characters (default 20000).
selectorstringAdvanced: extract only elements matching this CSS selector, e.g. "article" or ".post-content". Overrides content_only.
start_charintegerStart the output window at this character offset of the extracted content (default 0). Combine with max_length to page through long pages.