only-cli
A local web browsing CLI gives AI agents compact page views, with support for mostly static websites, JSON APIs and authenticated sessions under MIT.

only-cli is a local web browsing CLI for AI agents that need to read websites without filling their context with raw HTML or screenshots. It suits coding assistants such as Claude Code and Codex that look up documentation, inspect repositories or read online discussions.
- Compact page views: Agents receive numbered text and links, then follow a link using the saved page without handling its URL directly.
- Website shortcuts: Shortcuts cover GitHub, GitLab, Reddit, Stack Overflow, DuckDuckGo and other sites, including repository files, issues, search results and discussion threads.
- JSON API reading: The tool presents API records as numbered items, separates shared fields from differing values and reduces repeated text.
- Authenticated browsing: Session cookies let agents read pages behind a login, with cookies stored separately from page snapshots and excluded from JSON output.
The CLI is open source under the MIT license. It runs on your machine, supports Windows, and doesn't require a browser extension or background service. Fetching websites requires an internet connection. Page state, search caches and session cookies stay on local disk; authenticated requests send cookies to the relevant site.
Its main scope is mostly static websites. Some shortcuts use public feeds or APIs, and browser-like requests can get past some site blocks. It refuses private and internal network addresses.