
PyreCrawl
io.github.SanggonBoy由 GitHub 帳號 SanggonBoy 發布v0.8.1更新於 Oct 24, 2026
Web scraping + research toolkit for AI agents: scrape, crawl, monitor URLs with anti-bot bypass.
概覽
自架的網頁擷取與研究工具包,讓 AI 助理不需 API 金鑰就能擷取、爬取、搜尋、抽取與監控網頁。
- 可以做什麼
- 將單一網址擷取為適合大型語言模型的 Markdown,並自動從一般 HTTP 升級到隱匿瀏覽器,以繞過反爬機制並渲染 JavaScript 頁面,還可在即時頁面上執行 JS 運算式或等待條件。依 CSS 結構描述從頁面抽取結構化資料,並把 PDF、DOCX、PPTX 文件轉為 Markdown。列出網站的內部連結,依路徑篩選與深度限制爬取多個頁面,或在一次平行呼叫中批次擷取多個網址。透過 DuckDuckGo 搜尋網頁、透過 arXiv 與 Crossref 搜尋學術論文,並執行深度研究流程,回傳附編號引用的證據包。監控網址內容變化,保存快照並產生差異對比。
- 適用情境
- 適合助理需要讀取或蒐集即時網站內容時使用,尤其是位於 Cloudflare 或大量 JavaScript 之後的頁面;也適合需要附引用的可重複研究、為知識庫批次蒐集頁面,或追蹤某個頁面的變化。適合偏好自架而非付費託管擷取服務的使用者。
- 執行需求
- 以本機 stdio 程序執行,透過 uvx 從 PyPI 套件 pyrecrawl 啟動;需安裝 uv 並加入 PATH。一次性安裝指令會安裝 Chromium 與隱匿瀏覽器引擎。不需 API 金鑰或帳號。擷取、搜尋與啟動時的版本檢查需要網路存取。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 PyreCrawl,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
🔥 PyreCrawl — Web Browsing Superpowers for Your AI Agent
[License: MIT] [MCP] [Python 3.10+] [PyPI] [GitHub stars] [Downloads / 30d] [Active users / 30d]
One command gives any AI agent the whole web. Scrape, extract, crawl, map, and search — self-hosted, no API keys, no rate limits, no subscription.
PyreCrawl speaks MCP (Model Context Protocol), the standard tool interface for Claude, Cursor, VS Code, Codex, OpenCode, Hermes, and any MCP-compatible agent.
A smart auto-fallback ladder always picks the cheapest method that succeeds:
⚡ Tools exposed
MCP Resources (read-only state without a tool call):
pyrecrawl://cache/stats · pyrecrawl://sessions · pyrecrawl://monitors
MCP Prompts (ready-made playbooks): research(topic) · rag_ingest(site) · watch_page(url)
Env flags
prefer options: "auto" (default ladder) · "fast" (HTTP only) · "stealth" (CF bypass) · "llm" (deep processing).
🚀 Install & Use (one-liner)
1. Install
UV (recommended — one command, zero Python setup)
UV is a fast Python package manager that handles Python itself — no need to install Python separately. Get it once:
Then run PyreCrawl directly — no venv, no pip install, no Python download:
Or via uv tool install (persistent, recommended for regular use)
Or via pipx (alternative)
Or via pip into a venv
2. One-time browser engines
This installs Chromium + stealth browser engines (~2 min, one-time).
3. Register with your AI agent
Supported agents: claude-desktop, claude-code, cursor, vscode, codex, opencode, hermes.
4. Start chatting
After installing + registering, restart your agent (or start a new session). Then ask:
"Scrape https://example.com and summarize it."
Available tools:
Plus 3 guided prompts: research, rag_ingest, watch_page.
Quick examples
Ask your agent naturally — no special syntax needed:
🧠 Skills — Maximize Your Agent's Research Quality
PyreCrawl tools give your agent hands (scrape, crawl, search). But the agent still needs a brain — instructions on when to use which tool, how to chain research passes, and what anti-hallucination rules to follow.
That's what PyreCrawl Skills provides.
Quick setup:
Without skills: Your agent has powerful tools but improvises usage. With skills: Your agent follows a proven research protocol with anti-hallucination guardrails.
📚 Manual config (if pyrecrawl install doesn't match your setup)
Claude Desktop
Config file
- Linux:
~/.config/Claude/claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%AppData%\Claude\claude_desktop_config.json
Claude Code
Config file: project-scoped .mcp.json
Cursor
Config file: ~/.cursor/mcp.json
VS Code / Copilot
Config file: .vscode/mcp.json (project-scoped)
Codex CLI
Config file: ~/.codex/config.toml
OpenCode
Config file: ~/.config/opencode/opencode.json
Hermes
Config file
- Linux/macOS:
~/.hermes/config.yaml - Windows:
%LocalAppData%\hermes\config.yaml
Windows note:
uvxmust be on PATH. If not, use the full path touvx.exe(e.g.C:\Users\<you>\AppData\Local\hermes\bin\uvx.exe).
🧠 How the ladder chooses
PyreCrawl runs each request through three tiers, stopping at the first one that returns a complete, LLM-ready result:
The agent never has to pick. prefer="auto" does it every call.
Live DOM data with js and wait_for
Some sites keep the data you want in a DOM property (e.g. an <input>'s .value)
that JS writes after an XHR — it never appears in the serialized HTML. The
scrape tool accepts two stealth-tier params for exactly this:
wait_for— a JS predicate expression polled until truthy (bounded bytimeout). Use it instead of guessing a sleep for anything that arrives asynchronously.js— a JS expression evaluated once the page settles; the value comes back inmeta.js_result. Errors are captured inmeta.js_error(the page result is still returned, never a crash).
📊 Compared to Firecrawl (hosted)
🔧 Development
Run tests
📦 Publish
Maintainers only:
GitHub Actions builds + uploads to PyPI via trusted publishing.
🔔 Stay up to date
PyreCrawl checks PyPI on every startup and reports the latest version — your
MCP agent sees this automatically via the health() tool response and can
notify you inline.
To check manually:
To upgrade:
Get notified of new releases: click Watch → Releases only at the GitHub repo to receive email notifications when a new version is published.
[!NOTE] PyreCrawl sends one anonymous usage ping per 24 h at server startup — see Privacy for exactly what's sent and how to opt out.
🔒 Privacy — anonymous usage ping
PyreCrawl phones home once per 24 h with a tiny anonymous ping when the MCP server starts, so we can count real users (DAU/MAU) instead of raw downloads.
Client code: src/pyrecrawl/telemetry.py (~90 lines, stdlib only) ·
Collector: workers/telemetry/ — a self-hostable Cloudflare Worker + D1, no third-party analytics service.
Opt out any time:
📜 Uninstall
🛡️ License
MIT — see LICENSE.
來源:README.md,提交 657ad65
工具
0版本歷史
3- v0.8.1最新Sep 22, 2026
- v0.8.0Sep 19, 2026
- v0.7.5Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分