# cc-viewer

> A request monitoring system for Claude Code that captures and visualizes all API requests and responses in real time

Source: https://talira.ai/catalog/cc-viewer-t1qyar0z
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Command-line tool, Web app, Desktop app
- Categories: [developer tools / ai coding / session history](https://talira.ai/categories/developer-tools/ai-coding/session-history), [developer tools / ai coding / session managers](https://talira.ai/categories/developer-tools/ai-coding/session-managers), [developer tools / ai coding / remote access](https://talira.ai/categories/developer-tools/ai-coding/remote-access), [developer tools / ai coding / claude code](https://talira.ai/categories/developer-tools/ai-coding/claude-code)
- Platforms: macos, linux, windows[^3]
- Licence: MIT[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Self-hostable: yes[^1]
- Creator: chao wang (weiesky)

cc-viewer wraps [Claude Code](https://talira.ai/catalog/claude-code-jqv5000a.md): you type `ccv` instead of `claude`, every launch flag passes through, and a web viewer opens on port 7008 that captures each API request and response Claude Code sends, raw, labelled as main agent or sub-agent, with token and cache-hit counts and a diff of what changed since the previous main-agent request. A logger mode records the same for the plain `claude` command or the VS Code extension. Around that it has grown into a browser workspace for Claude Code: code diffs after each edit, file search and replace, a terminal, scheduled prompts with cron, an SDK mode where tool approvals and questions pop up in the browser, a planning mode called UltraPlan, per-model system prompts, proxy hot-switching, and coding from a phone on the same network by QR code, behind a token or password. It also ships as a desktop app for macOS, Linux and Windows.

## Links

- Website: https://weiesky.github.io/cc-viewer/
- GitHub: https://github.com/weiesky/cc-viewer

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://github.com/weiesky/homebrew-cc-viewer>[^1]

## Problems it solves

- see the exact requests Claude Code sends to the API, including the full system prompt and context
- debug why my coding agent's context is so big and what's filling it
- check token usage and prompt cache hit rate for each Claude Code request
- tell which requests came from the main agent and which from sub-agents
- watch a Claude Code session in a browser while it runs in my terminal
- keep coding with Claude Code from my phone on the same Wi-Fi
- approve Claude Code's tool calls from a web page instead of the terminal
- run a prompt in my Claude Code session on a schedule
- switch Claude Code between API proxies or model providers mid-session
- record the full raw request log of every Claude Code session for later review
- use custom system prompts for Kimi, DeepSeek, Qwen or GLM models behind Claude Code

## Features

- ccv is a drop-in replacement for claude that passes every argument through
- captures every raw API request and response in real time
- labels main-agent and sub-agent requests (Plan, Search, Bash)
- body diff of each main-agent request against the previous one
- per-request token usage, cache creation and cache hit rate
- logger mode for the native claude command or the VS Code extension
- per-session log format about 90% smaller than single JSONL files, with migration of old logs
- SDK mode: chat from the browser, with tool approvals and AskUserQuestion prompts as modals
- hard gate on high-risk commands such as rm -rf and npm publish, even with skip-permissions
- scheduled prompts by preset, cron or one-off time
- code diffs after edits, file search and replace across the project
- mobile access over the LAN by QR code, with token or password login
- proxy hot-switching with per-role profiles for main agent, sub-agents and teammates
- per-model system prompts, with presets for Kimi, DeepSeek, Qwen and GLM
- UltraPlan: a local panel of expert prompts that drafts a plan you approve before it runs
- desktop app for macOS, Linux and Windows

## Limitations

- Doesn't run alongside claude-code-router or claude-code-switch: their proxies conflict with its own, which it offers in their place[^1]

## Capabilities

- Has a command line tool: plan not known

## Trust

Overall: 0.28 out of 1.
Signals: backing 0.20, extensibility 0.20.

- created by chao wang (weiesky)

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Claude Code Viewer](https://talira.ai/catalog/claude-code-viewer-csjfs2q1.md): A full-featured web-based Claude Code client that provides complete interactive functionality for managing Claude Code projects
- [CloudCLI (Claude Code UI)](https://talira.ai/catalog/cloudcli-claude-code-ui-7wthpsmd.md): A desktop and mobile UI for Claude Code, Cursor CLI, and Codex
- [Claude Code Trace](https://talira.ai/catalog/claude-code-trace-fsyaps89.md): Claude Code session log viewer for JSONL files in ~/.claude/projects: browse conversations, tool calls, tokens, and live tail sessions on desktop, web, and TUI
- [claude-code-log](https://talira.ai/catalog/claude-code-log-fvq2sstj.md): A Python CLI tool that converts Claude Code transcript JSONL files into readable HTML and Markdown

## Sources

[^1]: https://github.com/weiesky/cc-viewer/blob/main/README.md (checked 23 Nov 2026)
[^2]: https://github.com/weiesky/cc-viewer/blob/main/LICENSE.md (checked 23 Nov 2026)
[^3]: https://github.com/weiesky/cc-viewer/releases (checked 23 Nov 2026)
