Deepcrawl

v1.2.0
com.soflution/deepcrawl Checked 3 days ago Published 4 days ago

Scrape web pages to markdown, crawl and map sites, save local page copies.

A local MCP server that lets an AI agent read public web pages as markdown, list a site's URLs, crawl up to 100 pages, and save a local copy of a page. deepcrawl is a small Node.js program (package deepcrawl-mcp on npm) that an MCP client such as Claude or Cursor starts on your computer. It gives the agent four tools: deepcrawl_scrape, deepcrawl_crawl, deepcrawl_map and deepcrawl_clone. It needs no account and no API key, and every request leaves from your own machine. It is not related to the deepcrawl package on npm, which is a different project by another author.

Summary extracted from the README.


deepcrawl is a small Node.js program (package deepcrawl-mcp on npm) that an MCP client such as Claude or Cursor starts on your computer. It gives the agent four tools: deepcrawl_scrape, deepcrawl_crawl, deepcrawl_map and deepcrawl_clone. It needs no account and no API key, and every request leaves from your own machine.

It is not related to the deepcrawl package on npm, which is a different project by another author.

Is it for you?

  • Yes, if your agent needs to read public pages: an article, a documentation site, a changelog. It returns markdown, it can list the URLs of a site, and it can crawl up to 100 pages of one site in a call.
  • Yes, if you want a local copy of a simple static page to study its HTML and CSS. See Known limits for what a copy contains and what it leaves out.
  • Probably not, if you need pages behind a login, sites protected against robots (CAPTCHA, browser checks), large crawls, proxies, structured data extraction, PDF parsing, or a crawler that obeys robots.txt. deepcrawl does none of these. A hosted service or a larger crawler fits better (How it compares).
  • It runs on your computer, wherever Node.js 18.17 or later runs. It talks to the MCP client over stdio only, so claude.ai in a web browser and the mobile apps cannot use it.

Before you install

  • License. MIT (LICENSE).
  • What gets installed. The npm package (about 134 kB unpacked for 1.2.0) and its dependencies: @modelcontextprotocol/sdk, cheerio, turndown, and the optional playwright library. No browser is downloaded unless you ask for one (JavaScript rendering).
  • What runs. Two Node.js processes while your MCP client is open: a supervisor (bin/supervise.cjs) and the server behind it. Nothing runs when the client is closed.
  • It updates itself. The supervisor installs new npm releases in the background and switches to them without asking. The new code runs with your user rights. SOFLUTION_AUTO_UPDATE=0 turns this off (Automatic updates).
  • What an agent can do with it. Fetch public http and https URLs, and write a copy of a page into a folder made for it. The protections below are in version 1.2.0 and later; versions up to 1.1.1 have none of them (changelog).
    • Requests to your own machine and network are refused by default: localhost, private and link-local addresses, cloud metadata addresses (169.254.169.254), at the first URL and at every redirect. DEEPCRAWL_ALLOW_PRIVATE=1 opens them, for example to read your own development server (Settings).
    • deepcrawl_clone writes only inside its output folder (default ~/deepcrawl-clones/<host>), and only when that folder is new, empty, or was created by an earlier clone. Inside such a folder, files with the same names are overwritten without a prompt.
    • A response over 10 MiB is dropped, and one tool call stops after 100 MiB of downloads (both adjustable).
    • Your MCP client's permission prompt, if it has one, is the only confirmation step.
  • It presents itself as a web browser. Each request carries one of seven desktop browser user-agent strings, picked at random, plus browser-like headers. It does not identify itself as a bot.
  • It does not read robots.txt rules. deepcrawl_map reads robots.txt only to find Sitemap: lines. Disallow, Crawl-delay and noindex are not looked at.
  • Responsible use is on you. Pages you fetch stay under their owners' copyright and terms of use, and may contain personal data. A local copy of a site is a copy of someone else's work. Requests come from your IP address, so a site that objects will block or contact you, not the publisher of this tool.
  • One maintainer, and no audit by an outside party. The source is about 1,900 lines in src/ and bin/ and can be read in one sitting (Security).

Install

Cursor. Click the "Install in Cursor" button above, or add the entry below to ~/.cursor/mcp.json.

Claude Code.

claude mcp add deepcrawl-mcp -- npx -y deepcrawl-mcp@latest

Any MCP client, by hand. Add this to the client's MCP settings file:

{
  "mcpServers": {
    "deepcrawl-mcp": {
      "command": "npx",
      "args": ["-y", "deepcrawl-mcp@latest"]
    }
  }
}

Claude desktop app. Each GitHub release carries a deepcrawl.mcpb extension bundle, the same file the official MCP Registry lists as com.soflution/deepcrawl with its SHA-256. Open it from Settings > Extensions. The bundle does not contain Playwright.

From a terminal, to check that it starts (it then waits for an MCP client on stdin; Ctrl+C stops it):

npx -y deepcrawl-mcp@latest

To stay on one version, write deepcrawl-mcp@1.2.0 instead of @latest and set SOFLUTION_AUTO_UPDATE=0 in the entry's env.

Automatic updates

Installed as above, deepcrawl keeps itself up to date without a restart of Claude or Cursor. The MCP client talks to the supervisor (bin/supervise.cjs), which stays connected while the server runs behind it.

  1. Ten seconds after it starts, then every 6 hours, the supervisor asks registry.npmjs.org for the latest version of deepcrawl-mcp.
  2. When there is a newer one, it runs npm install for that version into ~/.soflution/mcp/deepcrawl-mcp/<version>/. This downloads the package and its dependencies from the npm registry. npm checks each download against the integrity hash the registry lists.
  3. As soon as no request is in flight, the supervisor starts the new version, replays the MCP handshake to it, switches over, and tells the client the tool list may have changed.
  4. A version that does not answer within 30 seconds, stops within 30 seconds of starting, or fails to stay up three times in a row is dropped. The previous version keeps running, and the dropped one is not picked again on that machine (~/.soflution/mcp/deepcrawl-mcp/state.json).

What this does and does not guarantee:

  • Versions 1.1.1 and later are published from GitHub Actions with npm provenance. The supervisor does not check provenance or any signature itself. It trusts the npm registry and whoever can publish deepcrawl-mcp there.
  • The version check is one HTTP GET for the package name. It carries no identifier and nothing about your machine or your use.
  • The update needs npm on your PATH (or next to node). Without it, the supervisor logs that a version is available and installs nothing.

Turn it off with SOFLUTION_AUTO_UPDATE=0 or NO_UPDATE_NOTIFIER=1; it is also off when CI is set. Note that npx -y deepcrawl-mcp@latest itself fetches the latest release each time the client starts it, whatever these variables say. Pin a version in the command to avoid that.

Started directly with node dist/index.js (for example from a git clone), deepcrawl does not update itself. It makes one version check three seconds after start and mentions a newer version once, in its first tool result.

JavaScript rendering

By default deepcrawl fetches the HTML the server sends and does not run JavaScript. Pages built in the browser (many React, Next.js or SvelteKit sites) can come back empty.

jsRender: true on deepcrawl_scrape, deepcrawl_crawl or deepcrawl_clone renders the page in a headless Chromium driven by Playwright. deepcrawl_map has no such option.

  • The playwright library is an optional dependency, installed with deepcrawl by npm (about 19 MB unpacked for playwright and playwright-core 1.65.1, per the npm registry). It does not include a browser.

  • Download Playwright's Chromium once:

    npx playwright install chromium
    

    This is a separate, large download kept in Playwright's own cache folder (Uninstall). It is Playwright's Chromium build, not your everyday browser.

  • Each rendered page gets a new headless browser with an empty profile: no cookies, no saved logins, no extensions. The browser is closed after the page.

  • The browser's traffic goes through a small proxy that deepcrawl opens on 127.0.0.1 for the time of the page. The proxy applies the same rules as a plain fetch to everything the page loads (redirects, images, scripts, WebSockets): http and https only, no local or private address unless DEEPCRAWL_ALLOW_PRIVATE=1. What the browser downloads counts against the per-call size limit.

  • If Chromium is missing, does not match the installed Playwright version, or the page does not settle within 15 seconds, deepcrawl falls back to a plain fetch without an error message.

Tools

Tool descriptions, result labels and error messages are in English (Error: ...); versions up to 1.1.1 wrote them in French (Erreur: ...). Page content is returned in its original language.

deepcrawl_scrape

Fetches one page and returns its title, meta description, final URL and content as markdown, followed by its metadata (Open Graph tags, author, keywords, robots, viewport), the image URLs and the first 50 links found.

With mainContentOnly (the default), the content is the first <main>, <article>, [role="main"] or common content container on the page (.content, .post-content, .entry-content, #content, #main); when none is found, the whole page is converted. Scripts, styles, iframes, SVG, hidden elements and 1-pixel images are removed in both cases.

"Scrape https://example.com and give me the main content"
Parameter Default Description
url required Page URL to scrape
mainContentOnly true Return only the main content container when one is found
includeLinks true List the links found (first 50 shown)
includeImages true List image URLs
jsRender false Render with Playwright's Chromium when it is installed

deepcrawl_crawl

Starts from one URL and follows links that stay on the same origin (same scheme, host and port). The origin is the one the starting URL leads to after its redirects, so starting from example.com works when the site lives on www.example.com; a later redirect that leaves that origin is refused and listed as an error. Returns each page's title, URL and markdown. Each page's markdown is cut to its first 2,000 characters in the result; use deepcrawl_scrape to read a page in full.

It fetches up to 5 pages at a time and stops at maxPages. Links to common non-HTML files (.pdf, images, .css, .js, .zip, audio, video) are skipped. Pages that fail are listed at the end.

"Crawl https://docs.example.com and return its pages as markdown"
Parameter Default Description
url required Starting URL
maxPages 20 Maximum pages to fetch (capped at 100)
includeImages false List the image URLs of each page
jsRender false Render with Playwright's Chromium when it is installed

deepcrawl_map

Lists URLs of a site without converting its pages. It looks at /sitemap.xml, /sitemap_index.xml and /sitemap-index.xml (it stops at the first one that yields URLs), at the sitemaps named in robots.txt, and at the same-origin links on the page you give it. The origin is the one that page leads to after its redirects; sitemaps on another host are not fetched, and URLs of another origin are left out of the list.

"Map the pages of https://example.com"
Parameter Default Description
url required Site URL
maxUrls 200 Maximum URLs to list

deepcrawl_clone

Saves a page to a local folder: its HTML, the stylesheets, scripts, images, icons, preloaded files and social preview image the HTML refers to, and the files those stylesheets and the page's inline styles refer to with url(...) (fonts, background images). The references to downloaded files are rewritten to local paths in the HTML. With depth 1 or more, it also follows same-origin links and saves those pages, 100 pages at most.

The output folder must be an absolute path to a folder that does not exist yet, is empty, or holds the .deepcrawl-clone marker file an earlier clone left there. Any other folder (your home folder, a repository, a system folder) is refused before any request is sent. Every file is written inside the output folder: names come from the URL paths of the site, without .. segments or control characters, and a symbolic link found on the way is refused, not followed.

The result gives the number of pages and assets saved, and lists apart the ones that were not, each with its reason.

"Save a local copy of https://example.com in ~/deepcrawl-clones"
Parameter Default Description
url required Page URL to copy
outputDir ~/deepcrawl-clones/<host> Absolute path of the output folder: new, empty, or created by an earlier clone (in the default, dots in the host become underscores)
depth 0 Link depth: 0 = this page only, 1+ = follow same-origin links
jsRender false Render with Playwright's Chromium when it is installed

A copy is most faithful for a single static page at the root of a site. Known limits lists what is not copied.

Request behavior, for all tools

Delay before each page request random, 200 to 1,200 ms (none before a Playwright render)
Delay before each asset download (clone) random, 100 to 600 ms
Concurrency 5 pages at a time for a crawl; one request at a time for the other tools
Timeout 15 s per request (10 s for a sitemap, 5 s for robots.txt)
Retries none
URL schemes http and https only; file:, data:, ftp: and the rest are refused, as are URLs with a user name or password
Local and private addresses refused unless DEEPCRAWL_ALLOW_PRIVATE=1: the host is resolved and the request is refused when one of its addresses is loopback, private, link-local, carrier-grade NAT, multicast or reserved (IPv4, IPv6, and IPv4 carried in IPv6)
Redirects followed one by one, 5 at most, each checked like a first request
Response size 10 MiB per response, counted after decompression; a larger one is dropped and reported
Download size per call 100 MiB for one tool call, all responses together; the call then stops and says so
Cookies, logins, forms none sent, none filled
User agent one of seven desktop browser strings (Chrome, Safari, Firefox, Edge), chosen at random per request
robots.txt rules not read

New in 1.2.0: the protections of this table that 1.1.1 lacks (schemes, local addresses, redirect checks, size limits), and the short usage note the server sends the MCP client at connection. See the changelog.

Settings

Environment variables, set in the env of the MCP entry:

Variable Default Effect
DEEPCRAWL_ALLOW_PRIVATE unset 1 allows requests to loopback, private and reserved addresses, for example to read http://localhost:5173. It opens your whole local network to the agent, cloud metadata addresses included: set it only where that is acceptable. It does not allow other schemes than http and https.
DEEPCRAWL_MAX_RESPONSE_BYTES 10485760 (10 MiB) Largest response kept, in bytes
DEEPCRAWL_MAX_TOTAL_BYTES 104857600 (100 MiB) Most bytes one tool call may download, in bytes
SOFLUTION_AUTO_UPDATE, NO_UPDATE_NOTIFIER unset SOFLUTION_AUTO_UPDATE=0 or NO_UPDATE_NOTIFIER=1 turns automatic updates off (Automatic updates)

A size limit that is not a positive whole number makes every tool call fail with a message that names the variable.

Your data

  • What it reads. The URLs the agent passes to it, and the pages and files those URLs lead to. It does not read your files, your browser profile, your cookies or your history.
  • What it writes.
    • deepcrawl_clone writes the copied files, and a .deepcrawl-clone marker file, under ~/deepcrawl-clones/<host>/ or under the folder the agent names, when that folder is new, empty or already marked.
    • The supervisor writes under ~/.soflution/mcp/deepcrawl-mcp/: state.json (the installed version and the versions it dropped), a lock file during an install, and one folder per installed version.
    • deepcrawl_scrape, deepcrawl_crawl and deepcrawl_map write nothing to disk. There is no cache, no history and no log file. Start-up and update messages go to stderr, which your MCP client may keep in its own logs.
  • What goes on the network.
    • Requests to the sites the agent asks for, from your IP address, with the browser-like headers described above. A clone also downloads assets from other hosts when the page refers to them (a CDN, a font service).
    • The version check to registry.npmjs.org and, when there is a new version, its download from the npm registry.
    • Nothing is sent to Soflution. There is no telemetry and no account.
  • Where the content goes next. Tool results go to your MCP client and from there to the language model it uses. deepcrawl has no say over that part.

Uninstall

  1. Remove the deepcrawl-mcp entry from your MCP client:

    claude mcp remove deepcrawl-mcp     # Claude Code
    

    In Cursor, delete the deepcrawl-mcp entry from ~/.cursor/mcp.json. In the Claude desktop app, remove the extension in Settings > Extensions. In any other client, delete the entry from its MCP settings file.

  2. Delete what it left on disk:

    rm -rf ~/.soflution/mcp/deepcrawl-mcp   # versions installed by the updater, and its state
    rm -rf ~/deepcrawl-clones               # the copies made by deepcrawl_clone, in the default folder
    

    Copies written to another folder stay where the agent put them.

  3. Optional, shared with other tools:

    rm -rf ~/.npm/_npx                         # npx's cache: every package npx has run, not only this one
    rm -rf ~/Library/Caches/ms-playwright      # macOS: Playwright's browsers, if you installed Chromium
    rm -rf ~/.cache/ms-playwright              # Linux: same
    

    On Windows the same folders are %USERPROFILE%\.soflution\mcp\deepcrawl-mcp, %USERPROFILE%\deepcrawl-clones and %LOCALAPPDATA%\ms-playwright. Other projects that use Playwright on the same machine share the browser cache.

deepcrawl installs no service, no login item and no hook, and changes no settings file other than the MCP entry you added.

Known limits

Sites it cannot read

  • Pages behind a login, a paywall or a cookie wall. It sends no cookies and fills no forms.
  • Sites protected against robots. Rotating the user agent and adding delays gets past simple filters only; a CAPTCHA or a browser check stops it, with or without jsRender. The user-agent strings date from early 2024 (Chrome 121 and 122, Firefox 123, Safari 17.3).
  • A page that answers with an HTTP error is reported with its status (HTTP 404 from <url>), not read. With jsRender, the error page itself is returned instead.
  • Your own machine and network, unless you set DEEPCRAWL_ALLOW_PRIVATE=1 (Settings).
  • PDF and other non-HTML documents are not converted.

Crawl and map

  • 100 pages at most per crawl, and 2,000 characters of markdown per page in the result.
  • The crawl stays on one origin, the one the URL you give leads to. Links to http:// pages of an https:// site, or to another subdomain, are not followed.
  • URLs that differ only by their query string or #fragment count as different pages.
  • deepcrawl_map does not open the sitemaps listed in a sitemap index (it lists the sitemap files themselves), does not read compressed sitemaps (.xml.gz), and takes only the links of the one page you give it. On a site without a sitemap, expect a partial list.

Clone

  • Not copied: srcset and <picture> sources, video and audio, files referenced from a <style> block or from a stylesheet reached through @import (the imported stylesheet itself is saved), and anything the page loads with JavaScript at run time.
  • Stylesheets are saved as they are. A relative url(...) in them keeps working; one that starts with / or names another host still points to the original.
  • Local paths are written relative to the output folder. A page that is not at the root of the site is saved in a subfolder (/pricing becomes pricing/index.html), and its rewritten references then point to the wrong place.
  • Links between pages are not rewritten; they still point to the live site or to absolute paths.
  • Files are named after the URL path only. Two URLs with the same path and different query strings, or the same path on two hosts, overwrite each other.
  • A page reached through a redirect is saved under the path of its final address.

Other

  • A response over the size limit is dropped whole, not cut: a page of 11 MiB is an error, not 10 MiB of text.
  • A clone has no limit on the number of files it saves for a page, only the per-call download limit: a page with hundreds of images takes minutes.
  • jsRender starts one browser per page, and up to five at once during a crawl. Inside a rendered page, the per-response limit applies to the final HTML only; the files the page loads count against the per-call limit.
  • Nothing here was measured or reviewed by a third party.

How it compares

deepcrawl is the small end of this category: one process on your machine, no account, four tools, 100 pages per crawl. It was not benchmarked against the tools below, and no speed or quality claim is made.

  • Firecrawl is a hosted API with a free plan (1,000 credits a month) and paid plans from $19 a month (Hobby, billed monthly). Its source is published under AGPL-3.0 and can be self-hosted. Sources: firecrawl.dev/pricing and github.com/firecrawl/firecrawl, read on 2026-12-01.
  • Crawl4AI is an open source crawler (Apache-2.0) that you run yourself. Source: its repository, read on 2026-12-01.
  • Apify is a hosted platform for running scrapers.

What deepcrawl has that a hosted API does not: nothing to sign up for, and requests that leave from your own machine. What it lacks: everything listed under Known limits, starting with protected sites, scale, and robots.txt handling.

Also by Soflution

  • brandcheck - Brand name availability checks
  • depsonar - Dependency audit, security scan, license check

Changelog and security

  • CHANGELOG.md: what changed in each version.
  • SECURITY.md: how to report a vulnerability, and what the tool does and does not protect.

License

MIT. See LICENSE.