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.
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.
- Scrape one page or a batch of URLs into Markdown, JSON, text, PDF, or another supported output.
- Run the MCP server when an agent needs controlled browser navigation and extraction tools.
- Use Playwright and native-browser fallback diagnostics when a site blocks the first route.
- 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 installThe 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)
The latest public GitHub Actions run failed or did not finish. That is not the same as an abandoned project.