# oc (only-cli)

> Updated 2026-08-25 · type: tool · category: data-scraping · status: active · rev 1

Open-source CLI that fetches a web page and returns a compact numbered view instead of raw HTML — a cheap web-read layer for scraping/enrichment agents.…

- Open source: yes (MIT)
- Self-hostable: yes
- Pricing model: free
- Best for: AI agents and developers (Claude Code, Cursor, Codex, Copilot) needing token-efficient CLI access to websites.
- Last verified: 2026-09-04

- **Canonical:** https://gtmstacker.com/registry/tool/oc-only-cli/
- **Source:** [github · only-cli/oc](https://github.com/only-cli/oc)
- **Tags:** data-scraping, agent-tools, web-content, cli, mcp
- **Repository:** https://github.com/only-cli/oc

## Is oc (only-cli) open source?

Yes — MIT-licensed.

## How much does oc (only-cli) cost?

It is free to use.

## Can I self-host oc (only-cli)?

Yes — it can be self-hosted.


---

Open-source CLI that fetches a web page and returns a compact numbered view instead of raw HTML — a cheap web-read layer for scraping/enrichment agents. Installs as a CLI and as an agent skill (npx skills add).

## Provenance

- 309 stars (young). MIT verified. Project reports ~142× fewer tokens vs raw HTML (their figure). Composes with a CRM as read-the-web → persist-records.
- Curated from the GTM Stacker signal registry (news_registry.json); license independently checked.
