DocPull

io.github.raintree-technology由 GitHub 帳號 raintree-technology 發布v6.9.0更新於 Nov 7, 2026

Sync public web sources into cited context packs for AI agents, RAG, and MCP clients.

發布方自己的服務:FlightSweeper

概覽

AI 產生的概覽

本機 MCP 伺服器,將公開網頁來源同步為附引用的版本化脈絡包,並依精確來源片段回答查詢。

可以做什麼
  • 在鎖定的脈絡封存中查詢去重段落,支援版本篩選、token 預算與精確來源片段
  • 同步宣告的網頁來源並依內容雜湊比對差異,保留 URL、執行 ID 與引用
  • 依原始、代理可用或評估級三種層級驗證與準備脈絡包
  • 執行 CI 檢查,涵蓋新鮮度、引用覆蓋率、封包品質與權利中繼資料
  • 匯出脈絡包,供代理用戶端、向量匯入或資料流程使用
適用情境
當助理需要把文件、政策、訂閱來源、程式碼儲存庫或標準當成可重現、可引用的脈絡,並且你想知道答案出自哪個來源版本、來源是否變動時使用。
執行需求
以本機 stdio 程序執行,需從 PyPI 安裝含 mcp 額外元件的 docpull 套件,因此需要 Python。預設路徑不需帳號或付費 API,擷取、抽取、索引與差異比對都在本機完成。需驗證的來源須以環境變數參照方式提供。
安裝前請注意
它會擷取公開網頁來源,並寫入 docpull.yaml、鎖定檔、報告與匯出的脈絡包等專案產物。JavaScript 轉譯與雲端轉譯須明確開啟,除非以零美元預算封鎖,否則可能產生費用。需驗證的來源須以環境變數參照提供,憑證值不會寫入專案產物。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 DocPull,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[DocPull]

DocPull

Active open-source project · MIT License

DocPull turns changing public web sources into cited, reproducible context for AI agents and retrieval pipelines. Use it when your application needs to know which sources it used, whether they changed, and how to rebuild the same context later.

[Python 3.11+] [PyPI version] [License: MIT]

Install and sync your first source

bash
pip install docpulldocpull init stripe-docsdocpull add https://docs.stripe.comdocpull syncdocpull query "retry policy" --max-tokens 4000docpull diffdocpull export context-pack --target cursor

The project stores declared sources in docpull.yaml and resolved inputs in .docpull/context.lock.json. Later syncs produce a hash-based diff while preserving source URLs, content hashes, run IDs, citations, and export metadata.

docpull query retrieves deduplicated passages from locked archives with version filters, a response budget, and exact source spans. The same query is available through the Python SDK and MCP. See Query locked context for budget semantics and queries across projects.

[DocPull project diff showing changed pages, local semantic categories, and zero failed URLs]

No account or paid API is required for this path. Direct fetching, discovery, extraction, indexing, pack analysis, and diffs run locally.

Why use DocPull

  • Reproduce agent context. Stable IDs, hashes, manifests, and lockfiles show which source versions produced an answer or artifact.
  • Detect source drift. Sync and diff documentation, product pages, policies, feeds, repositories, packages, standards, and local documents.
  • Keep evidence inspectable. Markdown, NDJSON, SQLite, citations, and provenance sidecars remain readable without a hosted service.
  • Choose the downstream surface. Export context for agent clients, vector import, data workflows, or a versioned context-pack release.
  • Keep expensive routes explicit. Browser and cloud rendering require an explicit choice and can be blocked with a zero-dollar budget.

How it works

text
declared sources → local acquisition → versioned evidence → diff and validation → export

DocPull's v3 pack contract separates raw extraction, agent-ready context, and eval-grade evidence. Validate the level a downstream system requires:

bash
docpull pack prepare packs/docs --eval-gradedocpull pack validate packs/docs --level evaldocpull ci --prepare

docpull ci checks freshness, citation coverage, pack quality, rights metadata, and other configured gates. It writes context-ci.report.json and CONTEXT_CI.md, then exits non-zero when a hard gate fails.

Supported surfaces

SurfaceUse it forStart here
CLIFetch, sync, diff, validate, and exportdocs/cli-recipes.md
Python SDKEmbed acquisition in Python applicationsdocs/surface-contract.md
MCP serverGive local agent clients source toolsMCP server
TypeScript SDKRead local packs and invoke the CLI from Node or Bunsdk/js/README.md
Agent pluginInstall the supported MCP workflow in an agent clientplugin/README.md

Common source shapes include static and server-rendered websites, OpenAPI documents, feeds, papers, public GitHub repositories, npm and PyPI packages, standards, datasets, transcripts, Wikimedia pages, product and policy pages, and local PDF or office files. See context-pack workflows for the complete surface.

MCP server

bash
pip install 'docpull[mcp]'docpull mcp

Claude Code can register the same local server:

bash
claude mcp add --transport stdio docpull -- docpull mcp

The Python stdio server is the supported MCP server.

Limits and security boundary

DocPull is an evidence-acquisition engine, not a hosted competitive-intelligence product. It owns fetching, explicit rendering adapters, versioning, citations, hashing, validation, replay, and export. Downstream products own scheduling, human review, approved claims, legal conclusions, accounts, and notifications.

The default path does not handle complex interactive browser workflows, CAPTCHAs, stealth scraping, or private dashboards. JavaScript rendering is explicit. Authenticated sources require environment-variable references; DocPull does not persist credential values in project artifacts.

Security defaults include HTTPS-only fetching, robots.txt compliance, SSRF and DNS rebinding protections, redirect guards, XXE protection, and path-traversal checks. Read the web-source boundary, security posture, and evidence-engine decision before extending acquisition behavior.

Documentation and evidence

Raintree open-source system

DocPull owns evidence acquisition and reproducible agent context. It can be used independently; the sibling projects do not imply a required integration or shared release cycle.

ProjectResponsibility
Raintree StandardsDefines governed requirements and evidence.
TrellisEnforces shared JavaScript and TypeScript code policy.
HIG DoctorAudits interface source and provides HIG guidance.
PolicyStrataTests cross-layer policy behavior.

See the Raintree open-source portfolio for current lifecycle and distribution links.

Raintree also builds BetterOff, which keeps a household's spending, investments, assets, debts, and net worth in one current record.

Project policies

Contributing · Code of Conduct · Security · Metrics and evidence limits · Source repository · MIT License

來源:README.md,提交 90d0880

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

4
  1. v6.9.0最新Nov 7, 2026
  2. v6.8.0Oct 23, 2026
  3. v6.6.0Oct 10, 2026
  4. v6.5.5Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Vercel 整合