About CRW Web Scraper
CRW Web Scraper is an MCP server published by us in the Scraping category: open-source web scraper for AI agents with scrape, crawl, and map tools. Conduid read 14 tools from its source: click, console, evaluate, fill, goto, html and 8 more. No package is published for it, so it installs from a source checkout.
The repository has 1.3K stars and 108 forks, and its last commit was on 2 Dec 2026. The latest release is v0.49.2 (26 Nov 2026): Bug Fixes renderer: give an octet-stream PDF attachment the body budget (e17b908). It follows v0.49.1 (24 Nov 2026), and the 5 most recent releases go back to v0.47.1 (21 Nov 2026). It passes all 1 static checks Conduid ran on the repository. Its topics include scraping.
Install
git clone https://github.com/us/crwTools (14)
clickClick an element. Pass either `selector` (CSS) or `ref` (`@e<N>` from `tree`); exactly one is required. The click is dispatched as a synthetic `click` event so framework handlers (React, Vue) fire identically to a real user click. No coordinate translation is performed, so scrolled or covered elements still receive the click.consoleDrain the session's console-message ring buffer. The buffer is captured from `Runtime.consoleAPICalled` events and holds up to 200 entries (oldest dropped on overflow). Optional `level` filters by severity (`error`, `warning`, `log`, ...). Set `clear: true` to wipe the buffer after the snapshot.evaluateRun a JavaScript expression on the current page and return its value. `Runtime.evaluate` is invoked with `returnByValue=true` and `awaitPromise=true`, so async expressions resolve before returning. If the expression throws, returns `INVALID_EXPRESSION` with the message. Requires a prior `goto` call.fillSet an input element's value and dispatch `input` + `change` events so framework listeners fire. Pass either `selector` (CSS) or `ref` (`@e<N>` from `tree`); exactly one is required. The response includes the element's post-write `value` so the LLM can verify the assignment took effect (some controlled inputs intercept writes).gotoNavigate the browser to the given URL and wait for the page to load. Only `http` and `https` schemes are accepted; any other scheme (file://, data:, javascript:, blob:, etc.) returns `INVALID_ARGS`. Creates a default session on first call. Response includes `session` (4-char token), `url`, `data.status` (HTTP status, 0 if the network event was missed — see `warnings`), and `elapsed_ms`. `timeout_ms` is capped at 120000; values above are clamped and a `warnings` entry reports the clamp.htmlRead raw HTML from the page. Without `selector`, returns the full `<html>...</html>` (`document.documentElement.outerHTML`). With `selector`, returns just the matched element's `outerHTML`; missing element → `ELEMENT_NOT_FOUND`. Output capped at 200KB; oversized HTML is truncated and `truncated: true` is set.networkDrain the session's network ring buffer. Captured from `Network.requestWillBeSent` and `Network.responseReceived` events; up to 500 entries kept (oldest dropped on overflow). `filter`: `all` (default), `failed` (status >= 400), `requests`, or `responses`. Set `clear: true` to wipe after the snapshot.screenshotCapture the current page as PNG/JPEG. Requires the server to be started with `--chrome-ws-url`; otherwise returns `NOT_IMPLEMENTED` (Lightpanda's `Page.captureScreenshot` returns fake bytes). The Chrome fallback opens a separate browser at the same URL — cookies/auth/scroll are NOT transferred from the Lightpanda session. Pass `path` to write to disk, or omit it to receive the image inline as base64.scriptExecute a sequence of tool calls in one request. Each action is a JSON object whose `act` names the tool (`goto`, `tree`, `evaluate`, `text`, `html`, `storage`, `click`, `fill`, `type_text`, `wait`); remaining fields are the tool's input. Steps run sequentially; the first error aborts the script and remaining steps are reported as `skipped`. Capped at 50 actions per call.storageRead or write browser storage. `action` ∈ {`get`,`set`,`clear`}, `kind` ∈ {`cookie`,`local`,`session`}. `set` requires `key` and `value`; `get` returns all entries for the chosen kind on the current origin. Cookies are handled via `Network.getCookies`/`setCookie`; local and session storage ride over `Runtime.evaluate`.textRead visible text from the page. Without `selector`, returns `document.body.innerText` (collapsed whitespace, hidden elements removed). With `selector`, returns just the matched element's `innerText`; missing element → `ELEMENT_NOT_FOUND`. Output capped at 50KB; oversized text is truncated with `…` and `truncated: true` in the response.treeSnapshot the current page as an indented accessibility tree. Each line is `@e<N> role: name`, with 2-space indentation to show parent/child structure. `@e<N>` ref tokens are stable within one snapshot and accepted by interaction tools (`click`, `fill`, ...) until the next `tree` call replaces them. Reduce `max_nodes` for large pages to save tokens; values above 5000 are clamped. Requires a prior `goto` call.type_textType characters into the currently focused element by dispatching `Input.dispatchKeyEvent` per character. Use `click` first to focus the target element. `delay_ms` inserts a per-character pause (default 0, max 1000); text length is capped at 4096 bytes.waitBlock until a condition is met or the timeout fires. Pass `selector` (CSS) to wait for an element; `condition: visible` (default for selectors) requires the element to be in the rendered tree, `condition: present` accepts any DOM match. Without a selector, `condition` may be `load` (`Page.loadEventFired`) or `networkidle` (500ms of network silence). Default timeout is 5000ms; capped at 120000ms.Security checks
- ✓README presentThe repository's README runs to about 3.1K words.
5 checks have not been run yet.
Releases
README
The repository's README runs to about 3.1K words. The original in the repository is authoritative.
Read full README