docpull
OfficialProvides integration with Apple Human Interface Guidelines documentation, allowing agents to fetch and use Apple HIG as context.
Allows fetching academic papers from arXiv as context packs, with support for arXiv identifiers.
Allows fetching repository documentation and code context from GitHub through repo-pack command.
Provides Context CI integration for GitHub Actions, enabling automated context validation in pull requests.
Allows export of context packs for use with LangChain frameworks.
Allows export of context packs in OpenAI-compatible format (e.g., OpenAI vector JSONL) for use with OpenAI.
Allows fetching package documentation and metadata from PyPI as typed known-source specs.
Provides integration with React documentation, allowing agents to fetch React docs as context via bundled alias.
Provides integration with Stripe documentation, allowing agents to fetch Stripe docs as context via bundled alias.
Provides cloud rendering runtime via Vercel Sandbox for JavaScript-heavy pages, with budget guards.
Allows fetching Wikipedia articles as context packs via wiki-pack command.
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.
Install and sync your first source
pip install docpull
docpull init stripe-docs
docpull add https://docs.stripe.com
docpull sync
docpull diff
docpull export context-pack --target cursorThe 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.

No account or paid API is required for this path. Direct fetching, discovery, extraction, indexing, pack analysis, and diffs run locally.
Related MCP server: doc-breach-mcp
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
declared sources → local acquisition → versioned evidence → diff and validation → exportDocPull's v3 pack contract separates raw extraction, agent-ready context, and eval-grade evidence. Validate the level a downstream system requires:
docpull pack prepare packs/docs --eval-grade
docpull pack validate packs/docs --level eval
docpull ci --preparedocpull 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
Surface | Use it for | Start here |
CLI | Fetch, sync, diff, validate, and export | |
Python SDK | Embed acquisition in Python applications | |
MCP server | Give local agent clients source tools | |
TypeScript SDK | Read local packs and invoke the CLI from Node or Bun | |
Agent plugin | Install the supported MCP workflow in an agent client |
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
pip install 'docpull[mcp]'
docpull mcpClaude Code can register the same local server:
claude mcp add --transport stdio docpull -- docpull mcpThe Python stdio server is the supported release path. The TypeScript code formerly
documented under mcp/ is an internal semantic-search lab,
not part of the package contract.
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
CLI recipes — Common commands and advanced workflows.
Context dependencies — Project and lockfile model.
Context Pack Contract v3 — Artifact levels and compatibility.
Public contracts — Schemas and versioning rules.
Alternatives — Browser automation and hosted extraction tradeoffs.
Evaluation lab — Reproducible methods, results, and claim boundaries.
Changelog — Release history.
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.
Project | Responsibility |
Defines governed requirements and evidence. | |
Enforces shared JavaScript and TypeScript code policy. | |
Audits interface source and provides HIG guidance. | |
Tests cross-layer policy behavior. |
See the Raintree open-source portfolio for current lifecycle and distribution links.
Project policies
Contributing · Code of Conduct · Security · Metrics and evidence limits · Source repository · MIT License
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
DocBase MCP server for AI agents
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Versioned documentation registry and semantic search for AI tools and coding assistants.
Turn a GitHub repo or docs site into agent-ready context: pack it or search it, over MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA lightweight, zero-config MCP server that makes documentation and API specifications instantly accessible to AI models using the llms.txt standard. It enables searching and retrieving full documentation, OpenAPI, and AsyncAPI specs without requiring a complex RAG infrastructure or vector database.161Apache 2.0
- AlicenseAqualityDmaintenanceA local MCP server that extracts clean Markdown from any developer portal using military-grade heuristics, bypassing WAFs, SPAs, and PDFs with zero SaaS dependencies or API keys.5741MIT
- AlicenseNot gradedqualityBmaintenanceMCP server enabling local-first web search, fetch, extract, and caching with citeable excerpts, no API key required. Supports research workflows for agents and apps.18MIT
- FlicenseAqualityBmaintenanceA local-first MCP server for web search and documentation fetching, providing free DuckDuckGo search, URL-to-markdown conversion, and library docs from npm, PyPI, crates.io, Go, and GitHub with caching.5-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/raintree-technology/docpull'
If you have feedback or need assistance with the MCP directory API, please join our Discord server