Latest release · v1.4.1
The web & document layer
for AI agents
Any URL, document, email, archive or source file in — clean Markdown or structured JSON out. One self-hosted Rust binary with a CLI, Firecrawl & Jina Reader APIs, an MCP server, and packages for Python, Node.js, Go, Java, C#, Ruby, PHP and more.
$ pagesift scrape https://example.com # Markdown to stdout $ pagesift scrape report.pdf # PDF, Office, e-book, email… $ pagesift crawl docs.rs --limit 500 # whole sites, one file per page $ pagesift scrape https://shop.example --graph # + citations, evidence, conflicts $ pagesift mcp # MCP server for your agent
Measured, not promised
Strongest result per domain from the published 1.1 benchmark report — the same numbers as the project README, with methods and sources in the full report.
Latency per page — lower is better
Throughput — higher is better
Peak memory per worker — lower is better
Benchmarks measured for PageSift 1.1; xberg 1.3.9 measured 2026-11-04. Full methods: docs/benchmarks.md · Wild-crawl coverage 0.740 vs Crawl4AI 0.529 (polite, 40 sites × 60 pages).
One pipeline, every input
The request pipeline from the architecture docs: entry points feed one engine, policy and network guards run before any fetch, a render decision picks the cheapest path that adds content, and every source lands in the same outputs.
What it can do
Six verbs cover the API surface — the same operations in the CLI, the HTTP APIs and the MCP tools.
scrape · Clean content
Main-content detection and Markdown that keeps headings, lists, tables, code and math. Renders JavaScript only when that adds content.
crawl · Whole sites
Sitemaps, query-focused crawls that stop when pages stop helping, trap handling, robots.txt and per-host limits. WARC output on every crawl.
map · Site maps
Discover the URLs of a site before you spend budget fetching them, then feed the list into crawl, batch or extract.
batch · Many URLs, one job
Batch scraping with job persistence, durable webhooks and per-owner isolation. Poll or cancel jobs from the API or MCP.
monitor · Change monitoring
Scheduled checks that separate real changes from dates, counters and ads, with webhooks when something actually moved.
agent · Research runs
POST /v2/agent answers a question from the web with your own model — and checks each field of the answer against the page it came from.
Documents & OCR
Own Rust readers for PDF, Office, e-books, email, archives and databases — including damaged files and CJK fonts. Scanned pages go through PP-OCRv6, display formulas through PP-FormulaNet, on CPU or NVIDIA GPU.
Structured extraction
JSON by CSS selectors that are relocated when a site changes, or by a schema your model writes once and PageSift caches. Browser actions — clicks, typing, scrolling, kept sessions — when a page needs them.
Safety & honest results
Private-network and DNS-rebinding guards. A partial page, a truncated file or a skipped scan returns a warning code instead of looking complete.
Scraping that keeps the receipts
A normal scraper returns text and forgets everything else. The new pagesift-graph crate remembers where every claim came from — and what it contradicts.
- Citations. Every fetch becomes a node; links between documents become citations.
- Provenance. Redirect chains, canonical alias clusters, attachments and their parent documents are recorded as edges.
- Version lineage. Refetch the same resource and its history grows instead of being overwritten.
- Evidence spans. Extracted fields carry byte offsets into the source document, so any claim points back at the exact text it came from.
- Facts & conflicts. Claims about the same entity are clustered into facts across sources; when sources disagree you get a conflict record — both variants, both excerpts, and a preferred variant with its reason.
Ask the graph
Two pages price the same product differently? That stops being a silent data-quality bug and becomes a queryable fact:
{
"subject": "sku:W1",
"fieldPath": "/json-ld/0/offers/price",
"kind": "temporalStaleness",
"variants": [10, 12],
"preferred": 12
}
Almost anything goes in
One call handles the whole pile — no separate converters to wire up.
Web pages
URLs & HTML, rendered only when it adds content
Including scanned pages, via OCR
Office
Word, Excel, PowerPoint — current & legacy — plus OpenDocument, RTF, HWP
E-books
EPUB, MOBI, FB2
.eml, .mbox, .msg — attachments recurse
Archives
zip, tar, gz, bz2, xz, 7z — and WARC in & out
Data files
CSV, SQLite, dBASE, Markdown & text formats
Source code
373 source-code & config languages, split by function & class
Drop-in compatible, everywhere
Already have Firecrawl or Jina Reader code? Change the API URL and keep going. Building an agent? The MCP server speaks the same operations.
HTTP APIs
Firecrawl v1/v2 and Jina Reader (/r/ and /s/) endpoints on the same self-hosted binary — plus a file-upload API for local documents.
# Firecrawl API curl localhost:3002/v2/scrape \ -H 'Authorization: Bearer sk-test' \ -d '{"url":"https://example.com","formats":["markdown"]}' # Jina Reader curl localhost:3002/r/https://example.com
MCP server — stdio or HTTP
Eleven tools for agents: the nine everyday operations — now including DataGraph queries — plus the agent pair when a model is configured. Attach with one command:
claude mcp add pagesift -- pagesift mcp
Packages & bindings
Native packages for the big three, a Rust crate, and a C ABI that carries the engine into a dozen more languages. LangChain and LlamaIndex integrations included.
Platforms & runtime
Linux x86_64 / aarch64 (glibc ≥ 2.28 and musl), macOS arm64, Windows x86_64, and a Docker image. Nothing to install for HTTP, PDF and Office; a browser for JavaScript pages, an NVIDIA GPU for OCR and your own model for /v2/agent are found at run time.
Built to be found — and driven — by agents
If you are an AI agent or a tool indexer: this page ships machine-readable summaries at /llms.txt and /llms-full.txt, and the product itself is an MCP server your agent can call today.
MCP server — start it, attach, call tools
Run it for one agent over stdio, or as one shared local service that every agent on the machine attaches to:
pagesift mcp # stdio, for one agent pagesift mcp http --port 3003 # shared local service # attach from Claude Code claude mcp add pagesift -- pagesift mcp claude mcp add --scope user --transport http \ pagesift http://127.0.0.1:3003/mcp
pagesift_scrapeone URL or file → clean Markdown or structured JSONpagesift_crawlcrawl a whole site as a jobpagesift_mapdiscover a site's URLs before fetchingpagesift_batch_scrapemany URLs, one persistent jobpagesift_poll_jobpoll a crawl or batch job for status & resultspagesift_cancel_jobcancel a running jobpagesift_interactdrive a kept browser session — click, type, scrollpagesift_interact_stopend a browser sessionpagesift_graph_queryquery the DataGraph — citations, version history and conflicts for a URL
With a model configured, two more appear: pagesift_agent and pagesift_agent_status — research runs that answer a question from the web and check each field against its source page.
Drop-in HTTP compatibility
Existing Firecrawl v1/v2 code works by changing the API URL; Jina Reader paths /r/ and /s/ are served by the same binary. No per-page fees, no data leaving your machine.
curl localhost:3002/v2/scrape \
-H 'Authorization: Bearer sk-test' \
-d '{"url":"https://example.com","formats":["markdown"]}'
curl localhost:3002/r/https://example.com
Machine-readable docs
- /llms.txt — project summary for LLMs
- /llms-full.txt — install, APIs, tools, benchmarks in one file
- /sitemap.xml · /robots.txt — all crawlers welcome, AI included
- README · Architecture · Benchmarks
- Glama MCP listing — tool definitions & scores
Hosted API — in preparation
A hosted PageSift API is in preparation and the api.pagesift.tech endpoint is reserved for it, but it is not live yet. Today PageSift is self-hosted: the Firecrawl and Jina Reader APIs above run on your own machine — see the install options below.
From the author's notebook
Release posts and engineering deep dives on dev.to, Zenn and Qiita — the design reasoning that does not fit in release notes.
One Engine, Seven Open-Source Projects: PageSift 1.4 and the yolow Family
The 1.4 release post: the modular split completes, DataGraph lands, and the six yolow libraries start their own lives.
PageSift 1.2: ITNA, an access-barrier recovery engine — plus the 1.1 roundup
The 1.2 release post: itna barrier recovery, and the 1.1 catch-up that never got its own post.
壁にぶつかったら、まず分類する —— PageSift 1.2 のアクセス障壁リカバリ「itna」の設計
How itna classifies a barrier before it spends a browser attempt — the design behind 1.2.
壁にぶつかったら、まず分類する —— PageSift 1.2 のアクセス障壁リカバリ「itna」の設計
The itna design deep dive, on Qiita.
PageSift 1.2:アクセス障壁リカバリ「ITNA」と、1.1 のまとめ
The 1.2 release post in Japanese, with the 1.1 series rounded up.
PageSift 1.0: the Rust web content engine is feature-complete
The 1.0 release post: feature completion — OCR, selector memory, monitoring and the agent API.
One engine, seven open-source projects
Across 1.2.7 and 1.4, every generally useful part of the engine was cut out into its own repository — independent versioning, an MIT license, usable without PageSift. The engine is their composition; PageSift itself is Apache-2.0.
yolow64 0.3.0
Base64 at ~20 GB/s. Runtime-dispatched SIMD (AVX2/NEON), zero runtime dependencies — and short payloads, the common case in pipelines, got 1.5–2.8× faster in 0.3.
yolowpdf 0.1.2
PDF to Markdown with no C libraries — it parses the format itself, no Poppler, no MuPDF. GPU OCR (PP-OCRv6) in the workspace; 1,900 pages/s on born-digital documents.
yolowhtml 0.1.0
Zero-copy arena HTML5 parsing and single-pass content extraction: Markdown, metadata and dates from one parse. 1.000 structural F1 on its test corpus; forbid(unsafe_code).
yolowzstd 0.1.2
Pure-Rust Zstandard (RFC 8878), zero dependencies. Built for small records: on 64-byte payloads it decodes at 3,257 MB/s — 1.6× C libzstd.
yolowsyntax 0.1.2
tree-sitter without the C: a pure-Rust runtime with 41 languages' parse tables converted and embedded, extracting code outlines for 32 of them. No C FFI.
The dependency lattice is small: PageSift depends on all six libraries; yolowsyntax on yolowzstd; yolowdoc on both; yolowpdf on yolow64. The rules are shared — pure Rust, no C dependencies, unsafe forbidden in the libraries, and resource budgets enforced before allocation, because every one of these parsers eats untrusted input for a living.
Running in a minute
Pick your surface — they all run the same engine.
| Surface | Install | First call |
|---|---|---|
| CLI | cargo install pagesift --locked | pagesift scrape https://example.com |
| Python | pip install pagesift | pagesift.scrape("https://example.com").markdown |
| Node.js | npm install @pagesift/node | (await new Scraper().scrape("https://example.com")).markdown |
| Server | docker run -p 3002:3002 ghcr.io/yolow92/pagesift:1.4.1 | curl localhost:3002/r/https://example.com |
| MCP | — | claude mcp add pagesift -- pagesift mcp |
Access-barrier recovery, opt-in
- Off by default. Enable with
[itna] enabled— nothing changes until you ask. - Classified, then bounded. Barriers are classified first; a blocked or challenged page gets at most one browser fallback, sharing one network budget across redirects and sub-requests.
- Never escalates the wrong cases. Rate limits (429) and login walls never trigger the browser path.
- Isolated sessions. Sessions are leased per owner, origin, egress and fingerprint; HTTP cookies reach the browser only through an exact-origin handoff.
- Humans stay in the loop. Interactive CAPTCHAs are reported as needing a human — never solved.
What's new in 1.4
- DataGraph — citations, provenance, version lineage, field-level evidence and cross-source conflicts, on the CLI, the HTTP API, MCP and both SDKs.
- The split, completed — documents, syntax and compression became yolowdoc, yolowsyntax and yolowzstd; the engine is now seven independently versioned projects.
- Apache-2.0 — since 1.3 the whole workspace is Apache-2.0 (it was AGPL-3.0); commercial support continues under COMMERCIAL.md.
- 1.4.1 hardening — per-tenant isolation for the graph and change tracking, canonical trust checks, and proxy SSRF guards.
Good fit — and when to pick something else
Feeding pages and documents to an LLM, a RAG index or an agent; self-hosting a Firecrawl-style service with no per-page fees; mixed input on small machines. Pick something else for standalone image files or a managed cloud service.
Open source, commercially licensable
Free to use, embed and self-host under Apache-2.0 — with commercial support, and a human to write to, when you need it.
Apache-2.0 — free
Use, modify, embed and self-host PageSift under the Apache License 2.0 — including in commercial and proprietary products. The full source is on GitHub, and self-hosting carries no per-page fees.
Commercial support
Priority support, custom terms and commercial arrangements are available for teams running PageSift in production. Write to the maintainer directly: