
doc-scraper
io.github.Sriram-PR由 GitHub 帳號 Sriram-PR 發布v2.26.0更新於 Nov 8, 2026
將文件站點抓取為本機語料庫,讓代理程式可完全離線地搜尋、閱讀和比對。
AI 翻譯由 AI 模型根據下方的原文描述翻譯,可能有誤。
原文描述
Crawl documentation sites into local corpora agents can search, read, and diff fully offline.
概覽
doc-scraper 的本機 MCP 服務;無需登入;STDIO。
暫無 AI 概覽:以下資訊來自註冊中心條目和服務本身。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 doc-scraper,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
LLM Documentation Scraper (doc-scraper)
[CI] [Go Version] [Go Reference] [License] [Glama score]
A configurable, concurrent, and resumable web crawler written in Go. Specifically designed to scrape technical documentation websites, extract core content, convert it cleanly to Markdown format suitable for ingestion by Large Language Models (LLMs), and save the results locally.
[doc-scraper crawling a docs site and answering search queries offline]
doc-scraper crawls documentation sites into clean Markdown and serves them to coding agents over MCP. Your agent searches and reads the docs you chose, offline, instead of guessing from training data or a live web search. Point doc-scraper add at any docs page and it detects the framework (30+ docs generators, including Docusaurus, Starlight, Sphinx, VitePress, Material for MkDocs, and mdBook), validates the content selector, and drafts the config for you.
Documentation: https://sriram-pr.github.io/doc-scraper/
Features
- Offline search for agents: BM25 full-text search (
search_docs) and page reads (read_page) over the stored corpus, with no network access - Framework detection: 30+ docs generators recognized, each selector validated on the page, Readability fallback, JavaScript-only shells reported instead of crawled empty
- Clean output: GitHub-Flavored Markdown per page with frontmatter, plus
pages.jsonl,llms.txt, andllms-full.txt - Polite and resumable: robots.txt and sitemaps, per-host rate limits, retries with backoff, resumable crawls, and staged output that never clobbers the last good copy
- Stays fresh: incremental re-crawls, watch mode, and crawl history (
get_freshness,diff_crawl) - Many sites at once: parallel crawls with shared limits
Install
Download a release binary (Linux, macOS, Windows; amd64 and arm64) from the Releases page, or:
Claude Desktop users can install doc-scraper.mcpb from the latest release instead. Details: Install.
Quick start
Then give it to Claude Code:
See Claude Code setup for scopes and a first prompt.
Docs
- Getting started: install, quick start, adding a site
- Use with agents (MCP): Claude Code, Claude Desktop, any stdio client, and the 13 tools
- Docs frameworks: how detection works, with guides for Docusaurus, Starlight, Sphinx, VitePress, Material for MkDocs, and mdBook
- Configuration and CLI reference
- Detection benchmark
Contributing
Contributions are welcome. Read CONTRIBUTING.md before starting: it covers setup, the testing rules CI enforces, how to claim an issue, and the policy on AI-assisted contributions. Issues labeled good first issue are a good place to begin.
Report security problems privately as described in SECURITY.md. Everyone taking part follows the Code of Conduct.
Privacy Policy
doc-scraper collects nothing: no telemetry, no analytics, no accounts. All output and state stays on your machine, and the only network requests it makes are the crawls and fetches you explicitly ask for. Full policy: PRIVACY.md.
License
This project is licensed under the Apache-2.0 License.
Acknowledgements
- GoQuery for HTML parsing
- html-to-markdown for conversion
- BadgerDB for state persistence
- mcp-go for MCP server implementation
- go-readability for content extraction fallback
- modernc.org/sqlite for the pure-Go crawl-history index
- robotstxt for
robots.txtparsing - yaml.v3 for configuration parsing
- google/uuid for crawl job IDs
- x/sync for the weighted semaphores that cap concurrency
來源:README.md,提交 5c1f7c0
工具
0版本歷史
22- v2.25.0Nov 5, 2026
- v2.24.1Oct 29, 2026
- v2.24.0Oct 25, 2026
- v2.22.0Oct 23, 2026
- v2.21.1Oct 22, 2026
- v2.21.0Oct 20, 2026
- v2.20.0Oct 20, 2026
- v2.19.0Oct 20, 2026
- v2.18.0Oct 19, 2026
- v2.17.0Oct 18, 2026
- v2.16.0Oct 18, 2026
- v2.15.1Oct 18, 2026
- v2.15.0Oct 17, 2026
- v2.14.0Oct 17, 2026
- v2.13.2Oct 16, 2026
- v2.13.1Oct 16, 2026
- v2.13.0Oct 15, 2026
- v2.12.0Oct 14, 2026
- v2.11.0Oct 10, 2026
- v2.10.1Oct 7, 2026
- v2.10.0Oct 5, 2026
- v2.9.2Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分