Claude Code session

cc-viewer

Captures and visualises all Claude Code API requests and responses in real time.

1,089 stars 124 forksSessions & history Source

Install

Install
npm install -g cc-viewer --registry=https://registry.npmjs.org
From source
git clone https://github.com/weiesky/cc-viewer.git

From the README

CC-Viewer

🌐 Website & feature tour: weiesky.github.io/cc-viewer — available in 18 languages (e.g. 简体中文, 日本語).

Based on Claude Code, a Vibe Coding tool that distills and accumulates real development experience:

English | 简体中文 | 繁體中文 | 한국어 | 日本語 | Deutsch | Español | Français | Italiano | Dansk | Polski | Русский | العربية | Norsk | Português (Brasil) | ไทย | Türkçe | Українська

Usage

Prerequisites

* Make sure nodejs 20.0.0+ is installed; Download and install
* Make sure claude code is installed; Installation guide

Install ccv

Install via npm

Install via Homebrew (recommended for macOS / Linux)

Install via pnpm (global)

How to start

ccv is a drop-in replacement for claude — all arguments are passed through to claude while the Web Viewer is launched alongside it.

The command I use most often is:

Once started in programming mode, the web page opens automatically.

cc-viewer also ships as a native desktop app: download page

SDK mode (headless, ccv --sdk)

ccv --sdk runs the session through the Agent SDK instead of an interactive terminal — no main PTY, messages are sent from the web UI, and everything else (session logs, streaming typewriter, usage stats) works the same as in terminal mode. The header still exposes a Terminal button, but it opens the standalone scratch multi-tab shell (unrelated to the SDK session), not a project PTY.

Approvals (Bash/Edit/Write/WebFetch/…) pop up in the browser with allow / deny / allow-for-session, and AskUserQuestion / plan prompts appear as modals. npm publish always requires an explicit approval — even with --d. Requires the @anthropic-ai/claude-agent-sdk package (bundled with cc-viewer); falls back to terminal mode if unavailable.

Choose the Claude executable

On the local CCV page, open Global Settings → Claude…
Read the full README on GitHub

Details

Language
JavaScript
License
MIT
Last updated
3 November 2026

FAQ

What is cc-viewer?

Captures and visualises all Claude Code API requests and responses in real time. It is a session for Claude Code, from weiesky/cc-viewer on GitHub.

How do I install cc-viewer?

Run npm install -g cc-viewer --registry=https://registry.npmjs.org, then follow the setup in the README.

Is cc-viewer popular?

weiesky/cc-viewer has 1,089 GitHub stars and 124 forks. It was last updated on 3 November 2026.

More sessions & history

Browse the most popular Claude Code mods, all sessions & history, or the skills and MCP server directories.