Add it to Claude Code
claude mcp add nab -- nab mcpMake your agent remember this setup
nab's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.
npx conare@latestFree · one command · indexes the sessions already on disk. Set up in the browser instead →
What it does
- Converts web pages to clean markdown with 25x token savings
- Auto-detects and injects session cookies from 6 major browsers
- Anti-fingerprinting and browser header spoofing to bypass bot detection
- Specialized extractors for 11 site providers including GitHub, Reddit, and Google Workspace
- Native support for 1Password and passkeys
Tools 1
fetchFetches a URL and converts the content to clean markdown, optionally using browser cookies for authentication.Try it
Original README from MikkoParkkola/nab
nab
Fetch any URL as clean markdown — with your browser cookies, anti-bot evasion, and 25x fewer tokens than raw HTML.

nab is a local, token-optimized HTTP client built for LLM pipelines. It converts web pages to clean markdown, injects your real browser session cookies for authenticated content, and spoofs browser fingerprints to bypass bot detection. No API keys. No cloud. Just fast, authenticated, LLM-ready output.
Why nab?
| Feature | nab | Firecrawl | Crawl4AI | Playwright | Jina Reader | curl |
|---|---|---|---|---|---|---|
| Clean markdown output | Built-in (25x savings) | Markdown | Markdown | Raw HTML | Markdown | Raw HTML |
| Browser cookie auth | Auto-detect (6 browsers) | None | None | Requires login script | API key | Manual |
| Anti-bot evasion | Fingerprint spoofing | Cloud proxy | Stealth plugin | Stealth plugin | Cloud-side | None |
| JS rendering | QuickJS (1MB, local) | Cloud browser | Chromium (300MB+) | Chromium (300MB+) | Cloud-side | None |
| Speed (typical page) | ~50ms | ~1-3s | ~2-5s | ~2-5s | ~500ms | ~100ms |
| Token output (typical) | ~500 | ~1,500 | ~1,500 | ~12,500 | ~2,000 | ~12,500 |
| Runs locally | Yes (single binary) | Cloud API | Yes (Python + Chrome) | Yes (Node + Chrome) | Cloud API | Yes |
| HTTP/3 (QUIC) | Yes | No | No | No | N/A | Build-dependent |
| Site-specific APIs | 11 built-in providers | None | None | None | None | None |
| 1Password / Passkeys | Native | None | None | None | None | None |
| Cost | Free (local) | $0.004/page | Free (local) | Free (local) | Free tier / paid | Free (local) |
| Install size | ~15MB binary | Cloud service | ~300MB+ | ~300MB+ | Cloud service | ~5MB |
Quick Start
# Install (pick one)
brew install MikkoParkkola/tap/nab # Homebrew
cargo install nab # From crates.io
cargo binstall nab # Pre-built binary
Fetch a page as clean markdown
nab fetch https://example.com
Access authenticated content with your browser cookies
# Auto-detects your default browser and injects session cookies
nab fetch https://github.com/notifications --cookies brave
No login flows. No API keys. nab reads your existing browser cookies (Brave, Chrome, Firefox, Safari, Edge, Dia) and uses them for the request. You stay logged in — nab just borrows the session.
Bypass bot detection with fingerprint spoofing
# Realistic Chrome/Firefox/Safari profiles — not a headless browser signature
nab fetch https://protected-site.com
nab ships with anti-fingerprinting by default: realistic TLS fingerprints, browser-accurate headers, and randomized profiles. Sites see a normal browser, not a scraping tool.
Features
- 11 Site Providers — Specialized extractors for Twitter/X, Reddit, Hacker News, GitHub, Google Workspace, YouTube, Wikipedia, StackOverflow, Mastodon, LinkedIn, and Instagram. API-backed where possible for structured output.
- Google Workspace Extraction — Fetch Google Docs, Sheets, and Slides as clean markdown using browser cookies. Extracts comments and suggested edits from OOXML (docx/xlsx/pptx).
- HTML-to-Markdown — Automatic conversion with boilerplate removal. 25x token savings vs raw HTML.
- **PDF Ex