Command-line tool · Page to Markdown or JSON

Web Scraper Toolkit

Scrape and crawl web pages into Markdown, JSON or PDF. Use it as a command, a Python library or an MCP server. It switches to a real browser when a site blocks it.

Works on
  • Python
  • AI coding agents

v0.3.1 · Mar 6, 2026

The point of it

What it does

Engineers, analysts and agent builders who need repeatable extraction, not a one-off copy and paste.

One project, three ways to run it: a command, a Python library or an MCP server. Output formats, browser behavior and diagnostics are explicit.

  1. Scrape one page or a batch of URLs into Markdown, JSON, text, PDF, or another supported output.
  2. Run the MCP server when an agent needs controlled browser navigation and extraction tools.
  3. Use Playwright and native-browser fallback diagnostics when a site blocks the first route.
  4. Respect site terms, access controls, privacy expectations, and robots guidance for every target.

Keep in mind: Only automate pages and data you are authorized to access. Browser fallback and anti-bot diagnostics do not change a site's terms, access controls, or privacy expectations.

Start here

Install the current package

pip install web-scraper-toolkit && playwright install

The package provides the CLI, Python API, and MCP server. Install the browser runtime needed by the workflow you are authorized to run.

The details

Ways to use it
Command line, MCP server, PyPI
Language
Python
License
MIT
Repository
WebScraperToolkit
Latest check
CI passing (opens in a new tab)