Skip to main content
The Reader CLI lets you scrape, crawl, and take screenshots from the command line. It’s a thin wrapper around the Reader API - no local browser needed. Built for AI coding agents like Claude Code, Cursor, and Codex, but works great for humans too.

Install

Or run directly without installing:

Authentication

Run once to save your API key:
The key is saved to ~/.reader/config.json and used for all future commands.
Get your API key from the Reader dashboard.

Scrape a page

Output is clean markdown, printed to stdout. Pipe it anywhere:

Formats

JSON output

Get the full API response with metadata:

Options

Crawl a site

Discover and scrape all pages on a website:
Each page’s markdown is output separated by ---. Save to individual files:

URL discovery only

List all discovered URLs without scraping content:

Options

Check status

Verify your setup and see your credit balance:

Check credits

Configuration

Config is stored at ~/.reader/config.json. Environment variables always take precedence:

For AI agents

The CLI is designed to work seamlessly with AI coding agents:
  • Markdown to stdout - agents read the content directly
  • Errors to stderr - never pollutes piped output
  • Exit codes - 0 on success, 1 on error
  • No interactive prompts - everything via flags and env vars
  • --json flag - structured output for programmatic use
Example in a Claude Code or Cursor workflow: