npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

cc-viewer

v1.6.233

Published

Claude Code Logger visualization management tool

Downloads

90,557

Readme

CC-Viewer

A Vibe Coding toolkit distilled from hands-on development experience, built on top of Claude Code:

  1. Push the capability ceiling — run /ultraPlan and /ultraReview locally, so your project code never has to be fully exposed to Claude's cloud;
  2. Multi-device adaptive — code from mobile devices over your local network, the web build adapts to every scenario for embedding into browser extensions or OS split views, and a native installer is also provided;
  3. Full audit trail — full Claude Code payload interception and analysis, perfect for logging, debugging, learning, and reverse-engineering;
  4. Knowledge sharing — comes with accumulated study notes and hands-on experience (look for the "?" icons throughout the app);
  5. Native experience preserved — only augments Claude Code's capabilities without any substantive changes to its core, keeping the native experience intact;
  6. Third-party model support — works with deepseek-v4-*, GLM 5.1, Kimi K2.6, with built-in cc-switch capability for hot-swapping third-party tools at any time.

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

Usage

Prerequisites

Install ccv

Install via npm

npm install -g cc-viewer --registry=https://registry.npmjs.org

Install via Homebrew (recommended for macOS / Linux)

brew tap weiesky/cc-viewer
brew install cc-viewer
brew upgrade cc-viewer   # for updates — do NOT use npm install -g for brew installs

Launch

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

ccv                    # == claude (interactive mode)

The author's most-used command is:

ccv -c --d             # == claude --continue --dangerously-skip-permissions
                       # ccv passes through all Claude Code launch arguments — combine them however you like

After launching in programming mode, a web page will open automatically.

CC-Viewer also ships as a native desktop app: Download page

Logger Mode

If you still prefer the native claude tool or the VS Code extension, use this mode.

In this mode, launching claude will automatically start a logging process that records request logs to ~/.claude/cc-viewer/yourproject/date.jsonl

Enable logger mode:

ccv -logger

When the console cannot print the specific port, the default first port is 127.0.0.1:7008. Multiple instances use sequential ports like 7009, 7010.

Uninstall logger mode:

ccv --uninstall

Troubleshooting

If you encounter issues starting cc-viewer, here is the ultimate troubleshooting approach:

Step 1: Open Claude Code in any directory.

Step 2: Give Claude Code the following instruction:

I have installed the cc-viewer npm package, but after running ccv it still doesn't work properly. Please check cc-viewer's cli.js and findcc.js, and adapt them to the local Claude Code deployment based on the specific environment. Keep the scope of changes as constrained as possible within findcc.js.

Letting Claude Code diagnose the issue itself is more effective than asking anyone or reading any documentation!

After the above instruction is completed, findcc.js will be updated. If your project frequently requires local deployment, or if forked code often needs to resolve installation issues, keeping this file lets you simply copy it next time. At this stage, many projects and companies using Claude Code are not deploying on Mac but rather on server-side hosted environments, so the author has separated findcc.js to make it easier to track cc-viewer source code updates going forward.

Other Commands

See:

ccv -h

Silent Mode

By default, ccv runs in silent mode when wrapping claude, keeping your terminal output clean and consistent with the native experience. All logs are captured in the background and can be viewed at http://localhost:7008.

Once configured, use the claude command as normal. Visit http://localhost:7008 to access the monitoring interface.

Features

Programming Mode

After launching with ccv, you can see:

You can view code diffs directly after editing:

While you can open files and code manually, manual coding is not recommended — that's old-school coding!

Mobile Programming

You can even scan a QR code to code from your mobile device:

Fulfill your imagination of mobile programming. There's also a plugin mechanism — if you need to customize for your coding habits, stay tuned for plugin hooks updates.

Logger Mode (View Complete Claude Code Sessions)

  • Captures all API requests from Claude Code in real time, ensuring raw text — not redacted logs (this is important!!!)
  • Automatically identifies and labels Main Agent and Sub Agent requests (subtypes: Plan, Search, Bash)
  • MainAgent requests support Body Diff JSON, showing collapsed differences from the previous MainAgent request (only changed/new fields)
  • Each request displays inline Token usage statistics (input/output tokens, cache creation/read, hit rate)
  • Compatible with Claude Code Router (CCR) and other proxy scenarios — falls back to API path pattern matching

Conversation Mode

Click the "Conversation Mode" button in the top-right corner to parse the Main Agent's complete conversation history into a chat interface:

  • Agent Team display is not yet supported
  • User messages are right-aligned (blue bubbles), Main Agent replies are left-aligned (dark bubbles)
  • thinking blocks are collapsed by default, rendered as Markdown — click to expand and view the thinking process; one-click translation is supported (feature is still unstable)
  • User selection messages (AskUserQuestion) are displayed in Q&A format
  • Bidirectional mode sync: switching to conversation mode auto-scrolls to the conversation corresponding to the selected request; switching back to raw mode auto-scrolls to the selected request
  • Settings panel: toggle default collapse state for tool results and thinking blocks
  • Mobile conversation browsing: in mobile CLI mode, tap the "Conversation Browse" button in the top bar to slide out a read-only conversation view for browsing the complete conversation history on mobile

Log Management

Via the CC-Viewer dropdown menu in the top-left corner:

Log Compression Regarding logs, the author wants to clarify that the official Anthropic definitions have not been modified, ensuring log integrity. However, since individual log entries from the 1M Opus model can become extremely large in later stages, thanks to certain log optimizations for MainAgent, at least 66% size reduction is achieved without gzip. The parsing method for these compressed logs can be extracted from the current repository.

More Useful Features

You can quickly locate your prompts using the sidebar tools.


The interesting KV-Cache-Text feature lets you see exactly what Claude sees.


You can upload images and describe your needs — Claude's image understanding is incredibly powerful. And as you know, you can paste images directly with Ctrl+V, and your complete content will be displayed in the conversation.


You can customize plugins, manage all CC-Viewer processes, and CC-Viewer supports hot-switching to third-party APIs (yes, you can use GLM, Kimi, MiniMax, Qwen, DeepSeek — although the author considers them all quite weak at this point).


More features waiting to be discovered... For example: the system supports Agent Team, and has a built-in Code Reviewer. Codex Code Reviewer integration is coming soon (the author highly recommends using Codex to review Claude Code's code).

License

MIT