Skip to main content

DungScraper

version license python tests MCP no api key

DungScraper gives AI agents the web. Scrape, crawl, search, and pull structured data from any page, on your own machine. There is no account, no API key and no per-page bill.

terminal demo

30-second quickstart

pip install git+https://github.com/dakisxxx-oss/DungScraper.git
python -m playwright install chromium     # only needed for JavaScript-heavy pages
dungscraper doctor                        # checks your setup

Add it to Claude Desktop, Cursor or any MCP client:

{ "mcpServers": { "dungscraper": { "command": "dungscraper", "args": ["mcp"] } } }

For Claude Desktop, dungscraper install-claude writes that entry for you. Then ask your agent to read a page.

Your agent will say it is using DungScraper. Every tool result starts with 🦴 DungScraper v0.6.0 · <tool> · <tier> · <ms>, and the tool descriptions tell the agent to mention it. Set DUNGSCRAPER_BANNER=0 to turn the line off.

What you get

Clean Markdown Main content with tables, code and links. HTTP first, a real browser when the page needs JavaScript.
Token-budget reading read_focused ranks sections by your question (BM25) and returns only what fits. The demo above sends 278 tokens instead of 12,069.
Extraction with no LLM extract_fields takes a CSS or XPath schema, with lists and nesting, and returns JSON. Fast, free and repeatable.
Research with citations research searches, reads the top pages, follows promising links within a page and time budget, and returns ranked passages with source URLs and a cited brief. No LLM needed. Add your own OpenAI or Anthropic key for a written answer.
Deep crawl strategies bfs, dfs or best_first crawling. Links are scored by keywords in the text and URL, depth, freshness and same-site authority. Include/exclude patterns, content-type filter, min_score.
Proxies and scale Bring your own proxies (HTTP or SOCKS) with per-site stickiness, health tracking, backoff, and retry on 403/429 with the next proxy, on both the HTTP and browser paths. Batch scrape up to 200 URLs with global and per-host limits and spacing. Optional disk cache.
Self-host ready Dockerfile with health check, compose file, API keys, per-key rate limits, /v1/usage, and Render, Fly and Railway templates. See DEPLOY.md.
Crawl, map, search Crawl a site, list its URLs, search the web.
Change watching watch_page_tool reports new, removed and price-changed ads, or a diff of any page.
Site readers Reddit with no API key, RSS/Atom, skelbiu.lt and autoplius.lt listings, schema.org and OpenGraph on any page.
Hard pages Waits out "preparing your page" interstitials, falls back to Chrome or Edge, supports actions and screenshots.
Three ways in MCP server, REST API (Firecrawl-style /v1/scrape, plus GET /r/<url> like Jina Reader), and a CLI and Python SDK.
Polite and private Respects robots.txt, listens on 127.0.0.1, blocks private-network targets by default.

How it compares

Based on each project's public docs, November 2026. Pricing changes, so check the source. See docs/COMPETITORS.md for details and sources.

DungScraper Firecrawl Crawl4AI WaterCrawl Jina Reader
Cost Free, MIT Free 1,000 credits, then from $19/mo Free, open source Free 1,000 credits hosted, or self-host Free 20 req/min, then tokens
API key needed No Yes No Yes (hosted) Optional
Runs on your machine Yes, one pip install Self-host is heavy Yes Docker stack (Postgres, Redis) No
MCP server Yes, local, no key Yes Yes, via Docker Yes, needs a key Hosted MCP
Scrape, crawl, map, search Yes Yes Crawl, no search Yes Read and search
Query-focused, token-budgeted output Yes, no LLM LLM extraction, extra credits Yes (BM25 and LLM filters) No No
CSS/XPath extraction with no LLM Yes No Yes No No
Change watching Yes Change tracking, uses credits No No No
Reddit with no key, local classifieds Yes No No No No
Proxy rotation and scale Yes (bring your own proxies) Yes, managed Yes (bring your own) Yes (proxy management) Hosted
Autonomous research agent Yes (retrieval with citations, no LLM; optional LLM answer) Yes (LLM agent, credits) Partial (adaptive crawling) No No
Deep-crawl scoring strategies Yes (bfs, dfs, best-first, 4 scorers) Path filters and depth Yes (more scorers and filters) No No
Hosted option Yes (self-host, Docker) Yes Cloud and Docker Yes Yes

"No" means not found in the project's public docs.

Where it loses, plainly:

  • Proxies are yours. DungScraper rotates and health-checks proxies you supply. It sells and bundles none, and has no residential pool. Heavy bot protection (Cloudflare Turnstile, DataDome) can still block it.
  • Research is retrieval, not reasoning. It ranks and cites passages. It does not click, log in or plan like Firecrawl's agent. A written answer needs your own model key.
  • "Hosted" means self-hosted. The Docker image, compose file and one-click templates are ready, but there is no service run by us. The Docker build and platform deploys were not run from this repo's CI, so check your first deploy.
  • Scale is one machine (or a few replicas whose rate-limit counters are separate). Crawl4AI's deep-crawl scorers and filters are more numerous than ours.
  • It is a young project with fewer users and less mileage than the others.

MCP tools

scrape · batch_scrape · crawl · crawl_status · map_site · search_web · research · extract · chunk_text · reddit · read_feed · watch_page_tool · read_focused · extract_fields · find_contacts_tool · find_jobs_tool

dungscraper scrape https://example.com --local          # Markdown
dungscraper focus https://en.wikipedia.org/wiki/Web_scraping "is it legal" --max-tokens 300
dungscraper extract-css https://news.ycombinator.com --schema '{"baseSelector":"tr.athing","title":".titleline > a"}'
dungscraper research "How does BM25 ranking work?" --max-pages 5
dungscraper crawl https://example.com --local --strategy best_first --keywords "pricing,plans" --limit 10
dungscraper batch https://example.com https://example.org --concurrency 4 --per-host 1 --delay-ms 500
DUNGSCRAPER_PROXIES="http://user:pass@proxy1:8080,socks5://proxy2:1080" dungscraper scrape https://example.com --local
dungscraper watch https://www.skelbiu.lt/skelbimai/transportas/dviraciai/
curl "http://127.0.0.1:8741/r/https://example.com?query=pricing&max_tokens=500"   # after: dungscraper serve

The full reference is in docs/REFERENCE.md.

Roadmap

  • Publish to PyPI
  • Scheduled watch with email or Telegram alerts
  • More local site readers (aruodas.lt, other classifieds)
  • An LLM-driven browsing agent on top of research
  • A managed hosted service (only if there is demand)

Support the project

DungScraper is free and stays free to run on your own machine.

  • Star the repo. It helps other people find it.
  • Run your own hosted instance today. See DEPLOY.md.
  • Want a managed service run for you? Open an issue titled "Hosted waitlist" to get in line. It is only built if enough people ask.
  • Need it for your business? Open an issue for custom site readers, integration help or support.

Use it responsibly

Respect each site's terms and robots.txt. DungScraper never extracts private seller phone numbers and refuses what robots.txt disallows. See SECURITY.md.

MIT licensed. See LICENSE.

Metadata

Release files for dungscraper 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dungscraper 0.6.0
File Size Uploaded Provenance Actions
dungscraper-0.6.0.tar.gz 183.2 kB Without provenance Details for dungscraper-0.6.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dungscraper 0.6.0
File Interpreter ABI Platform Actions
dungscraper-0.6.0-py3-none-any.whl Python 3 none any Details for dungscraper-0.6.0-py3-none-any.whl

Total release size: 345.1 kB

Release files / dungscraper-0.6.0.tar.gz

Download URL dungscraper-0.6.0.tar.gz
Size 183.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9e75eb3e16bb83beae1f79aba64d7d4541af8afef61ca8e1859c9911dca351be
BLAKE2b-256 checksum
How to use checksums
be8a8efbbbdb5f78eead904ea63b87e2a24c77c312369d2f7e77dcb76a385b51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / dungscraper-0.6.0-py3-none-any.whl

Download URL dungscraper-0.6.0-py3-none-any.whl
Size 162.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c48f924fae97e28a3e08065d9bfe85334d05e76063eee5511eba559ec224a13
BLAKE2b-256 checksum
How to use checksums
427e7ff14f3fe74c4cfa52af724ac96c392f57be3bad22b45199e9e0f9224156
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for dungscraper 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page