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

@mdayan896/cc-radar

v0.1.0

Published

Real-time token radar for Claude Code

Downloads

143

Readme

📡 @mdayan896/cc-radar

Node.js SQLite Server-Sent Events Claude Code License-MIT Follow on X

The Industrial Operator Console for your AI Agents.

@mdayan896/cc-radar is a lightweight, local-first control center for monitoring Claude Code, Codex, Cursor, and other Agentic tools. It transforms silent log files and local databases into a high-density, real-time telemetry dashboard.

Cc-Radar Dashboard Preview


⚡ Why cc-radar?

  • 100% Local & Private: No data ever leaves your machine. It reads the logs your CLIs already write.
  • Real-Time Telemetry: Uses Server-Sent Events (SSE) for instant dashboard updates without polling.
  • Agent Agnostic: Supports Claude Code, Codex, Cursor, and OpenCode out of the box.
  • Industrial Aesthetic: Designed like a mission control console for maximum focus and data density.
  • Optimized Workflows: Built-in "Action Center" with copy-ready payloads to optimize your agent's context and cost.

🛠️ Features

  • Live Session Monitoring: Track active sessions across multiple sources.
  • 📊 Token Analytics: Detailed burn-rate and time-left estimates (when token data is available).
  • 🚨 Error Tracking: Instant alerts for API failures, system errors, and redundant reads.
  • Burn-Rate Alerts: High-usage notifications to keep your budget in check.
  • 🕰️ Session History: Persistent local storage powered by SQLite (with JSON fallback).
  • 📉 Redundancy Detection: Highlighting when agents are stuck rereading the same files.

🚀 Quick Start

Ensure you have Node.js 18+ installed.

Zero-Install Workflow (Recommended)

Run the console immediately without cluttering your global space:

npx @mdayan896/cc-radar

This will automatically launch the Industrial Operator Console at http://localhost:7331.

Global Installation

If you use cc-radar frequently, install it globally to invoke it from any shell:

npm install -g @mdayan896/cc-radar
@mdayan896/cc-radar

🎮 Command Line Interface

npx @mdayan896/cc-radar \
  --root ~/.claude/projects \
  --history ~/.claude/history.jsonl \
  --db ~/.cc-radar/history.sqlite3 \
  --port 7331 \
  --no-open

🕵️ How it Works

  1. Discovery: Automatically detects local telemetry locations for all supported agents.
  2. Streaming: Watches for file changes and read only the newly appended data (minimal I/O).
  3. Aggregation: Normalizes raw JSONL/SQLite records into unified session models.
  4. Broadcast: Pushes live state updates to the browser-based Operator Console.

📂 Project Structure

  • bin/cc-radar.js: CLI Entry point.
  • src/radar.js: Core service and file-watcher orchestration.
  • src/scanner.js: Incremental data ingestion engine.
  • src/aggregator.js: Logic for session modeling and metric derivation.
  • public/: Frontend assets (Vanilla CSS & JS).

🤝 Contributing

Contributions are welcome! Please check the Implementation Roadmap for planned features.

  1. Clone the repo: git clone https://github.com/mdayan81/cc-radar.git
  2. Install dependencies: npm install
  3. Run tests: npm test
  4. Launch dev mode: npm run dev

📜 License

Distributed under the MIT License. See LICENSE for more information.


💬 Social

Follow for updates and feature drops: @mdayan24X