Skip to main content
Glama
john-walks-slow

mcp-searxng-public-extended

mcp-searxng-public-extended

English | Chinese

Free web search for your AI using public SearXNG instances.

Acknowledgment: Inspired by pwilkin/mcp-searxng-public, extended with parallel multi-server requests, global throttling, configurable parameters, and bilingual schema support (zh/en).

Features

  • HTML Parsing: Most public SearXNG instances disable JSON API, this server parses HTML responses directly

  • Rich Parameters: categories, engines, safesearch, time range, language, pagination, return fields

  • Parallel Racing & Deduplication: Randomly select BATCH_SIZE servers, query in parallel, merge results from top MIN_SERVERS fastest

  • Auto Throttling: Per-server request queue with configurable minimum interval, preventing rate limiting from public instances

Related MCP server: mcp-searxng

Usage with MCP Clients

Add to your MCP client configuration:

{
  "mcpServers": {
    "searxng": {
      "args": [
        "-y",
        "@johnnren/mcp-searxng-public-extended"
      ],
      "command": "npx",
      "env": {
        "SEARXNG_BASE_URL": "https://opnxng.com;https://priv.au",
        "SEARXNG_DEFAULT_ENGINES": "google,duckduckgo,brave",
        "SEARXNG_DEFAULT_PAGES": "1",
        "SEARXNG_DEFAULT_SAFESARCH": "0",
        "SEARXNG_RESULT_FIELDS": "url,title,summary",
        "SEARXNG_VISIBLE_PARAMETERS": "query,categories,time_range,language,startPage"
      }
    }
  }
}

Hiding pages and engines with SEARXNG_VISIBLE_PARAMETERS improves stability (not all servers support all engines) and reduces response size (one page is usually enough).

Environment Variables

Variable

Description

Default

SEARXNG_BASE_URL

SearXNG server URLs (semicolon-separated) Required

-

SEARXNG_SCHEMA_LANG

Schema language: zh (Chinese) or en (English)

zh

SEARXNG_DEFAULT_LANGUAGE

Default language code

-

SEARXNG_BATCH_SIZE

Servers to query per search (number or all)

1

SEARXNG_MIN_SERVERS

Merge results from top N fastest servers

1

SEARXNG_DEFAULT_ENGINES

Default engines (comma-separated)

Server default

SEARXNG_DEFAULT_PAGES

Default pages to fetch

1

SEARXNG_DEFAULT_SAFESARCH

Safe search level (0=off, 1=moderate, 2=strict)

Server default

SEARXNG_MIN_INTERVAL

Min interval between requests to same server (ms)

450

SEARXNG_RESULT_FIELDS

Fields included in result: url, title, summary, engine, sourceServer

All fields

SEARXNG_VISIBLE_PARAMETERS

Parameters visible to LLM

all

Tool: search

Web search via SearXNG.

Parameters:

Parameter

Type

Required

Description

query

string

Yes

Search query

categories

string

No

Categories: general, images, news, videos, science, it, etc.

engines

string

No

Engines: google, bing, duckduckgo, github, stackoverflow, etc.

safesearch

number

No

Level: 0=off, 1=moderate, 2=strict

time_range

string

No

Filter: day, week, month, year

language

string

No

Language code (e.g., en, zh)

pages

number

No

Pages to fetch

startPage

number

No

Starting page number

Returns: Array of { url, title, summary, engine, sourceServer }

Publishing

npm version patch  # or minor/major
git push --follow-tags

License

MIT

Available Tools

1 tool

TDQS

B3.4/5.0
Disambiguation5/5

Only one tool exists, so there is no possibility of confusion or overlap. The tool's purpose is unambiguous.

Naming Consistency5/5

The single tool name 'search' is a clear, simple verb that matches the server's purpose. There are no naming conventions to conflict.

Tool Count3/5

A single tool is at the thin end of the range. While it covers basic web search, the server's 'extended' label suggests more tools might be expected, making the count feel slightly insufficient.

Completeness3/5

The search tool provides a basic search capability, but lacks specialized search categories or additional retrieval options that a 'public extended' SearXNG server might offer. The core workflow is covered, but no advanced features are exposed.

Maintenance

ActivityInactive
ResponsivenessSyncing

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

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to perform privacy-respecting web searches through SearXNG, with support for multiple search engines, categories, and advanced filtering options.
    25
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform web searches and read URL content via a SearXNG instance.
    2
    18
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Provides free web search, content fetching, image search, and deep research via SearXNG, no API keys required.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/john-walks-slow/mcp-searxng-public'

If you have feedback or need assistance with the MCP directory API, please join our Discord server