Wet MCP README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Wet MCP listing page.

WET - Web Extended Toolkit MCP Server

Open-source MCP server for AI agents: web search, content extraction, and library docs.

Distribution & CLI: the repo, CLI and Python module are wet. The PyPI distribution is n24q02m-wet (install pip install n24q02m-wet / uvx --python 3.14 n24q02m-wet). Run wet mcp for stdio (default for local MCP clients), or wet mcp --http / wet server start for Streamable HTTP (http://127.0.0.1:8000/mcp); a bare wet prints control-plane usage. The n24q02m-wet and wet-mcp aliases remain available.

mcp-name: io.github.n24q02m/wet

PhaseStatusScope
Phase 1Shippedhull_web ScrapingAgent migration, smart chunks output, search polish, media slim
Phase 2ShippedContext7-level docs search: library index (Tier 1 + Tier 2), version-aware queries with token cap, project lock (Cabinets)
Phase 3Shippedextract.agent multi-step research with cited synthesis, extract.interact click/fill/submit via patchright (optional session persistence), docs_004_chunk_summaries migration, media.analyze removed (v2.0.0)

Current release: v3.x. media(action="analyze") was removed in the v2.0.0 BREAKING release. Use imagine-mcp's understand action for vision/audio/video analysis. See docs/migration.md for the upgrade recipe.

CI codecov PyPI License: Apache-2.0

Python SearXNG MCP semantic-release Renovate

Sister projects from n24q02m (click to expand)
ProjectTaglineTag
better-semantic-releaseDrop-in python-semantic-release fork with built-in release-safety guards (orp...Tooling
claude-pluginsClaude Code plugin marketplace for the n24q02m MCP servers -- install web sea...Marketplace
crgKnowledge graph for token-efficient code reviews -- semantic search and call-...MCP
emailIMAP/SMTP email for AI agents -- read, send, organize folders, and manage att...MCP
fastretrievalFast multi-model retrieval runtime: ONNX and GGUF embeddings, reranking, and ...Tooling
hullhull is the shared monorepo core for the wet, crg and mnemo self-hosted stackMCP
mnemoPersistent AI memory with hybrid search. Open, free, unlimited.MCP
notionMarkdown-first Notion for AI agents -- pages, databases, blocks, and comments...MCP
skretSecrets without the server.CLI
tacetA self-distilling neuro-symbolic cascade that amortises LLM cost across knowl...Tooling
telegramTelegram for AI agents -- messages, chats, media, and contacts across both bo...MCP
tools-docsDocs portal for the n24q02m open-source tool stack (skret, MCP plugins, hull,...Tooling
wetOpen-source MCP server for AI agents: web search, content extraction, and lib...MCP
workspaceGoogle Workspace MCP server (Docs/Drive/Calendar/Gmail/Sheets/Slides/Tasks/Ch...MCP

Table of contents

WET MCP server

Features

  • Web Search -- Multi-backend metasearch with query expansion, a rule-based intent classifier (lookup / howto / comparison / news / academic, no LLM) with an opt-in multi-step plan (strategy="plan"), Vietnamese query handling (diacritics variants, vi language, Vietnamese site boost), a two-tier cache (in-memory LRU over SQLite) with a TTL per intent (5 min news or time-filtered, 1 h lookup, 6 h how-to / comparison, 7 days academic / docs), standardized citation format, and 200-token snippet cap. Backends run as a fallback chain via SEARCH_BACKENDS; the zero-config default is tavily,duckduckgo (Tavily when keyed, DuckDuckGo always) and the rest are Tavily, Brave, Exa, Kagi, OpenRouter, Firecrawl, Startpage
  • Academic Research -- search(action="research") runs the SEARCH_BACKENDS chain with the science category (only a searxng backend applies it), reranks the hits, and tags each result by source domain (arXiv, Google Scholar, Semantic Scholar, PubMed, DOI)
  • Library Docs -- Auto-discover and index documentation with FTS5 hybrid search, HyDE-enhanced retrieval, and version-specific docs
  • Content Extract -- 5-strategy escalation chain via the hull_web ScrapingAgent from n24q02m-hull (basic_http -> tls_spoof -> render backends from BROWSER_BACKENDS (native / browserless / invisible) -> optional key-gated captcha), markitdown bridge for low-tier HTML/MD fallback, smart chunks structured output (clean text + markdown + JSON-LD + code blocks + metadata), batch processing (up to 50 URLs), deep crawling, site mapping
  • Local File Conversion -- Convert PDF, DOCX, XLSX, CSV, HTML, EPUB, PPTX to Markdown
  • Media -- List + download images / videos / audio files. analyze was removed in v2.0.0 -- use imagine-mcp.understand for vision/audio inference
  • Anti-bot -- Stealth strategies bypass Cloudflare, Medium, LinkedIn, Twitter
  • Zero Config -- Built-in local reference embedding + reranking through fastretrieval, no API keys needed. Optional cloud models configured per task via the [models.embed|rerank|chat|jev_score] cells in ~/.wet/config.toml (OpenRouter default; one OPENROUTER_API_KEY serves every cell)

Quick install

bash
# Method 1 (default): plugin install via Claude Code
/plugin marketplace add n24q02m/claude-plugins
/plugin install wet@n24q02m-plugins

# Method 2 (CLI, stdio default): register wet over stdio
claude mcp add wet -- uvx --python 3.14 --from n24q02m-wet wet mcp

# Method 2b (local HTTP instance): start server then register URL
uvx --python 3.14 --from n24q02m-wet wet server start
claude mcp add --transport http wet http://127.0.0.1:8000/mcp

# Method 3 (always-on): compose stack from a clone of this repo (token auth)
docker compose up --build -d

# Method 4 (remote): point a client at an HTTP deployment
claude mcp add --transport http wet https://<your-host>/mcp

Install matrix (stdio via wet mcp or Streamable HTTP via wet server start; see the Setup page for full steps):

ClientInstall
Claude Code (plugin)/plugin marketplace add n24q02m/claude-plugins then /plugin install wet@n24q02m-plugins (set WET_URL, default http://127.0.0.1:8000/mcp; optional WET_TOKEN); start the instance first
Claude Code (CLI)claude mcp add --transport http wet http://127.0.0.1:8000/mcp
Codexregister the HTTP URL under mcp_servers in ~/.codex/config.toml
Gemini CLIadd the mcpServers JSON below to ~/.gemini/settings.json
Cursor / Windsurfadd the mcpServers JSON below via the client's MCP settings (mcp.json)
Any client (HTTP self-host)point the client at https://<your-host>/mcp (Streamable HTTP, Bearer token when auth = "token" / "multi")

Public OCI image publication is discontinued. Existing historical registry tags remain untouched; new container deployments build from source or use the Cloudflare-managed registry.

The HTTP endpoint speaks Streamable HTTP. With auth = "token" or "multi" the client sends Authorization: Bearer <token>; no-auth is loopback-only. Stand one up via Method 2 or 3.

Full setup matrices live at the canonical docs site docs.n24q02m.com/plugins/servers/wet/setup/ and the paste-to-agent snippets at claude-plugins/plugins/wet/setup-with-agent.md (per Spec F single source of truth).

Self-host usage

Two supported ways to run the always-listening HTTP server. In both, the MCP endpoint is http://127.0.0.1:8000/mcp (Streamable HTTP) and the config root is ~/.wet/ (config.toml, docs.db, subs/). Use wet mcp for client-spawned stdio, or register the /mcp endpoint of wet server start / Docker for shared HTTP.

Dev (uv, no-auth loopback)

bash
git clone https://github.com/n24q02m/wet && cd wet
uv run wet config init            # writes ~/.wet/config.toml (default: auth = "no-auth")
uv run wet server start           # serves http://127.0.0.1:8000/mcp (--foreground to stay attached)

no-auth refuses non-loopback binds — the server is localhost-only until you switch to token auth.

Always-on (docker)

bash
# 1. Mint a token and its scrypt hash (hull-core canonical; the hash command
#    never echoes the token itself)
TOKEN=$(openssl rand -hex 32)        # the token — give it to clients, keep it secret
printf '%s' "$TOKEN" | uv run wet token hash   # paste the output as token_hash

# 2. Instance config from the example
cp docker-config/config.example.toml docker-config/config.toml
#    edit [server] token_hash and the [models.*] cells (see below)

# 3. Data continuity (optional): carry an existing instance over by copying
#    docs.db and subs/ into the wet-home named volume BEFORE first start:
docker volume create wet-wet-home && \
  docker cp ~/.wet/docs.db wet-wet-home:/docs.db && \
  docker cp ~/.wet/subs wet-wet-home:/subs  # adjust: files land as root, chown 999:999

docker compose up -d --build

Compose publishes 127.0.0.1:${WET_PORT:-8000} → container 8000 (loopback only) and mounts docker-config/config.toml read-only at /home/appuser/.wet/config.toml. Persistent data (docs.db, subs/) lives in the wet-home named volume; the download/cache dir in wet-data. Editing the config takes effect on docker compose restart.

Consumers

bash
# CLI (talks to the running server over HTTP; exits 2 with a hint when none runs):
uvx --python 3.14 --from n24q02m-wet wet search "<query>"

# MCP client (Claude Code):
claude mcp add --transport http wet http://127.0.0.1:8000/mcp \
  --header "Authorization: Bearer <token>"

# Raw probe:
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:8000/mcp \
  -X POST -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'            # 401
curl -s -o /dev/null -w '%{http_code}\n' http://127.0.0.1:8000/mcp \
  -X POST -H 'Authorization: Bearer <token>' -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"curl","version":"0"}}}'  # 200

Config: local vs cloud models

The [models.embed|rerank|chat|jev_score] cells in ~/.wet/config.toml are per-task (each its own base_url + api_key + model, OpenAI-spec). The example ships OpenRouter examples; any OpenAI-compatible endpoint works — cloud, or a local server such as Ollama (base_url = "http://host.docker.internal:11434/v1" from the container). Keys in the file are host-only material; alternatively leave api_key = "" and inject at start via HULL_EMBED_API_KEY / HULL_RERANK_API_KEY / HULL_CHAT_API_KEY / HULL_JEV_SCORE_API_KEY.

Configuration

wet runs zero-config out of the box: web search falls back to credential-free DuckDuckGo (Tavily when a key is present), and embedding/reranking fall back to the bundled local ONNX models through fastretrieval when no cloud keys are set. For higher-quality results, configure the per-task provider cells in ~/.wet/config.toml. Operational settings are plain environment variables (no app prefix) -- in HTTP self-host mode configure them via environment variables or ~/.wet/config.toml.

Provider cells -- [models.embed|rerank|chat|jev_score] each take their own base_url + api_key + model (OpenAI-spec). OpenRouter is the pre-wired default for every cell; any OpenAI-compatible endpoint works. Cell keys may be left empty in the file and injected at start via HULL_EMBED_API_KEY / HULL_RERANK_API_KEY / HULL_CHAT_API_KEY / HULL_JEV_SCORE_API_KEY. When a cell keeps the OpenRouter default base_url, OPENROUTER_API_KEY in the environment serves it as a last-resort credential — one OpenRouter key can power every task. Empty embed/rerank cells fall back to the local ONNX models; an unkeyed chat cell disables LLM features (e.g. extract(action="agent")).

FASTRETRIEVAL_CACHE_PATH controls the local model cache.

Search backends -- SEARCH_BACKENDS is an ordered runtime fallback chain: tavily / brave / exa / kagi / openrouter (keyed), firecrawl / keenable (optional key), and opt-in HTML SERP scrapers duckduckgo / startpage (disabled by default; set WET_ALLOW_SERP_SCRAPE=true to opt in). The default chain is tavily,keenable,firecrawl, ordered by WET_ROUTER_POLICY (free | balanced | quality) and guarded by per-provider circuit breakers. searxng runs only when it is named in SEARCH_BACKENDS: against a third-party instance at SEARXNG_URL, or, with the opt-in WET_AUTO_SEARXNG=true, a local SearXNG that wet installs (server startup or wet warmup) and starts when a search needs it (DISABLE_LOCAL_SEARCH blocks the local one). Keyed providers use TAVILY_API_KEY, BRAVE_API_KEY, EXA_API_KEY, KAGI_API_KEY, or OPENROUTER_API_KEY (comma-separate for rotation). The openrouter backend runs the query through a chat completion with the openrouter:web_search server tool and maps the returned url_citation annotations onto the shared result shape. OPENROUTER_MODEL has no default and is required: the backend refuses to run until it is set. OPENROUTER_BASE_URL and OPENROUTER_SEARCH_ENGINE override the endpoint and search engine. Firecrawl attempts a keyless request when FIRECRAWL_API_KEY is absent, and Keenable uses its keyless public endpoint when KEENABLE_API_KEY is absent; rejection or a DuckDuckGo/Startpage bot challenge advances the chain.

Result reranking uses the configured rerank cell ([models.rerank] — cloud via OpenRouter by default, or local ONNX when unkeyed); the same chain serves web search, research, similar-page search, agent search, and docs discovery/indexing fallbacks. Providers use their own search capabilities; category filters that only SearXNG exposed are no longer applied by default.

Browser render backends -- BROWSER_BACKENDS (CSV, escalation chain) picks the headless render leg of extract: native (in-process chromium, the zero-config default), browserless (only against a third-party managed instance -- set BROWSERLESS_URL + BROWSERLESS_TOKEN; the project's own self-hosted render service was retired), and invisible (see below). Empty chain falls back to native. Set CAPSOLVER_API_KEY to append an optional, key-gated CAPTCHA tier as the last escalation step.

Robots policy -- set RESPECT_ROBOTS_TXT=true to enforce robots.txt across both the extract strategy chain and the Crawl4AI-backed crawl, sitemap, and list_media actions. The default is false to preserve existing deployment behaviour; configure this process-level policy explicitly when the operator requires robots enforcement.

Extract retry and circuit breaker -- plain HTTP extract fetches retry GET/HEAD on connection errors, timeouts and HTTP 429/502/503/504 with exponential backoff, jitter and Retry-After support: EXTRACT_RETRY_ATTEMPTS (default 3, including the first try, max 10), EXTRACT_RETRY_BASE_DELAY (0.5 s), EXTRACT_RETRY_MAX_DELAY (10 s; a longer Retry-After ends retrying) and EXTRACT_RETRY_BUDGET (30 s total per fetch). A per-host circuit breaker makes a failing host fail fast: after EXTRACT_BREAKER_THRESHOLD (default 3; 0 disables) consecutive transient failures its URLs return an error naming the host and a retry_after, for EXTRACT_BREAKER_COOLDOWN seconds (default 60), then one probe decides whether it recovers (with a cooldown of 0, every request after the threshold is a probe, one at a time). Cloudflare's origin-down statuses (HTTP 520-524) are not retried but count as transient failures for the breaker. A URL that still fails on a transient error after its retries returns "transient": true with its error. Neither that answer nor an open-circuit one is cached, while a definitive failure such as HTTP 404 is.

Invisible tier + seeded identity (opt-in) -- append invisible to BROWSER_BACKENDS to add a stealth-Firefox engine tier as the last escalation step (n24q02m-hull[invisible] extra: pip install "n24q02m-wet[invisible]"). One coherent browser identity spans the whole chain: seed it with WET_IDENTITY_SEED (or let wet derive once and persist it under ~/.wet/subs/<sub>/identity.json) and install the wet[identity] extra. Without the extras the chain keeps legacy behaviour (warn-once). STEALTHFOX_BINARY points at a patched Firefox build to skip the engine download; IDENTITY_PROFILE_DIR (default ~/.wet/subs/<sub>/profiles) keeps persistent browser profiles per namespace. With auth = "multi" each user browses as their own person: only the single default namespace uses a pinned WET_IDENTITY_SEED as is, every other namespace derives its own stable seed from the pin, and a pinned IDENTITY_PROFILE_DIR gets one subdirectory per namespace. The Crawl4AI browser behind crawl, map and media list also runs per user, with its profile under ~/.wet/subs/<sub>/browser-<pid>; at most four of these browsers run at once, and a new user closes the least recently used idle one. While all four are busy a new user waits up to half of TOOL_TIMEOUT (60 s when it is 0), then gets an error asking to try again.

Disable local fallbacks -- opt out of the heavy in-process local fallbacks per capability (e.g. on a slim container that renders/searches/embeds via cloud backends only): DISABLE_LOCAL_BROWSER, DISABLE_LOCAL_SEARCH, DISABLE_LOCAL_EMBED, DISABLE_LOCAL_RERANK.

Docs source import -- the docs_import_source tool and wet docs import-source index a git repository, a local directory or an OpenAPI/Swagger spec. The import writes: it replaces the chunks stored for library/version in one transaction, so it is its own tool (annotated destructive) rather than a search action. Local paths must sit inside DOCS_IMPORT_ALLOWED_DIRS (comma-separated absolute paths; default: the working directory and the temp dir). A multi-user server (auth = "multi") refuses every import, local or remote, because the docs store is shared by all users; the server operator can still run wet docs import-source on the host. Remote git and spec hosts must resolve to public addresses unless DOCS_IMPORT_ALLOW_PRIVATE=true. Private repositories authenticate through your own git credential helper or ssh agent; wet never stores or logs credentials and refuses URLs that embed them.

Signed tool manifest (opt-in) -- wet manifest show prints the canonical JSON of the tool surface (names, descriptions, schemas, annotations). Sign those bytes with any Sigstore client and point the server at the bundle:

Terminal
pip install "n24q02m-wet[sigstore]"
wet manifest show --output tool-manifest.json
sigstore sign --bundle ~/.wet/tool-manifest.sigstore.json tool-manifest.json

TOOL_MANIFEST_VERIFY selects the startup check: off (default), warn (log a failure and start anyway; an unexpected error in the check itself is reported as status error) or strict (refuse to start on a missing or invalid bundle, a signature that does not cover the current tool surface, an unexpected signer, or any error in the check). TOOL_MANIFEST_IDENTITY and TOOL_MANIFEST_ISSUER name the expected signer (certificate identity and OIDC issuer; both are required), TOOL_MANIFEST_BUNDLE overrides the bundle path (default tool-manifest.sigstore.json in the data dir, ~/.wet/ unless CACHE_DIR is set). Verification is free and keyless; only the trust root refresh needs the network. Offline, warn reports unverified (offline) and strict refuses to start unless TOOL_MANIFEST_TRUSTED_ROOT points at a cached Sigstore trusted_root.json. Any change to a tool description or schema, including a dependency upgrade that renders schemas differently, needs a fresh signature; wet manifest verify checks a bundle without starting the server.

Auth -- [server] auth in ~/.wet/config.toml is no-auth (loopback only), token (store only token_hash, see wet token hash) or multi (per-user tokens). Server-host settings such as OPENROUTER_API_KEY belong to the process that runs wet server start (or the compose environment), not to the MCP client config.

Example client config (add headers with the Bearer token for token / multi):

config.json
{
  "mcpServers": {
    "wet": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

To use a different endpoint or model per task, edit the [models.*] cells in ~/.wet/config.toml, or inject HULL_EMBED_API_KEY / HULL_RERANK_API_KEY / HULL_CHAT_API_KEY / HULL_JEV_SCORE_API_KEY at start instead of storing keys in the file.

Status

Stable architecture supporting both stdio (wet mcp, default for local clients) and Streamable HTTP (wet mcp --http or wet server start). The media.analyze action was removed in the v2.0.0 BREAKING release -- see docs/migration.md for the upgrade recipe. Current release line: v3.x.

Documentation

Full docs at docs.n24q02m.com/plugins/servers/wet/setup/:

  • Setup -- install methods for Claude Code, Codex, Gemini CLI, Cursor, Windsurf, mcp.json
  • Modes overview -- transports and HTTP auth modes
  • Multi-user setup -- multi mode: per-user tokens from users.toml, one namespace per user

In-repo references (Spec F single source of truth: setup docs live in claude-plugins/plugins/wet/):

  • docs/ARCHITECTURE.md -- hull_web ScrapingAgent integration, strategy chain, storage layout, LLM provider dispatch
  • docs/BENCHMARKS.md -- v1.x baseline coverage / latency placeholders + tier-1 fixture metrics

Install with AI agent -- paste this to your AI coding agent:

Install MCP server wet following the steps at https://raw.githubusercontent.com/n24q02m/claude-plugins/main/plugins/wet/setup-with-agent.md

Tools

6 MCP tools (4 domain + config + help). The legacy setup tool merged into config action dispatch.

ToolDescription
searchWeb (multi-backend metasearch), news, images, academic research (search chain with the science category), library docs (HyDE + FTS5), find similar pages. Includes docs_resolve, docs_query (version-aware with npm / PEP 440 / Cargo / Go range resolution + topic + 5000-token cap), docs_lock_project (manifests + all 12 ecosystem lockfiles), docs_status and docs_audit.
extractURL -> smart chunks dict (clean_text + markdown + structured_data + code_blocks + metadata) via /llms.txt fast-path + hull_web 5-strategy chain. Supports batch, crawl, map, convert, deterministic-first extract_structured, agent (sync or async job_op, with steer to redirect a running job), interact, semantic diff, and monitor watches/alerts.
medialist (discover URLs from gallery pages), download (SSRF-safe). analyze was removed in v2.0.0 -- use imagine-mcp.understand instead
docs_import_sourceWrite tool (annotated destructive): index a git repo, a local directory or an OpenAPI/Swagger spec into the docs store, replacing the chunks of library/version in one transaction. Disabled on a multi-user server.
configstatus, set, cache_clear, docs_reindex, warmup. On a multi-user server set, docs_reindex and warmup are refused and status leaves out the search counts: runtime settings and host maintenance belong to the operator (wet docs reindex, wet warmup on the host).
helpPer-tool documentation: search, extract, media, config, docs_import_source

Media boundary: For vision / audio understanding (image captioning, OCR, audio transcription, video summarization), use imagine-mcp. media.analyze was removed in wet v2.0.0 -- use imagine-mcp.understand instead.

CLI

The package installs three console scripts: n24q02m-wet (primary package command), wet (short alias), and wet-mcp (legacy alias). wet is the control plane for the HTTP server plus one thin client; a bare invocation prints its usage.

bash
uvx --python 3.14 --from n24q02m-wet wet warmup   # try a subcommand without a persistent install

wet server start                # start the Streamable HTTP server (detached; --foreground to attach)
wet server status               # pid, lock and HTTP liveness
wet server stop

wet config init                 # write ~/.wet/config.toml; `config get|set` reads/edits one key
printf '%s' "$TOKEN" | wet token hash   # print the storable scrypt hash (token from stdin, or a hidden prompt; argv is refused)
wet users path                  # print the users.toml path

wet docs list                   # indexed library names (the input for `docs reindex`)
wet docs status                 # local docs database counts and recently indexed libraries
wet docs audit [path]           # audit detected project manifests + lockfiles against docs.db
wet docs reindex <library>      # drop the cached docs index for <library>; the next docs search re-indexes it
wet docs import-source <source> # index a git repo (URL or clone, #ref), a local directory or an OpenAPI/Swagger spec

wet doctor [--json]             # 12-point diagnostics check for runtime, SQLite, search providers, and browser fallback
wet search "<query>"            # call the running server (or --local in-process); also accepts `docs-status` / `docs-audit`
wet extract <url>               # extract/crawl/map/research/monitor URLs in-process
wet extract --action agent --job-op steer --job-id <id> --add-focus pricing --exclude-source example.com
                                # steer a running research job (also --remove-focus, --add-constraint, --remaining-depth)
wet manifest show [--output f]  # print the canonical MCP tool manifest (the bytes to sign)
wet manifest verify             # verify it against a Sigstore bundle; flags override TOOL_MANIFEST_*
wet warmup                      # first-run setup (browser deps; SearXNG with WET_AUTO_SEARXNG), then check cloud model cells or pre-download local models

Every subcommand prints its result and exits; there is no interactive auth or credential flow in the CLI. Google Drive sync lives in better-drive, not in wet.

CapabilitywetBrave SearchTavilyFirecrawlContext7
Web searchYes (multi-backend chain)YesYesNoNo
Extract URLYes (5-strategy chain)NoYes (basic)YesNo
Media list / downloadYesNoNoNoNo
Library docs searchYes (Tier 1 curated + Tier 2 on-demand, version-aware, Cabinets)NoNoNoYes
Academic researchYes (search chain, science category)NoNoNoNo
Self-hostableYesNoNoNoYes
Free tierYes (open source)LimitedLimitedLimitedYes

Security

  • SSRF prevention -- URL validation on crawl targets
  • Graceful fallbacks -- Cloud → Local embedding, multi-tier crawling
  • Error sanitization -- No credentials in error messages
  • File conversion sandboxing -- Defaults to the working directory and temp dir; override with CONVERT_ALLOWED_DIRS
  • Docs source import -- docs_import_source is disabled on a multi-user server, reads local paths only inside DOCS_IMPORT_ALLOWED_DIRS, refuses credentials in URLs, private hosts and option-like refs, pins an https git clone to the addresses it checked (git 2.37 or newer; ssh and proxied clones resolve the host again and are not pinned), has the server leave out files over the 2 MiB cap, stops a clone past 256 MiB or 120 s or once the import is cancelled, and caps file count and size
  • Signed tool manifest -- TOOL_MANIFEST_VERIFY=strict refuses to start unless the advertised tool surface matches a Sigstore-signed manifest

Build from Source

bash
git clone https://github.com/n24q02m/wet.git
cd wet
uv sync
uv run wet

Trust Model

wet keeps its state on the host that runs wet server start. config.toml and docs.db are plain files under ~/.wet/; protect them with file permissions. Provider keys seeded into hull's credential pool are sealed with AES-256-GCM under a host key file; see hull's provider key pools for the store.

ModeStorageEncryptionWho can read your data?
HTTP, no-auth (loopback)~/.wet/None for config.toml / docs.db; pooled keys AES-256-GCM in ~/.hull/hull.dbYour OS user and anything that reaches the loopback port
HTTP, token / multi~/.wet/ (cache, identity and profiles under subs/<sub>/)SameHolders of a token; multi gives each user its own subs/<sub>/, while docs.db stays shared

License

Apache-2.0 -- See LICENSE.