Skip to main content
Glama
flammafex
by flammafex

mcp-searxng

A fork of mcp-searxng: an MCP server for querying a SearXNG instance from an MCP client.

This fork keeps the package name mcp-searxng, adds structured search-oriented tools, and disables arbitrary direct URL reads by default.

Repository: https://git.carpocratian.org/sibyl/mcp-searxng.git

What This Fork Does

  • Exposes SearXNG-backed search tools over MCP

  • Returns normalized structured search results by default

  • Supports dedicated news, image, video, and research evidence tools

  • Keeps web_url_read available only behind ENABLE_WEB_URL_READ=true

  • Supports both STDIO and HTTP transport

Related MCP server: SearXNG MCP Server

Security Posture

The direct web_url_read tool is disabled by default in this fork.

That means:

  • searxng_research still performs controlled internal reads of selected search results

  • internal fetch-and-convert logic still exists for top search results

  • arbitrary user-supplied URL reads are not exposed unless you opt in

To enable direct URL reads in a trusted deployment:

ENABLE_WEB_URL_READ=true

If you expose the HTTP transport on a network, also use the hardened HTTP settings described in CONFIGURATION.md.

Build

git clone https://git.carpocratian.org/sibyl/mcp-searxng.git
cd mcp-searxng
npm install
npm run build

Quick Start

Example MCP client configuration using the local build:

{
  "mcpServers": {
    "searxng": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-searxng/dist/index.js"],
      "env": {
        "SEARXNG_URL": "https://search.example.com"
      }
    }
  }
}

Tools

General SearXNG search with structured normalized output by default.

Key inputs:

  • query

  • pageno

  • categories

  • engines

  • time_range

  • language

  • response_mode

searxng_news_headlines

News-focused wrapper around SearXNG with news category and same-day recency defaults.

Image-focused wrapper around SearXNG.

Video-focused wrapper around SearXNG.

searxng_research

Searches first, reads selected result pages, chunks the Markdown, and returns ranked source evidence.

Key inputs:

  • query

  • max_results

  • max_chunks

  • max_chunks_per_source

  • max_content_length

  • chunk_target_chars

  • chunk_overlap_chars

web_url_read

Disabled by default.

Enable it only for trusted deployments:

ENABLE_WEB_URL_READ=true

Transport

By default the server uses STDIO.

To enable HTTP transport:

MCP_HTTP_PORT=3000

HTTP mode exposes:

  • POST /mcp

  • GET /mcp

  • DELETE /mcp

  • GET /health

Configuration

The most important variables are:

  • SEARXNG_URL

  • ENABLE_WEB_URL_READ

  • MCP_HTTP_PORT

  • MCP_HTTP_HARDEN

  • MCP_HTTP_AUTH_TOKEN

  • MCP_HTTP_ALLOWED_ORIGINS

  • MCP_SERVER_NAME

Full reference: CONFIGURATION.md

Development

npm test
npm run build

Notes

  • This fork currently keeps the original package name.

  • The MCP package identifier in package.json still reflects the upstream namespace.

A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides privacy-focused web search capabilities through SearXNG metasearch engine, enabling web, image, video, and news searches without tracking. Includes comprehensive research tools that aggregate and analyze results from multiple search engines.
    Last updated
    3
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables web search, image search, and news search through a self-hosted SearXNG instance. Provides privacy-focused meta-search capabilities aggregating results from multiple search engines.
    Last updated
    3
    1
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables web search capabilities via a SearXNG instance, allowing for filtered searches across categories like news, images, and science. It supports multi-language queries, time-range filtering, and safe search options to provide formatted results with metadata.
    Last updated
    1
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to perform web searches and read URL content via a SearXNG instance.
    Last updated
    2
    11
    MIT

View all related MCP servers

Related MCP Connectors

  • Web search, news, page retrieval, sitemaps, and trending topics through Search1API.

  • Read any web page as clean Markdown for AI agents: fetch, search, metadata, links. SSRF-safe.

  • LLM-ready web search + instant answers + URL-to-clean-text fetch for agents and RAG.

View all MCP Connectors

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/flammafex/mcp-searxng'

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