SearxNcrawl logo

SearxNcrawl

Organization
DasDigitaleMomentum

MCP Server and CLI Tools for searxing and fetching websites

PublisherDasDigitaleMomentum
RepositorysearxNcrawl
LanguagePython
Forks
18
Stars
166
Available tools
0
Transport typestdio, streamable-http
Categories
LicenseMIT
Links
  • Connect tools to AI workflows

    SearxNcrawl exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    166 stars and 18 forks from the linked repository.

searxNcrawl

MCP server and CLI toolkit for web search and crawling, built on Crawl4AI and SearXNG.

Published at github.com/DasDigitaleMomentum/searxNcrawl — maintained by DDM – Das Digitale Momentum GmbH & Co KG. Successor to searxng-mcp.

Quick Start

Pick your setup:

Docker Compose

MCP server with Playwright/Chromium, ready in one command. SearXNG required separately for search.

bash
cp .env.example .env          # set SEARXNG_URL to your SearXNG instance
docker compose up --build

➜ MCP server at http://localhost:9555/mcp

pip (standalone)

CLI tools, Python API, and MCP server. SearXNG required for search.

bash
python -m venv .venv && source .venv/bin/activate
pip install -e .
playwright install chromium

uv (standalone)

Same capabilities as pip.

bash
uv sync
uv run playwright install chromium

What you get

FeatureDocker Composepip / uv
MCP Server (STDIO)—✅
MCP Server (HTTP)✅✅
Web Crawl✅✅
Web Search✅¹✅¹
CLI Toolsvia exec²✅
Python API—✅
CORS (HTTP)✅✅

¹ Requires a SearXNG instance. ² docker compose exec searxncrawl crawl ...

Features

Crawling

  • Single page, multi-page, and site crawling (DFS with depth/page limits)
  • Production-tested extraction config optimized for documentation sites
  • Configurable timeouts with graceful error handling

Content Quality

  • Markdown deduplication — exact (default) removes repeated blocks, off disables it
  • Link removal — strip all links for cleaner LLM context (--remove-links)
  • Dedup guardrails — non-destructive metadata signals when removal is unusually aggressive

Web Search

  • SearXNG metasearch integration (privacy-respecting)
  • Configurable language, time range, categories, engines, safe search

MCP Server

  • STDIO transport — for MCP harnesses (Zed, opencode, VS Code, Claude Code, etc.)
  • HTTP transport — for remote access and browser clients
  • CORS support — configurable origins for browser-based MCP clients
  • Noise-free startup with UTF-8 encoding (cross-platform, incl. Windows)

CLI Tools

  • crawl — crawl pages from the command line
  • search — search the web via SearXNG
  • crawl-capture — session capture for authenticated crawling

Installation

Docker Compose

The Compose stack includes searxNcrawl + Playwright/Chromium. SearXNG must be provided separately.

bash
cp .env.example .env
# Edit .env: set SEARXNG_URL to your SearXNG instance
docker compose up --build
VariableDefaultDescription
MCP_PORT9555MCP server HTTP port
LOG_LEVELINFOMCP server log level (DEBUG, INFO, WARNING, ERROR, CRITICAL)
FASTMCP_HTTP_ALLOWED_HOSTS(FastMCP secure defaults)JSON list of trusted HTTP Host headers, for example ["mcp.example.com"]

The MCP server is available at http://localhost:9555/mcp.

pip

bash
cd searxNcrawl
python -m venv .venv
source .venv/bin/activate
pip install -e .
playwright install chromium

uv

bash
cd searxNcrawl
uv sync
uv run playwright install chromium

SearXNG (search feature)

The search tool and CLI command require a SearXNG instance with JSON output enabled (search.formats in settings.yml). For all setups you need your own instance — self-hosting is recommended over public instances (rate limits).

Environment variables:

VariableExample / RecommendedDescription
SEARXNG_URLhttp://localhost:8888SearXNG instance URL
SEARXNG_USERNAME(none)Optional basic auth user
SEARXNG_PASSWORD(none)Optional basic auth pass
SEARCH_RESULT_FIELDStitle,url,content,publishedDateComma-separated result fields. Unset = all SearXNG fields. Available: title, url, content, publishedDate, engine, score, category, img_src, thumbnail

Example .env:

bash
SEARXNG_URL=http://localhost:8888
SEARCH_RESULT_FIELDS=title,url,content,publishedDate
LOG_LEVEL=INFO

Config file search order (CLI tools only):

  1. ./.env — current directory
  2. ~/.config/searxncrawl/.env — user config

If no .env exists, .env.example is auto-copied to the user config path.

Usage

MCP Server

Start the server

bash
# STDIO transport (for MCP harnesses)
python -m crawler.mcp_server

# HTTP transport
python -m crawler.mcp_server --transport http --port 8000

# HTTP exposed through a specific public hostname
python -m crawler.mcp_server --transport http --host 0.0.0.0 --allowed-hosts "mcp.example.com"

# HTTP with CORS
python -m crawler.mcp_server --transport http --allowed-hosts "mcp.example.com" --cors-origins "https://app.example.com"

# Docker (HTTP only)
docker compose up --build

MCP client configuration

Python with venv:

json
{
  "mcpServers": {
    "crawler": {
      "command": "python",
      "args": ["-m", "crawler.mcp_server"],
      "cwd": "/path/to/searxNcrawl",
      "env": { "SEARXNG_URL": "http://your-searxng:8888" }
    }
  }
}

With uv (no manual venv):

json
{
  "mcpServers": {
    "crawler": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/searxNcrawl", "python", "-m", "crawler.mcp_server"],
      "env": { "SEARXNG_URL": "http://your-searxng:8888" }
    }
  }
}

Docker (HTTP endpoint):

json
{
  "mcpServers": {
    "crawler": {
      "url": "http://localhost:9555/mcp"
    }
  }
}

CORS

FastMCP validates the HTTP Host header independently of the address on which the server listens. For remote access, allow the exact externally visible Host header with a comma-separated CLI value:

bash
crawl-mcp --transport http --host 0.0.0.0 --allowed-hosts "mcp.example.com,mcp.internal.example"

Alternatively, use FastMCP's environment setting. It uses JSON-list syntax:

bash
FASTMCP_HTTP_ALLOWED_HOSTS='["mcp.example.com"]' crawl-mcp --transport http --host 0.0.0.0

Browser Origin validation and CORS response headers are separate from Host validation. --cors-origins configures both FastMCP's Origin guard and the CORS middleware using the same normalized, comma-separated values:

bash
crawl-mcp --transport http --cors-origins "http://localhost:3000,https://myapp.com"
crawl-mcp --transport http --cors-origins "*"   # all origins — local dev only

Omitting either allowlist preserves FastMCP's secure defaults (and permits the upstream environment setting to apply). A value of * for Hosts or Origins is an explicit opt-in to broad access and should only be used when that security trade-off is intentional. Without --cors-origins, no CORS headers are sent.

CLI Tools

After pip install -e . (or uv sync), the following commands are available:

bash
# Crawl a page
crawl https://docs.example.com

# Site crawl with depth limit
crawl https://docs.example.com --site --max-depth 2 --max-pages 10 -o docs/

# Clean output (no links)
crawl https://example.com --remove-links

# Search
search "python tutorials"
search "Rezepte" --language de --max-results 5

# Session capture for authenticated crawling
crawl-capture --start-url https://example.com/login \
    --completion-url 'https://example.com/dashboard.*' \
    --output ./state.json

See Session Capture for the full crawl-capture guide.

Python API

python
from crawler import crawl_page, crawl_page_async, crawl_site, crawl_site_async

# Single page
doc = await crawl_page_async("https://docs.example.com/intro", dedup_mode="exact")
print(doc.markdown)

# Site crawl
result = crawl_site("https://docs.example.com", max_depth=2, max_pages=10)
for doc in result.documents:
    print(f"{doc.status}: {doc.final_url}")

# Authenticated crawl
doc = await crawl_page_async(
    "https://example.com/private",
    auth={"storage_state": "/path/to/state.json"},
)

Reference

  • MCP Tools — full parameter reference for crawl, crawl_site, search
  • Output Formats — Markdown and JSON output structure, including CrawledDocument
  • Session Capture — manual login flow and CDP session export

Configuration

Default config is optimized for documentation sites. Customize via overrides:

python
from crawler import build_markdown_run_config, RunConfigOverrides

config = build_markdown_run_config(
    RunConfigOverrides(
        delay_before_return_html=1.0,
        mean_delay=1.0,
        scan_full_page=True,
    )
)
doc = await crawl_page_async("https://example.com", config=config)

Dependencies

  • crawl4ai>=0.7.4 — crawler engine
  • playwright>=1.40.0 — browser automation
  • fastmcp>=3.4.3 — MCP server framework
  • httpx>=0.27.0 — HTTP client for SearXNG
  • tldextract>=5.1.2 — domain parsing for site crawls

License

MIT — © 2026 DDM – Das Digitale Momentum GmbH & Co KG

Installation

TypingMind
{
  "mcpServers": {
    "searxncrawl": {
      "command": "python",
      "args": [
        "-m",
        "crawler.mcp_server"
      ]
    }
  }
}

Use SearxNcrawl MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once SearxNcrawl is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. You can run MCP locally on your device or connect to a remote MCP server URL.

Option 1: Use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add SearxNcrawl as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the SearxNcrawl MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "searxncrawl": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the SearxNcrawl MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the SearxNcrawl MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use SearxNcrawl to help me with this task?
SearxNcrawl
Sure. I read it.
Here is what I found using SearxNcrawl.

Option 2: Add an MCP server URL

Use this when SearxNcrawl is already hosted remotely or your team wants one shared connector that multiple users can access.

1

Open MCP connectors

In TypingMind, go to Plugins, open MCP connectors, then choose Add URL.

  1. Open TypingMind in your browser.
  2. Go to Plugins.
  3. Open MCP connectors.
  4. Click Add URL.
TypingMind Add Custom MCP Server URL form
2

Paste the server URL

Enter the MCP server URL from the provider in the Server URL field. Add a connection name, description, icon, custom HTTP headers, or OAuth client settings if the server requires them.

  1. Paste the MCP server URL from the provider into the Server URL field.
  2. Enter a connection name for SearxNcrawl.
  3. Add a description and icon if you want it to be easier to identify.
  4. Add custom HTTP headers or OAuth client details if the server requires authentication.
3

Create the connection

Click Create connection, then return to the Plugins list and confirm the new MCP connection is active.

  1. Click Create connection.
  2. Return to the MCP connectors list.
  3. Confirm the SearxNcrawl connection appears as active.
  4. Refresh the plugin list if the connection does not appear immediately.
4

Switch models without reconnecting

Start a chat with your preferred model, enable the SearxNcrawl tools from Plugins, and switch to another model whenever needed. The MCP connection stays available to the TypingMind workspace.

  1. Start a new chat in TypingMind.
  2. Select the AI model you want to use.
  3. Enable the SearxNcrawl tools from Plugins.
  4. Ask the model to use the tool when needed.
  5. Switch to another AI model and reuse the same MCP connection.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use SearxNcrawl to help me with this task?
SearxNcrawl
Sure. I read it.
Here is what I found using SearxNcrawl.

Frequently asked questions

What is the SearxNcrawl MCP server used for?

SearxNcrawl is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use SearxNcrawl MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use SearxNcrawl with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use SearxNcrawl MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With SearxNcrawl connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect SearxNcrawl MCP to TypingMind?

SearxNcrawl can be connected in TypingMind with the local MCP connector or by adding a remote MCP server URL. Use the local connector when the server needs access to files, apps, or private resources on your device, and use a server URL when the MCP server is hosted remotely.

What tools does SearxNcrawl MCP provide in TypingMind?

SearxNcrawl exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use SearxNcrawl MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If SearxNcrawl requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇