# SourceWeave Web Search [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/MRNAQA/sourceweave-web-search  
**GitHub Stars:** 2  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/sourceweave-web-search

## Description
MCP server and CLI for web search and page reading with SearXNG, Crawl4AI, and Redis.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `uvx` (confidence: high):

```json
"mcpServers": {
  "sourceweave-web-search": {
    "command": "uvx",
    "args": ["--from","sourceweave-web-search","sourceweave-search-mcp"]
  }
}
```

## Documentation

## What SourceWeave Web Search MCP server does

SourceWeave Web Search MCP server provides a compact web-research workflow for MCP clients. It discovers sources with SearXNG, extracts readable content through Crawl4AI, stores fetched pages and stable `page_id` handles in Redis or Valkey, and uses MarkItDown for document conversion, including supported PDFs and other files.

The three MCP tools are:

- `search_web(query, domains?, urls?, effort?)` finds sources and returns compact results with page handles.
- `read_pages(page_ids, focus?)` reads pages previously returned by a search.
- `read_urls(urls, focus?)` fetches specified URLs without a search step.

This design suits agents that need to find sources, retain references to retrieved pages, and then extract only the relevant parts of those pages.

## How it works

The default `sourceweave-search-mcp` entrypoint can discover an existing SourceWeave-managed stack, reuse a healthy external stack on the canonical local ports, or start and supervise a Docker-backed stack. Managed runtime state is stored under `~/.sourceweave-local/managed-runtime`; named volumes preserve cache data across restarts. Multiple MCP processes on the same machine can share the managed stack for a state directory.

When endpoint variables are supplied, the entrypoint skips managed Docker startup and connects to the configured SearXNG, Crawl4AI, and Redis or Valkey services instead. The server can run over stdio or streamable HTTP. The direct `sourceweave-search` CLI uses the same search-first flow but does not start Docker.

## Setup and configuration

Python 3.12 or newer is required. The default local setup also requires Docker with Compose support. A typical managed launch is:

```bash
uvx --from sourceweave-web-search sourceweave-search-mcp
```

For HTTP transport, pass `--transport streamable-http` along with the desired host and port. To use existing or hosted services, configure `SOURCEWEAVE_SEARCH_SEARXNG_BASE_URL`, `SOURCEWEAVE_SEARCH_CRAWL4AI_BASE_URL`, and `SOURCEWEAVE_SEARCH_CACHE_REDIS_URL`. The SearXNG URL must include the `<query>` placeholder. `FASTMCP_HOST` and `FASTMCP_PORT` configure host and port for HTTP or SSE transport.

Container deployments use explicit endpoint wiring and are available from `ghcr.io/mrnaqa/sourceweave-web-search-mcp`. The repository also includes a generated OpenWebUI tool file for a standalone tool-file deployment.

## Tools and capabilities

SourceWeave Web Search MCP server supports domain-filtered searches, optional URL inputs, adjustable search effort, focused reading, and direct URL retrieval. Search results expose stable page IDs so an agent can defer reading until it identifies relevant sources. The CLI provides equivalent operations with options such as `--query`, `--domain`, `--read-first-page`, `--read-first-pages`, and `--read-url`.

MCP clients can connect through local stdio commands or a shared HTTP endpoint. The README provides configuration examples for OpenCode, VS Code Copilot, and Claude Code.

## Limitations and notes

The managed runtime is intended for host-side `uvx` or `uv run` launches. Containerized deployments do not use automatic managed startup and must receive explicit service endpoints. The direct CLI also expects its supporting services to be reachable and does not launch Docker.

Search and reading depend on the availability and behavior of the configured SearXNG, Crawl4AI, and Redis or Valkey services.

_Full upstream README: https://allmcps.com/mcp/sourceweave-web-search/readme_

