Skip to main content
Glama

acrawl > get the name, price and rating of every book on books.toscrape.com, all 50 pages

acrawl reads the goal, opens the site, works out the pagination and hands back JSON. Along the way the agent can watch the network, read the console, profile performance and audit accessibility, so it can debug a page as well as scrape it. It also runs as an MCP server, so Claude Code, Cursor, VS Code and 14 other clients can drive the same browser.

Install

Linux / macOS (x64, ARM64)

curl -fsSL https://raw.githubusercontent.com/Mingye-Lu/AgenticCrawler/main/install.sh | bash

Windows (x64, PowerShell)

irm https://raw.githubusercontent.com/Mingye-Lu/AgenticCrawler/main/install.ps1 | iex

The script downloads the latest release, verifies its SHA256 checksum and sets up CloakBrowser, the stealth browser acrawl uses for JavaScript-heavy pages. Browser features need Node.js 20+. To build from source, see the install guide.

Related MCP server: MCP Browser Bridge

Quick start

acrawl auth anthropic          # or openai, google, other (Ollama, LM Studio, ...), 25 providers in all
acrawl                         # interactive terminal UI
acrawl prompt "list the titles of the top 10 stories on news.ycombinator.com"   # one goal, then exit

Then go further:

acrawl mcp install                     # add acrawl to Claude Code, Cursor, VS Code and other MCP clients
acrawl run books_catalog -o books.json # replay a saved script with no LLM calls

The quick start walks through a first crawl, getting JSON out, and writing goals that work.

What you can do with it

Extract data from any site. Describe the fields you want; acrawl fetches static pages over HTTP and switches to a real browser only when a page needs JavaScript.

acrawl > get all repository names and star counts from github.com/trending

Debug a page like a developer would. Network requests, console logs, WebSocket frames, performance timings, cookies, storage, code coverage and axe-core accessibility audits are all agent tools.

acrawl > open localhost:3000/checkout, submit the form, and tell me which requests failed and why

Fill forms and work through flows. Click, type, select, hover, press keys and emulate phones. With the acrawl Bridge extension, it works inside your own logged-in Chrome, Edge or Brave.

Run it again for free. Save a crawl as a deterministic JSON script with loops, conditions and parallel branches, then replay it from cron or CI with acrawl run, with no model calls.

Split big jobs. The agent forks sub-agents onto separate tabs, and a URL-claiming registry stops two of them from crawling the same page.

Why acrawl

  • One binary. No Python environment, no Docker, no hosted service. Node.js is needed only for the bundled browser.

  • Acts and observes. Most browser agents navigate and click. acrawl's agent also sees the network, the console and performance, as first-class tools.

  • AI where you need it, scripts where you don't. Let the agent explore once; replay the result deterministically.

  • Your choice of model. 25 providers, including Anthropic, OpenAI, Gemini, DeepSeek, Bedrock, Azure, Vertex AI, GitHub Copilot, Groq, Mistral and OpenRouter, plus any OpenAI-compatible endpoint such as Ollama.

  • MCP both ways. Use other MCP servers as extra agent tools, or expose acrawl's 40 tools to your coding agent with acrawl mcp.

  • Open source. MIT-licensed, runs on your machine, with your own LLM key and no telemetry.

Bring your own model

Use it from your coding agent

acrawl mcp install sets acrawl up as an MCP server in any of these clients.

How it compares

acrawl

browser-use

Playwright MCP

Firecrawl

What it is

Browser agent, CLI and MCP server

Python agent library and hosted agent

MCP server for browser control

Hosted scrape and crawl API

Own reasoning loop

Yes, local

Yes, local or hosted

No, your client decides each step

Yes, hosted

Install

Single Rust binary

Python package

Node package

Hosted, or self-host

DevTools tools for the agent

Network, console, WebSocket, performance, cookies, storage, coverage, axe-core

Not a focus

Console, network

Not a focus

Replays with no LLM calls

Yes, JSON scripts

No

No

No

License

MIT

MIT

Apache 2.0

AGPL-3.0 engine

Reviewed October 2026. The full comparison has a page for each tool.

Documentation

Everything else lives on the website, mingye-lu.github.io/AgenticCrawler.

Driving acrawl from a coding agent? npx skills add Mingye-Lu/AgenticCrawler installs the acrawl-mcp skill, which teaches the agent when to use direct tools, scripts or run_goal.

Development

acrawl is a Rust workspace of 11 crates.

cargo build --release
cargo test --workspace
cargo clippy --workspace --all-targets -- -D warnings
cargo fmt --check

See CONTRIBUTING.md to get started, CHANGELOG.md for release notes and SECURITY.md to report a vulnerability.

License

MIT

Available Tools

40 tools
audit_accessibilityA

Run axe-core WCAG accessibility audit on the current page. Returns violations grouped by impact level with selectors and descriptions. Use scope to limit to a specific DOM subtree.

Inputs: scope, impact, standard.

cancel_scriptA

Abort a running script immediately, closing its browser tab and discarding any partial results not yet yielded. The script transitions to 'cancelled' status. Use when a script is stuck, taking too long, or its results are no longer needed.

Inputs: script_id (required).

clickA

Click on a page element identified by CSS selector, @eN reference, or visible label text. May trigger navigation, form submission, or dynamic content changes. Returns post-action page_state. Use 'selector' for CSS/ref-based targeting; use 'text' (with optional 'role' and 'region') to activate a button, tab, checkbox, or link by its visible label — useful for SPA admin UIs and modals where CSS paths are fragile.

Inputs: role, text, widen, region, +1 more.

click_atA

Click at specific viewport coordinates (x, y) using a real mouse event. Use exclusively for elements without stable CSS selectors: canvas drawings, interactive maps, SVG regions, or coordinate-based UIs. Returns post-action page_state. Prefer the selector-based 'click' tool for normal DOM elements — it is more reliable and does not require coordinate calculation.

Inputs: x (required), y (required), widen.

execute_jsA

Execute arbitrary JavaScript in the page context and return the evaluation result. The script runs in the browser's main frame with full access to the DOM, window, and page APIs. Use as a last resort when CSS selectors and other tools cannot achieve the interaction — prefer click, fill_form, and select_option for standard interactions. Optionally accepts hover_selector to hover over an element before executing the script, enabling inspection of CSS :hover styles and hover-triggered DOM changes. When the script triggers reactive DOM changes (e.g., .click() on a toggle), the return value may reflect pre-mutation state because frameworks schedule updates asynchronously. Set settle_ms (e.g., 50) to wait for reactivity to flush before capturing the result.

Inputs: script (required), settle_ms, hover_selector.

fill_formA

Fill one or more form fields with values and optionally submit the form. Accepts field identifiers as CSS selectors, field names/IDs, or @eN references from page_map. Also resolves fields by visible label text page-wide — works in modals and div-based UIs without a boundary. Returns post-action page_state with the resulting URL and structural diff. Use form_selector to disambiguate when the page contains multiple forms.

Inputs: fields (required), widen, submit, form_selector.

get_page_infoA

Get the current page URL, title, and readyState without any DOM traversal or page refetch. Returns lightweight metadata ideal for confirming navigation or redirect outcomes between steps. Use this instead of navigate() or page_map() when you only need to verify the current page identity. Set all_tabs=true to also list every tab you can use (index, url, title) and see which one you are working on; it never switches tabs.

Inputs: all_tabs.

get_page_performanceA

Get page performance metrics using Navigation Timing and Resource Timing APIs. Returns TTFB, DOM timings, and a breakdown of the top 20 resources by transfer size. Works on both browsers and SPAs.

Inputs: no named parameters.

go_backA

Navigate the browser back to the previous page in history (equivalent to the browser back button). Returns the URL navigated to and a page_state object with headings, landmarks, and links of the resulting page. Use after clicking into a page to return to a listing or search results without re-navigating by URL.

Inputs: no named parameters.

hoverA

Hover the mouse over a page element to trigger hover-dependent UI such as tooltips, dropdown menus, or expandable content. Returns post-action page_state showing any newly revealed elements. Use this before click when content only appears on mouseover; use click instead if the element needs activation rather than hover.

Inputs: selector (required), widen.

inspect_cookiesA

Inspect cookies on the current page with security analysis. Returns all cookies with domain, path, expiry, secure/httponly flags, and detected security issues (missing_secure, missing_httponly, sameSite_none_without_secure, excessive_lifetime, overly_broad_domain). Includes third-party detection and filtering options.

Inputs: domain, issues_only.

inspect_logA

Inspect a deduplicated console log group from list_page_logs and return concrete instances with timestamps, stack traces, and source locations.

Inputs: id (required), limit.

inspect_requestA

Inspect a previously listed network request by its @rN id from list_network_activity. Returns the captured request metadata, coarse timing summary, initiator type, and notes about unavailable headers/bodies.

Inputs: id (required), include_body.

inspect_storageA

Inspect browser storage (localStorage and sessionStorage) on the current page. Returns all key-value pairs with size information. Supports filtering by storage type and key pattern.

Inputs: target, pattern.

inspect_websocketA

Inspect actual WebSocket messages for a connection. Provide @wsN ID from list_websocket_activity. Supports direction filter, pattern search, and sort_by (newest/oldest).

Inputs: id (required), limit, pattern, sort_by, +1 more.

intercept_networkA

Manage network interception rules. Block or mock requests matching URL glob patterns. Rules are additive — each call adds a rule. Use refresh() after adding rules to replay the page load with rules active.

Inputs: action (required), mock, pattern, rule_id.

list_network_activityA

List observed network requests buffered during this browser session. Supports temporal filtering by seq window, request-state filters, URL substring filtering, adjective-based sorting such as slowest/fastest or newest/oldest, and an inline content_type field on each row. Returns stable @rN refs for follow-up inspection with inspect_request.

Inputs: limit, since, until, filter, +6 more.

list_page_logsA

List buffered console logs for the current page with optional level filtering and seq-based temporal filtering. Group by exact message text (default, deduplicated with @logN IDs), source, or level.

Inputs: level, since, until, group_by.

list_resourcesA

List all discoverable resources on the current page: links (with href and text), images (with src and alt), and forms (with action and method). Returns the complete set without caps — use this when page_map's 50-link limit is insufficient or when you need image URLs. No parameters required.

Inputs: no named parameters.

list_scriptsA

List all previously saved scripts with their metadata (name, creation date, last modified, size). Returns a JSON array. Use to discover available scripts before running them with run_script by name, or to audit what scripts exist on disk.

Inputs: no named parameters.

list_websocket_activityA

Overview of WebSocket connections and message counts. Returns connections with @wsN IDs. Use inspect_websocket to see actual message content.

Inputs: since, until.

measure_coverageA

Measure JavaScript and CSS code coverage on the current page. Returns per-file byte usage showing how much code was actually executed/applied versus total loaded. Useful for identifying unused bundles, oversized dependencies, and performance optimization opportunities.

Inputs: type, reset.

page_mapB

Get the page's YAML accessibility tree (primary structural view). Each node: - role "name" [state...] [ref=eN]:. Scope by [ref=eN] or semantic token. depth controls tree depth.

Inputs: depth, scope.

press_keyA

Dispatch a keyboard key press event on the page or a targeted element. Supports named keys (Enter, Escape, Tab, ArrowDown, Backspace) and character keys. Returns post-action page_state reflecting any DOM changes caused by the keypress. Use for form submission (Enter), closing modals (Escape), focus navigation (Tab), or keyboard shortcuts.

Inputs: key (required), widen, selector.

read_contentA

Extract plain text content from a specific page section identified by heading name or CSS selector. Supports pagination via offset and max_chars for large sections. Returns content, total character count, and whether more content is available. Use after page_map to read specific sections without re-fetching the entire page; use navigate instead when you need the full page content.

Inputs: offset, heading, selector, max_chars.

read_scriptA

Read the full JSON definition of a previously saved script. Returns the complete script object including version, steps, and limits. Use to inspect a saved script's logic before running it, or to understand what an existing script does before modifying and re-saving it.

Inputs: name (required).

refreshA

Reload the current page. Returns page_state after reload. Use after setting intercept rules to replay the page with rules active. Seq increments for temporal observation queries.

Inputs: no named parameters.

run_goalA

Execute a high-level crawl goal autonomously. The agent plans, navigates, and extracts data using its own LLM loop. Returns structured results when done. Use this for complex multi-page tasks; use individual tools (navigate, click, etc.) for fine-grained control.

Inputs: goal (required), model, max_steps, allowed_tools.

run_scriptA

Execute a deterministic multi-step script without per-step LLM round-trips, running on a cloned browser tab. Scripts support loops (for/while/forEach), conditionals (if/else), error handling (try/catch), parallel branches, and variable capture. Returns a script_id immediately — use wait_for_scripts to collect results. Provide either an inline script definition or a name to load a previously saved script. Use when you detect a repetitive pattern (same operation on 3+ pages/items).

Inputs: name, limits, script, save_as.

save_fileA

Download a resource from a URL and save it to the local output directory. Handles any file type (images, PDFs, CSVs, etc.) via HTTP GET. Returns the absolute path of the saved file. Use to persist crawl artifacts; path traversal is blocked for security.

Inputs: url (required), subdir, headers, filename, +1 more.

save_scriptA

Persist a script definition to disk at ~/.acrawl/scripts/.json for reuse across sessions. Once saved, run it later with run_script using name instead of providing the full inline definition. Use for complex extraction patterns you want to apply repeatedly.

Inputs: name (required), script (required).

screenshotA

Capture a screenshot of the current page viewport, a specific element, or the full scrollable page. Returns base64-encoded image data by default, or saves to disk when save=true. Use as a LAST RESORT only after text-based tools (page_map, read_content, execute_js) have failed to provide the needed information — screenshots are expensive and cannot be searched or parsed programmatically.

Inputs: save, format, quality, filename, +3 more.

script_statusA

Check the current execution status of a running or completed script without blocking. Returns the script's state (running, completed, failed, cancelled), current step count, extracted data so far, and any error message. Use to monitor long-running scripts between other actions; use wait_for_scripts to block until completion.

Inputs: script_id (required).

scrollA

Scroll the current page up or down by a specified pixel amount to reveal content beyond the visible viewport. Returns updated page_state after scrolling, reflecting any newly loaded lazy content. Use to reveal below-the-fold content, trigger infinite scroll loading, or navigate long pages section by section.

Inputs: pixels, direction.

select_optionA

Select an option from a native or custom ARIA/portal dropdown. Identify the target control via CSS selector or @eN ref, then specify which option to select by its value attribute, visible label text, or zero-based index. Omit value, label, and index to open the dropdown, enumerate the currently available options, and return them without selecting. Returns post-action page_state showing any page changes triggered by the selection (e.g. dependent dropdowns updating).

Inputs: selector (required), index, label, value, +1 more.

set_deviceA

Switch browser device emulation between mobile and desktop modes. Recreates the browser context with new user agent and touch settings. Mobile presets emulate an exact viewport; desktop-class presets resize the real browser window (headed mode), so the page keeps following manual window resizes. 'desktop' imposes no size. Cookies and localStorage are preserved. Use preset device names for convenience or provide custom parameters. Returns page_state showing the page as rendered in the new device mode. Cannot be used while sub-agents are running.

Inputs: device, hasTouch, isMobile, viewport, +2 more.

switch_tabA

Switch the browser focus to a different open tab by its zero-based index. Returns the tab count (plus page_indices, the valid indices, when they are not contiguous) and a page_state object reflecting the switched-to tab's content (headings, landmarks, links). Use to access pages opened by link targets, popups, or forked sub-agents without re-navigating.

Inputs: index.

waitA

Wait for a DOM element to reach a specified state (visible, hidden, attached, detached) or pause for a fixed duration. Use after actions that trigger asynchronous page changes such as form submissions, AJAX requests, or animations. Returns post-action page_state showing the resulting URL, title, and structural diff once the condition is met or the timeout expires, unless silent: true is set for a time-only wait, in which case only the completion signal is returned.

Inputs: state, silent, seconds, selector.

wait_for_scriptsA

Block until one or more scripts finish execution and return their collected results. Returns a JSON array of ScriptResult objects with extracted_data, yielded checkpoints, step count, and status. If script_ids is omitted, waits for ALL active scripts. Use after run_script to collect final results.

Inputs: script_ids.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 40 tools

    Disambiguation4/5

    Most tools have clearly distinct purposes: navigation, interaction, inspection, scripting, network, storage, and auditing are separated by action and resource. A few pairs need care (wait vs wait_for_scripts, execute_js vs run_script/run_goal, page_map vs read_content/list_resources), but descriptions clarify their boundaries.

    Naming Consistency4/5

    Names are consistently snake_case and mostly follow a verb_noun or verb pattern. Deviations are mostly natural single-word browser actions (navigate, click, scroll, hover, refresh, wait) or noun-oriented views (page_map, script_status), so the convention remains readable overall.

    Tool Count2/5

    With 40 tools, the surface is heavy for an agent to navigate and exceeds the reasonable 3–15 range despite the broad browser-automation domain. Many specialized inspection, auditing, and script-management tools could be consolidated or exposed through fewer parameterized tools.

    Completeness4/5

    Coverage is broad: navigation, interaction, forms, waits, scripts, network/WebSocket logs and interception, cookies/storage inspection, performance, accessibility, coverage, screenshots, device emulation, and autonomous goals are all represented. Minor gaps remain around cookie/storage mutation, explicit tab creation/closing, and file upload or dialog handling.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      B
      maintenance
      single-binary MCP server that gives AI agents a browser. 66 tools for navigation, form filling, data extraction, screenshots, and DOM diffing — built on pure Chrome DevTools Protocol.
      14
      MIT
    • F
      license
      Not graded
      quality
      C
      maintenance
      An MCP server that lets AI assistants drive real Chromium browsers — navigate, click, type, read pages, run OCR, and record network traffic. 43 tools, credentials stay local, zero telemetry.
      -
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables AI agents to automate the web through an anti-detection browser backend, with 47 tools for navigation, interaction, observation, search, extraction, downloads, and session reuse. Supports multi-tab workflows, persistent profiles, cookie import, and HTTP or stdio transports for MCP-compatible clients.
      468 npm
      MIT

    Appeared in Searches