DocPull

io.github.raintree-technologyPublished by GitHub account raintree-technologyv6.9.0Updated Nov 7, 2026

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

The publisher's own server: FlightSweeper

Overview

AI-generated overview

Local MCP server that syncs public web sources into cited, versioned context packs and answers queries with exact source spans.

What you can do
  • Query locked context archives for deduplicated passages with version filters, token budgets and exact source spans
  • Sync declared web sources and diff them by content hash while keeping URLs, run IDs and citations
  • Validate and prepare context packs at raw, agent-ready or eval-grade levels
  • Run CI gates for freshness, citation coverage, pack quality and rights metadata
  • Export context packs for agent clients, vector import or data workflows
When to use it
Use it when an assistant needs documentation, policies, feeds, repositories or standards as reproducible, citable context, and you want to know which source versions produced an answer or whether sources have drifted.
Requirements
Runs as a local stdio process installed from the docpull PyPI package with the mcp extra, so Python is needed. No account or paid API is required for the default path; fetching, extraction, indexing and diffs run locally. Authenticated sources need environment-variable references.
Before you install
It fetches public web sources and writes project artifacts such as docpull.yaml, lockfiles, reports and exported packs. JavaScript rendering and cloud rendering are opt-in and can incur cost unless blocked with a zero-dollar budget. Authenticated sources require environment-variable references, and credential values are not persisted in project artifacts.

Installation

In SourceWeft

  1. Open DocPull in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

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

Source: README.md at commit 90d0880

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

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

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Vercel integrations