Get started

v0.2.1Apache-2.0 · single Rust binary · 0 open advisories

Crawl, extract, diff, and serve MCP on your own machine.

One ~13 MB native executable with no Docker stack, Redis queue, or Node.js runtime. Plain HTTP/2 scraping, concurrent resumable crawling, shared Chrome CDP rendering, local PDF/Office parsing, deterministic PII and prompt-injection defense, and 6 offline stdio MCP tools run locally with zero phone-home by default.

Prebuilt SHA-256 verified archives on GitHub Releases and Homebrew tap convexityos/tap/vitna-local. Set VITNA_CLOUD=auto only if you later opt into hosted web.vitna.ai.

Offline stdio MCP · zero cloud calls

19 ms · 4.7 KiB

6 local tools vs 2,344 ms and 114.9 KiB remote cloud MCP

1,000-page crawl
6,039 p/s
7,191 p/s on Linux ext4 --out
Memory footprint
8.54 MiB
idle serve · 17.27 MiB 1k peak WS
Default telemetry
0 calls
VITNA_CLOUD=off · Apache-2.0

Exhibit 01 · local CLI & verified output workbench

6 workflows · zero API key · v0.2.1
Command
brew install convexityos/tap/vitna-local
vitna-local --version

Prebuilt binaries for Linux (x86_64, ARM64), macOS (ARM64, x86_64), and Windows (x86_64). Zero Rust or Node.js toolchain required.

Terminal output (verified v0.2.1)VITNA_CLOUD=off
==> Downloading vitna-local-aarch64-apple-darwin.tar.gz (v0.2.1)
==> Verifying SHA-256 digest against Formula/vitna-local.rb ... ok
==> Installing vitna-local from convexityos/tap
/opt/homebrew/bin/vitna-local

$ vitna-local --version
vitna-local 0.2.1
Install
5 platforms · SHA256SUMS.txt verified

Two seconds to install, zero toolchain required.

Every archive is verified against SHA256SUMS.txt before touching your PATH. Linux (x86_64, aarch64), macOS (aarch64, x86_64), and Windows (x86_64) ship prebuilt on every tagged release.

Homebrew (macOS and Linux)

Pinned to the verified release tarballs in convexityos/homebrew-tap.

brew install convexityos/tap/vitna-local

Shell installer (Linux and macOS)

Downloads the matching binary into ~/.local/bin and checks SHA-256.

curl -fsSL https://raw.githubusercontent.com/convexityos/vitna-local/main/install.sh | bash

Windows PowerShell

Installs vitna-local.exe into %LOCALAPPDATA%\vitna-local\bin with hash verification.

irm https://raw.githubusercontent.com/convexityos/vitna-local/main/install.ps1 | iex

Build from source (Rust 1.89+)

Pure-Rust release build with thin LTO and stripped symbols, Apache-2.0.

git clone https://github.com/convexityos/vitna-local.git
cd vitna-local && cargo build --release
What runs in the binary
9 commands · 10 local HTTP routes

A complete web ingestion pipeline in one executable.

Every CLI subcommand, local HTTP endpoint, and MCP tool shares the same Rust engine, HTML5-to-Markdown pipeline, SSRF guard, and Vitna Web API v1 JSON schema.

vitna-local scrape <url>...CLI · /v1/read

HTTP/2 scrape & Markdown

Strips navigation, cookie banners, and footers into clean Markdown, text, or HTML with SHA-256 content digests, --redact PII masking, and --injection strip.

vitna-local crawl <url>--jsonl · --state

Concurrent resumable crawler

Rust BFS frontier honoring RFC 9309 robots.txt and recursive XML sitemaps, writing YAML-frontmatter Markdown files (--out), streaming JSONL, or resumable checkpoints.

vitna-local extract <url>CSS · tables · Ollama

Local structured extraction

Pulls CSS selectors, JSON-LD, OpenGraph metadata, and HTML tables with zero LLM cost, plus optional opt-in --llm-url / --llm-model JSON Schema extraction.

vitna-local diff <a> <b>CLI · /v1/diff

Structural Markdown diff

Compares two URLs or local Markdown snapshots deterministically with section-level status, similarity ratio, SHA-256 digests, and --unified output.

vitna-local map <url>CLI · /v1/map

Sitemap & link discovery

Enumerates site URLs from XML sitemaps and start-page links with substring --search filtering, --include-subdomains, and robots.txt controls.

PDF · DOCX · XLSX · PPTXlopdf 0.47 · zip 9.9

Built-in document parsing

Sniffs magic bytes and parses digital PDFs and Office archives natively in Rust (32 MiB uncompressed entry guard), reporting pagesNeedingOcr for scanned PDFs.

--render auto|always --wait-forIncognito tabs

Shared multi-tab Chrome CDP

Launches local Chrome, Edge, or Chromium only on JS shells with isolated incognito BrowserContexts, crash respawn, Page.loadEventFired, and CSS wait selectors.

vitna-local serve127.0.0.1:8790

Local Vitna Web API v1

Serves /v1/read, /v1/scrape, /v1/batch, /v1/map, /v1/crawl, /v1/jobs/:id, /v1/extract, and /v1/diff locally with Host-header DNS-rebinding and SSRF guards.

vitna-local mcp / init19 ms · 4.7 KiB

Offline stdio MCP server

Native Rust JSON-RPC 2.0 MCP server with 6 local tools and zero Node.js dependency. vitna-local init auto-wires 6 coding agents with .vitna.bak backups.

Local HTTP server routes (vitna-local serve)

http://127.0.0.1:8790 · no API key on loopback
MethodRouteBehavior on loopback
GET/healthz · /v1/statusLiveness check, version, browser availability, and network policy
POST/v1/read · /v1/scrapeSingle URL Markdown/text/HTML, PDF/Office parse, PII redaction, and injection strip
POST/v1/batchConcurrent multi-URL scraping (up to 100 URLs) with per-URL error isolation
POST/v1/mapXML sitemap and start-page link discovery with search filter
POST/v1/crawl · GET/DELETE /v1/jobs/:idAsync concurrent site crawl jobs (1-hour in-memory TTL) with polling and cancel
POST/v1/extract · /v1/diffLocal CSS/JSON-LD/OpenGraph/table extraction and structural Markdown diffs
Offline MCP & SDKs
19 ms handshake · 4.7 KiB schema · zero Node.js

Connect coding agents without burning 30k tokens.

vitna-local mcp --public-only speaks JSON-RPC 2.0 over stdio directly from Rust. It starts in 19 ms, exposes 6 focused local tools in 4.7 KiB of schema, and makes zero outbound cloud calls.

STDIO MCP · OFFLINEvitna-local mcp --public-only

Registers vitna-local mcp --public-only directly in Claude Code with automatic .vitna.bak backup.

19 ms handshake · 4.7 KiB0 network calls · no Node.js
Read & batchread_page · batch_scrape
Discover & crawlmap_site · crawl_site
Extract & diffextract_page · diff_pages

Wire coding agents

Register the native binary once; no npx download or cloud auth.

# Preview which agent configs exist on this machine
vitna-local init --dry-run

# Register vitna-local mcp --public-only (creates .vitna.bak backups)
vitna-local init

Point your SDK at loopback

Same Vitna Web API v1 contract on 127.0.0.1:8790 with zero API key.

import { Vitna } from "@vitna/web";

// Zero API key needed on loopback; switch baseUrl to https://web.vitna.ai later
const vitna = new Vitna({ baseUrl: "http://127.0.0.1:8790" });
const page = await vitna.read("https://example.com", {
  redact: true,
  injection: "strip",
});
Measured benchmarks
vs firecrawl-local 0.1.1 · same machine

Same-machine head-to-head, fully reproducible.

Measured on AMD Ryzen 7 3700X (8 cores / 16 threads), Windows 11, 5 interleaved runs via zero-dependency benchmarks/compare.mjs with identical flags (--concurrency 16 --browser never, FIRECRAWL_CLOUD=off) and identical HTTP request counts (102 / 1,002).

Metricvitna-localfirecrawl-local 0.1.1Verified delta
LicenseApache-2.0AGPL-3.0Permissive vs copyleft
Release binary size (Windows x86_64)11.82 MiB (v0.2.0) / 13.07 MiB (v0.2.1)23.70 MiB (v0.1.1)1.81x - 2.00x smaller
100-page crawl (c=16, --mode json, 5 runs)51.75 ms (1,932 pages/s)85.89 ms (1,164 pages/s)1.66x faster · 100/100 clean
1,000-page crawl (c=16, --mode json, 5 runs)165.59 ms (6,039 pages/s)197.20 ms (5,071 pages/s)1.19x faster · 1,000/1,000 clean
Idle serve Working Set (2s after boot)8.54 MiB (9.35 MiB commit)11.56 MiB (11.16 MiB commit)26% lower idle RSS
Peak memory on 1,000-page crawl (--out)17.27 MiB WS · 24.57 MiB commit20.44 MiB WS · 40.69 MiB commit16% lower WS · 40% lower commit
MCP initialize + tools/list (stdio)19 ms · 4.7 KiB · 6 local tools2,344 ms · 114.9 KiB · 31 cloud toolsOffline local vs remote firecrawl-fastmcp
Safety & provenance (/security-test)5/5 (PII redacted, BiDi stripped, injection + SHA-256)0/5 (raw PII, invisible/BiDi, and injection passed through)Verified by benchmarks/compare.mjs
Install & prebuilt binaries5-platform Releases, Homebrew tap, install.sh, install.ps1cargo install only (10m 09s compile)Zero Rust toolchain required

Linux ext4 reference (Ubuntu 24.04.4, AMD EPYC-Milan 8 vCPU, 10.68 MiB stripped ELF)

vitna-local 0.2.0 / 0.2.1 · full CLI disk writes + PDF
In-process engine (100p, c=32)
7.3 ms
13,703 pages/s · 12.2 MiB idle / 26.3 MiB peak
Full CLI to ext4 disk (100p, c=16)
24.78 ms
4,035.5 pages/s · 100/100 clean .md files
Full CLI to ext4 disk (1,000p, c=16)
139.06 ms
7,191.1 pages/s · 1,000/1,000 clean .md files
Real 14-page Mozilla PDF (lopdf 0.47)
80,491 chars
14/14 pages parsed natively · 0 OCR needed
Reproduce on your own hardware

Loopback runs measure CLI startup, HTTP pooling, HTML5 parsing, boilerplate removal, Markdown conversion, SHA-256 hashing, and frontier scheduling, not public-internet RTT or Chromium execution. Full --mode out Windows NTFS breakdown (369.1 ms vs 435.5 ms on 100p; 3,935.2 ms vs 3,533.5 ms on 1,000p, where ~95% is Windows Defender scanning 1,000 temp files) is published in benchmarks/README.md.

Security and cloud handoff
SSRF guard · PII redaction · opt-in cloud

Safe by default locally. One env var to escalate.

Nothing leaves your machine unless you explicitly opt in. When a workflow needs residential anti-bot unblocking, scanned-PDF OCR, or hosted search and official data sources, point the same SDK or CLI at web.vitna.ai.

Cloud metadata always refused

Link-local ranges (169.254.0.0/16, fe80::/10) and cloud metadata endpoints (169.254.169.254, fd00:ec2::254, metadata.google.internal) are blocked in every mode, including after DNS resolution and HTTP redirects.

Public-only default in serve and MCP

vitna-local serve binds 127.0.0.1, rejects non-loopback binds without --token, enforces a Host-header gate against DNS rebinding, and blocks localhost/RFC1918 targets unless --allow-private is explicitly passed.

Deterministic PII & prompt-injection defense

--redact masks emails, phones, Luhn-verified cards, IBANs, SSNs, and IPs with counts. --injection strip removes invisible Unicode and BiDi overrides and flags prompt-injection directives alongside a SHA-256 hash.

Hardened archive parsing & 0 open advisories

v0.2.1 ships zip 9.9.0 (pure-Rust zlib-rs) with a 32 MiB uncompressed Office entry cap and lopdf 0.47.0, closing all 4 Dependabot advisories on convexityos/vitna-local with 0 open alerts.

VITNA_CLOUD=off (default)

Runs locally, free forever

  • HTTP/2 scraping, concurrent crawls, sitemaps, and shared local Chrome CDP
  • Digital PDF, DOCX, XLSX, and PPTX extraction natively in Rust
  • Local CSS, JSON-LD, OpenGraph, HTML table, and Ollama/BYOK extraction
  • Structural Markdown diffs, PII redaction, BiDi/injection strip, and SHA-256
  • 6 offline stdio MCP tools and local HTTP API on 127.0.0.1:8790
VITNA_CLOUD=auto + VITNA_API_KEY

Escalate to hosted web.vitna.ai

  • Camoufox and residential proxy unblocking on anti-bot / Cloudflare pages
  • Server-side OCR on scanned image-only PDFs flagged by pagesNeedingOcr
  • Durable SQLite-backed crawls, scheduled monitors, and webhook diffs
  • Hosted web search, Google/Bing SERP, claim verification, and entity dossiers
  • 16 official regulatory data sources (SEC EDGAR, CourtListener, FRED, FDA, CISA)
Questions
Licensing, Chrome CDP, privacy and limits

How licensing, Chrome, and privacy work.

Straight answers on what runs offline, when Chrome is used, and how Vitna Local compares to hosted Vitna Web APIs.

Read reference as Markdown
Does vitna-local send telemetry or call vitna.ai?

No. VITNA_CLOUD defaults to off, no install ID or usage ping is sent, and vitna-local mcp serves all 6 tools strictly over local stdio. Outbound calls to web.vitna.ai happen only when you explicitly set VITNA_CLOUD=auto and provide a VITNA_API_KEY.

Can I use vitna-local inside a commercial or proprietary product?

Yes. convexityos/vitna-local is licensed under permissive Apache-2.0, with no AGPL copyleft network-use disclosure obligations.

Do I need Chrome or Node.js installed?

No Node.js is ever required, including for MCP. Plain HTTP/2 scraping, crawling, extraction, diffing, and PDF/Office parsing need zero browser. If you pass --render auto or --render always, vitna-local auto-detects any existing Chrome, Edge, or Chromium binary on your machine and manages a shared multi-tab incognito CDP pool.

How does local PDF parsing differ from hosted /v1/parse?

Digital PDFs (plus DOCX, XLSX, and PPTX) extract natively in Rust with lopdf 0.47 and zip 9.9. If a PDF contains scanned image-only pages with no embedded text layer, vitna-local reports pagesNeedingOcr so you know when to send it to hosted /v1/parse with ocr: "auto".

Why is there a difference between --mode json and --mode out on Windows?

On Windows NTFS, creating 1,000 individual .md files in %TEMP% triggers Windows Defender real-time AV scanning (~3.5 ms per file for both binaries). Running compare.mjs --mode json isolates the crawler and HTML-to-Markdown engine from OS AV overhead, while Linux ext4 --mode out completes 1,000 full Markdown disk writes in 139.06 ms.

What happens if I start locally and later need hosted Vitna Web APIs?

Change one base URL. Both the JavaScript and Python SDKs talk to http://127.0.0.1:8790 with zero API key during local development and switch to https://web.vitna.ai with a vitna_key_ or vitna_web_ bearer key when you need anti-bot unblocking, OCR, or hosted search.

Apache-2.0 · v0.2.1 · zero phone-home

Run the web pipeline on your own machine.

Install in seconds from Homebrew or GitHub Releases, wire 6 offline MCP tools into your coding agent, and run the reproducible head-to-head benchmark yourself.

Inspect /docs/web/local.md, verify SHA256SUMS.txt, or read /llms.txt.