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

@amitxlabs/ai-lens

v0.1.0

Published

AI Developer Intelligence Suite — inspect Claude Code, Cursor, GitHub Copilot, Aider and Continue from one terminal command

Downloads

26

Readme

AI Lens

AI Developer Intelligence Suite — inspect Claude Code, Cursor, GitHub Copilot, Aider and Continue from a single terminal command.

npx ai-lens

What it shows

Terminal output

  • Detected AI tools with version, config paths, storage usage
  • Claude Code: hooks, memory files, projects, MCP servers, subagents, plugins, cost tracking status
  • Activity heatmap (GitHub-style, 24 weeks) and 30-day sparkline
  • Per-tool health score with recommendations
  • Storage breakdown across all AI tools

Web dashboard (--web)

  • Sidebar navigation: Overview · Activity · Tools · Config
  • Glowing metric strip (sessions, active days, streak, subagents, MCPs, health score)
  • Sessions-over-time area chart with 30d / 90d toggle
  • Config health radar across 6 dimensions
  • Weekday and hour-of-day distribution charts
  • GitHub-style heatmap (26 weeks)
  • Tool completeness rings with per-tool breakdowns
  • Storage donut, model detection, full hooks table, env var optimizer

All charts are pure SVG — no CDN dependencies, works fully offline.

Usage

# Scan all tools (terminal output)
npx ai-lens

# Open browser dashboard
npx ai-lens --web

# Scan a single tool
npx ai-lens --tool claude
npx ai-lens --tool cursor

# JSON output (pipe-friendly)
npx ai-lens --json
npx ai-lens --json | jq '.claude.sessionCount'

# Export JSON report to file
npx ai-lens --export report.json

# Extended output (storage breakdown, allowed tools, permissions)
npx ai-lens --verbose

Tools scanned

| Tool | Config paths inspected | |---|---| | Claude Code | ~/.claude/settings.json, costs.jsonl, history.jsonl, projects, hooks, MCP auth cache | | Cursor | ~/.cursor/, ~/Library/Application Support/Cursor, extensions dir, MCP config | | GitHub Copilot | ~/.config/gh-copilot/config.yml, VS Code / Cursor extensions | | Aider | ~/.aider.conf.yml, ./aider.conf.yml, binary detection | | Continue | ~/.continue/config.yaml, ~/.continue/config.json |

Install globally

npm install -g ai-lens
ai-lens --web

Requirements

  • Node.js ≥ 16
  • macOS or Linux (Windows: terminal output works; web dashboard works; some paths differ)

License

MIT