Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

docharvest

Latest version: v11.6.1

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: shettyrohan2
2 Stars
0 Forks
6 Versions
375 Downloads
Python Repo language

Scan summary

docharvest was last scanned on 1 Dec 2026 at version 11.6.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 6 versions; the latest 2 were published within 5 days (27 Nov – 1 Dec 2026).
  • Findings: No rules fired in version 11.6.1.
  • Downloads: 375 downloads.

Versions

6 versions published
Versions and the rules that fired in each
VersionPublishedStatus
11.6.1 LATEST 1 Dec 2026 No rules fired
11.6.0 27 Nov 2026 No rules fired
11.5.1 13 Nov 2026 No rules fired
11.5.0 13 Nov 2026 Not shown
11.3.2 27 Oct 2026 Not shown

No rules fired in 11.6.1

Findings

Findings for v11.6.1. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 11.6.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

DocHarvest

Compile any docs portal into context your agent can verify

CLI + Universal Skill first. MCP is optional when you need a live tool surface.

470 pages 76.4 s 5 files per capture
full OpenAlgo capture, 2026-11-13 local output pages/, book.md, llms.txt, llms-full.txt, PDF

Version: 11.6.1 License: MIT Python 3.10+

Reference measurement, not a guarantee: 470 pages captured from https://docs.openalgo.in in 76.4 seconds on 2026-11-13 (local output). No token-reduction multiple is claimed: a measured comparison found no reduction against the page's visible text. Reproduce the retrieval fixture with python benchmarks/run.py; the full method is in docs/CLAIMS.md.

pip install docharvest && docharvest capture https://docs.example.com/

⚡ Overview

Your coding agent doesn't read documentation — it reads web pages. Navbars, cookie banners, search modals, and footer scripts make up most of a raw page's bytes before a single API fact arrives. Chunks captured without source URLs make hallucinations unfalsifiable, and per-page cloud scraping API bills spike the moment you index a real documentation portal.

DocHarvest (package: docharvest) compiles any technical documentation site into a pristine, structured local knowledge base with verifiable SHA-256 provenance:

  • ⚡ One-Pass Capture: 470 pages from a live portal in 76.4 seconds (2026-11-13), written straight into SQLite FTS5 BM25 search and the concept graph.
  • 🎯 Noise Stripped, Provenance Kept: Removes boilerplate DOM trees, sidebars, anchor spam and tracking wrappers, and keeps each page's source URL and SHA-256 content hash so a citation can be checked later (docs/CLAIMS.md).
  • 📐 OpenSpec SDD Native: Integrated spec-driven development harnesses and prompt commands (opsx-*) across 17 documented agent harness directories.
  • 🖥️ Universal Desktop & Browser GUI: Seamless native window with zero-dependency standalone HTTP/SSE browser fallback across any default system browser.
  • 🧠 Universal Agent Skill (SKILL.md): Bundled, harness-neutral intelligence that equips 17 documented harness directories (Cursor, Claude Code, Windsurf, Gemini CLI, Oh My Pi, Codex and more) with self-orchestrated harvesting and retrieval workflows via a single install command (docharvest skill install docharvest -o <dir>).
  • 🔌 Native FastMCP v2 Server: 12 zero-friction tools in an opt-in full profile, with a smaller default profile for lower schema cost; MCP Resources (docs://{domain}/book), and MCP Prompts over stdio.
  • 🔒 Deterministic SHA-256 Provenance: Every page is stored with an exact SHA-256 content hash in YAML frontmatter for caching, version diffing, and citation verification.

Whether you are feeding 500-page API manuals to Cursor / Claude Code, building vector RAG pipelines with LangChain & LlamaIndex, reading offline on an airplane, or archiving technical libraries — every capture ends in the same verifiable shape: clean markdown ready for your agent or your bookshelf.


⏱️ 30-Second Start

# 1. Install via pip (FastMCP v2 server & bundled skill included)
pip install docharvest

# 2. Capture a complete docs site with RAG JSONL and offline PDF
docharvest capture https://docs.openalgo.in/ --rag --pdf

# 3. Equip your AI agent with the Universal DocHarvest Skill
docharvest skill install docharvest -o .cursor/skills     # or .claude/skills, .agents/skills...

No API key. No account. No telemetry. When the command finishes you own a book.md, an llms.txt, an llms-full.txt, a RAG JSONL dataset, and a printable PDF — all local, all MIT. Full install paths (standalone .exe, uvx, optional extras) are in Quick Start.


🧩 Supported Documentation Platforms (8 Real Providers)

DocHarvest features dedicated, priority-ordered parsers that extract clean article content and strip headers, footers, sidebars, anchor hashes, and cookie banners:

Provider Priority Discovery Method Clean Content Target
GitBook 100 .md endpoint probing, sitemap, space discovery Native markdown or .page-inner / article
Mintlify 90 mintlify.json, OpenAPI specs, CDN asset anchors #content, #main-content, article
Docusaurus 80 sitemap.xml, docusaurus.config.js, sidebars article, .markdown, main .theme-doc-markdown
Nextra 75 sitemap.xml, Next.js app routes, nextra scripts main.nextra-content, article
VitePress 72 Sitemap, VitePress theme anchors, route index div.vp-doc, div.VPContent, main.VPDoc
MkDocs 70 search/search_index.json, sitemap article.md-content__inner, div.md-typeset
ReadMe.io 65 sitemap.xml, /llms.txt, developer hub routes div.rm-Article, div.rm-Markdown, #content
ReadTheDocs 60 Sphinx sitemap.xml, div.sphinxsidebar div.document[role="main"], div.body
Generic HTML / SPA 0 BFS link crawl, llms.txt, sitemap.xml main, article, [role="main"], #content

[!TIP] Dynamic JavaScript SPAs: If a site is rendered entirely client-side via JavaScript (such as omp.sh/docs), install the optional Playwright extra (pip install "docharvest[render]" && playwright install chromium) and run with --render to execute JavaScript before extracting markdown.


🌟 Key Capabilities

  • 🤖 Zero-Noise LLM Context: Auto-detects 8 documentation frameworks, probes native .md endpoints, and cleans DOM trees (method and measurements in docs/CLAIMS.md).
  • 📦 Five-Part Output Contract: Every capture yields a modular pages/ tree with SHA-256 YAML frontmatter, a consolidated book.md with TOC, llms.txt, a full-content llms-full.txt, and search index records.
  • 🚀 Export Studio & Local Search: RAG JSONL for vector databases, pure-Python PDF handbooks (fpdf2, zero C-dependencies), and AST markdown chunks — all indexed into embedded SQLite FTS5 BM25 search.
  • 🔌 Native FastMCP v2 Server: docharvest mcp exposes all 12 tools plus 2 resource templates and 2 prompts over stdio (the full profile is the default); docharvest mcp --profile minimal trims the schema to the core capture/retrieval path. Crash-safe atomic storage and semver snapshot diffing included.
What DocHarvest Is Not For

A tool that claims to do everything has earned none of your trust. Honest scope:

  • Not for login-walled, paywalled, or CAPTCHA-protected content. DocHarvest is built for public technical documentation and will not bypass access controls.
  • Not for internet-scale crawling. Millions of arbitrary URLs is Common Crawl / Scrapy territory; this is a documentation compiler, not a search-engine crawler.
  • Not for e-commerce or social feeds. Product catalogs and social streams are out of scope by design.
  • Not a cloud service. No dashboard, no subscription, no telemetry — because nothing of yours ever leaves your machine.

🖥️ Desktop GUI: Document Library & Management

The desktop application includes a dedicated Document Library for managing all harvested technical docs:

  • Instant Search: Real-time filtering across downloaded portals.
  • In-App Renaming: Organize project labels without breaking file paths.
  • 1-Click Export Studio: Export selected docsets to Markdown, Vector JSONL, or PDF handbooks directly from the GUI.
  • Direct Finder/Explorer Integration: Open raw markdown source folders with a single click.
Reliable capture and local preferences

Queue documentation URLs in Capture Studio → Batch → Run Batch. Captures run sequentially with your selected options; failed starts are reported rather than counted as successes. Cancellation waits for the worker to finish, and a stalled batch keeps the worker busy until it actually stops. Force Reset does not terminate a Python thread or release a live worker's locks.

Open Preferences (Ctrl+8, outside form fields) to inspect merged configuration, review presets, and save capture settings to the global or project TOML file. Project settings override global settings. Capture Studio retains its own per-run controls; saved preferences do not automatically populate them.

docharvest gui                   # native desktop window
docharvest gui --browser         # local browser companion

The browser companion validates local origins and Host headers. It is not an authenticated network service: keep it on loopback and do not expose its port publicly. See the GUI guide for recovery, configuration, development, and regression-test commands.


📋 The Five-Part Output Contract

What a generic crawler hands your LLM (every page, every time):

<nav class="sidebar">…47 links…</nav>
<div class="cookie-banner">We value your privacy…</div>
<main>
  <h1>OAuth 2.0<a class="anchor" href="#oauth2">¶</a></h1>
  <pre><code><span class="token-keyword">import</span> <span class="token-variable">requests</span>…</code></pre>
</main>

What DocHarvest delivers — the same page, with cryptographic provenance:

---
source_url: https://docs.openalgo.in/v/v2.0/api-reference/oauth
title: "OAuth 2.0 Authentication"
content_hash: "sha256-2fa9ca2a57c4e974f1725657f88f757e25b90adee3e18ef809f65932d283746c"
---

# OAuth 2.0 Authentication

## Request Signature

```python
import requests

response = requests.post(
    "https://api.openalgo.in/oauth/token",
    json={"client_id": "pk_live_..."},
)
```

The content_hash is the real SHA-256 of the markdown body shown above — paste it into any SHA-256 tool and it verifies.

Every crawl produces the same standardized, deterministic directory structure:

~/.docharvest/docs/
└── docs.openalgo.in/
    ├── pages/                     # Modular individual markdown files
    │   ├── 001_quickstart.md
    │   └── 002_api_reference.md
    ├── book.md                    # Consolidated single handbook with hierarchical TOC
    ├── llms.txt                   # Standardized AI discovery manifest
    ├── llms-full.txt              # Full-content manifest with per-page hashes
    ├── exports/
    │   ├── openalgo_rag.jsonl     # Tokenized vector chunks + metadata
    │   └── openalgo_handbook.pdf  # Publication-grade printable PDF (pure Python)
    └── .manifest.json             # Crawl metadata, engine version & cryptographic hashes

🚀 Quick Start

Option 1: Standalone Executable (Zero Setup)

Download docharvest-windows-latest.exe from the latest release:

  • Double-click to launch the Desktop GUI Application.
  • Or execute directly in your terminal:
    .\docharvest-windows-latest.exe crawl https://docs.openalgo.in/ --rag --pdf
Option 2: Install via pip / PyPI
# Standard installation (100% local, zero C-dependencies)
pip install docharvest

# Optional headless browser rendering for dynamic JavaScript SPAs
pip install "docharvest[render]"
playwright install chromium

# MCP server: the FastMCP SDK ships in the base install — nothing extra needed.
# (The [mcp] extra is a backward-compatibility no-op; this line still resolves.)
pip install "docharvest[mcp]"

# Launch desktop GUI:
docharvest --gui

# Or run a CLI crawl:
docharvest capture https://docs.openalgo.in/ --rag --pdf
Option 3: Ultra-Fast One-Liner via uv / uvx
# Launch GUI instantly without permanent installation:
uvx docharvest --gui

# Or install as a global CLI tool:
uv tool install docharvest

💻 CLI Command Reference

# Basic Documentation Crawl (aliases: capture, dl, crawl)
# `docharvest capture` is the canonical verb; `crawl` remains as a documented alias.
docharvest capture https://docs.openalgo.in/

# Full Compilation (Markdown + RAG JSONL + llms.txt + PDF Handbook)
docharvest capture https://docs.openalgo.in/ --rag --pdf

# Crawl Dynamic Client-Rendered SPAs (Playwright Headless Browser)
docharvest capture https://omp.sh/docs --render

# Restrict Crawl to Specific Path Prefix & Limit Depth
docharvest capture https://docs.example.com/ --scope /api/ --max-pages 50

# Capture a Local Dev Docs Server (host:port domains are fully supported)
docharvest capture http://localhost:3000/docs --output library

# Full-Text BM25 Search across Harvested Docs
docharvest search "OAuth 2.0 authentication token"

# List Harvested Document Domains in Local Library
docharvest ls

# Show Snapshot History & Diff Versions
docharvest history docs.example.com
docharvest diff docs.example.com v1.0.0 v1.0.1

# Start the default full FastMCP profile over stdio (all 12 tools)
docharvest mcp

# Trim to the core capture/retrieval schema
docharvest mcp --profile minimal

# List / Install the Bundled Agent Skill
docharvest skill list
docharvest skill install docharvest -o .claude/skills

# Launch Desktop GUI Application (native window or browser)
docharvest --gui
docharvest gui --browser zen

🧠 Agent Skills: Universal MCP Skill for Every Agent Harness

The FastMCP server gives an agent tools; the bundled docharvest skill gives it reasoning & workflow intelligence. It teaches LLM agents when and how to call tools without redundant network crawls, how to bound context windows to avoid token bloat, and how to verify cryptographic SHA-256 provenance.

One skill, one SKILL.md: the matrix below describes skill discovery directories, not MCP server configuration. MCP registration paths are client-specific and are covered by docharvest init --client <name> where supported.

🌐 Universal Skill Matrix (17 documented environments)

Install the bundled skill into any agent's discovery directory in a single command with docharvest skill install docharvest -o <target_dir>:

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases docharvest

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229