Documentation

Fox News CLI

foxnews-pp-cli

Install

npx -y @mvanhorn/printing-press-library install foxnews

Installs the CLI binary and the agent skill for Claude Code, Codex, Cursor, Gemini CLI, Copilot, and more. Add --cli-only or --skill-only for one half. Requires Node.

Documentation

Read Fox News headlines from the public Google Publisher RSS feeds on moxie.foxnews.com. No API key, no scraping — one HTTP GET per request.

Quick start

# Latest headlines (all sections) — default
foxnews-pp-cli headlines --limit 10 --json

# Politics only
foxnews-pp-cli headlines --section politics --limit 5 --json

# List section ids
foxnews-pp-cli sections --json

# Health check
foxnews-pp-cli doctor --json

Sections

--sectionFeed
latest (default)latest.xml
worldworld.xml
politicspolitics.xml
sciencescience.xml
healthhealth.xml
sportssports.xml
traveltravel.xml
techtech.xml
opinionopinion.xml
videovideos.xml

Alias: videos maps to video.

Configuration

VariablePurpose
FOX_NEWS_FEED_BASEOptional RSS base URL (default https://moxie.foxnews.com/google-publisher)

Output

  • Piped (scripts/agents): JSON by default, wrapped as {"meta":{...},"results":[...]}
  • Terminal: table by default; add --json or --agent for JSON

--agent sets --json --compact --no-input --no-color --yes. Compact keeps title, link, published, section on headlines.

foxnews-pp-cli headlines --section sports --limit 15 --agent
foxnews-pp-cli agent-context --pretty

This CLI does not ship Drudge-style sync, splash, breaking, or which — use sections, headlines, and agent-context instead.

License

Apache-2.0. See LICENSE and NOTICE.

For agents: pass /documentation/foxnews/agents.md to install this CLI from a prompt.