# octocrawl [Health: Active]

**Category:** 🔎 Search & Data Extraction  
**Repository:** https://github.com/77777R7/Octocrawl  
**GitHub Stars:** 8  
**npm Downloads (last month):** 3040  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/octocrawl

## Description
Web scraper for agents: blocked, empty and wrong pages reported as such, with an Evidence Record.

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

```json
"mcpServers": {
  "octocrawl": {
    "command": "npx",
    "args": ["-y","octocrawl"]
  }
}
```

## Documentation

## What octocrawl does

octocrawl turns web pages and supported files into content that AI agents can use. A scrape can return Markdown, HTML, links, image URLs, page metadata, and an optional browser screenshot. Site mapping discovers URLs from sitemaps and links, while crawling follows links from a starting point with path, depth, and page-count controls.

The server also supports batches of URLs, structured extraction, dynamic-page handling, and PDF text extraction. Structured results can be returned as JSON or CSV, or shaped with a JSON Schema for supported values such as product names, prices, and page labels. PDF output includes page markers that can support citations. CSV, JSON, and plain-text URLs can also return their text.

A notable part of the result model is its treatment of unsuccessful reads. Pages can be marked as blocked, wrong, truncated, or missing expected facts instead of being treated as successful solely because an HTTP request returned a success status. Each page includes an Evidence Record with its URL, fetch time, status, and extraction evidence; values that were not observed remain null.

## How it works

Hosted MCP is available at `https://mcp.octocrawl.dev/mcp`. Keyless requests use HTTP and begin with a daily limit. An account key enables the browser lane and higher hosted usage; the key is supplied as an Authorization header. Hosted access provides scrape and map, while account access adds crawl and batch jobs.

For local use, `npx octocrawl serve` starts an API on `127.0.0.1:8787`, and `@octocrawl/mcp` provides a published stdio MCP server that connects to that API. Local execution adds larger jobs, page actions, Monitors, and the Amazon.sg product tool. Docker Compose is also available for self-hosting.

Pages are attempted over HTTP first. Browser-only pages can be rendered locally after installing Chromium with Playwright. Browser actions can click controls, scroll, load more items, and follow pagination before extraction. The hosted service and local deployments differ in available operations and limits, so the deployment choice matters for larger crawls or browser workflows.

## Setup and configuration

The hosted endpoint can be added to an MCP client with:

```bash
claude mcp add --transport http octocrawl https://mcp.octocrawl.dev/mcp
```

To use an account key:

```bash
claude mcp add --transport http octocrawl https://mcp.octocrawl.dev/mcp --header "Authorization: Bearer oc_…"
```

A local setup requires Node.js 22.13+ or 24+. The basic CLI installation is available through `npx`:

```bash
npx octocrawl scrape https://example.com --markdown
```

For a local MCP connection, start the API and then register the stdio server:

```bash
npx octocrawl serve
claude mcp add octocrawl -- npx -y @octocrawl/mcp
```

Install Chromium when browser rendering is needed:

```bash
npx playwright install chromium
```

The TypeScript SDK is `@octocrawl/sdk`; the Python client is `octocrawl-client`, with an optional `pandas` extra. `@octocrawl/ai-sdk` exposes scrape and map as Vercel AI SDK tools.

## Tools and capabilities

- Scrape individual URLs into Markdown and related page artifacts.
- Map websites and filter discovered URLs by a search term.
- Crawl sites or sections with path filters, depth limits, and page limits.
- Submit URL batches and receive per-URL outcomes, including failures.
- Extract tables, repeated listings, and schema-defined fields as JSON or CSV.
- Render JavaScript pages and perform clicks, scrolling, pagination, and load-more actions.
- Read PDF, CSV, JSON, and plain-text resources.
- Run scheduled Monitors locally and deliver events to an HTTPS endpoint with retries.

## Limitations and notes

The keyless hosted service allows 20 pages per day over HTTP. Accounts receive 500 credits per month, and hosted crawl and batch jobs have limits of 500 pages per crawl and 1,000 URLs per batch. The web preview allows five pages per day and up to 20 named fields.

Browser rendering requires Chromium for local use. A page that needs a browser can return a `browser_not_installed` warning until it is installed. Sites may still refuse access, and saved logins can expire. Local access to pages behind a sign-in uses an existing Chrome session or a saved login, with the agent instructed to ask first.

The server is licensed under AGPL-3.0; the client libraries are MIT-licensed.

_Full upstream README: https://allmcps.com/mcp/octocrawl/readme_

