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

aicp-tracker

v1.4.0

Published

AI Code Pulse — Claude Code usage tracker for JIRA cost attribution

Readme

AI Code Pulse Tracker

A lightweight background daemon that tracks your Claude Code AI usage and sends it to your team's analytics backend — so you always know how many tokens your engineering work actually consumes and what it costs.

AI Code Pulse is an AI usage analytics dashboard inside Jira that tracks Claude Code usage alongside rework rate and PR cycle time. It analyzes token consumption, cost, model usage, and cache efficiency, and correlates these signals with engineering activity such as code rework across commits and pull requests, as well as repositories, files, authors, epics, and Jira tasks, to provide visibility into development efficiency and the impact of AI-assisted workflows.

The platform helps engineering teams understand:

  • AI usage and costs
  • Token consumption
  • Model usage
  • AI-assisted development patterns
  • Code rework and churn
  • Pull request lifecycle metrics

AI Code Pulse correlates Claude Code activity with commits, repositories, pull requests, Jira issues, epics, and engineering workflows to provide visibility into how AI tools are used across the organization.

Quick start

Global install

npm install -g aicp-tracker
aicp-tracker setup    # enter your email and Claude plan
aicp-tracker start    # launch the background daemon

Local install (per project)

npm install aicp-tracker
npx aicp-tracker setup
npx aicp-tracker start

That's it. The daemon runs silently and picks up every new session automatically.

Commands

| Command | Description | |---|---| | aicp-tracker setup | Interactive first-time configuration | | aicp-tracker start | Start the background daemon | | aicp-tracker stop | Stop the daemon | | aicp-tracker status | Show daemon status, project path, and pending records | | aicp-tracker flush | Manually send any queued records |

What gets tracked

For each Claude Code conversation turn, the daemon records:

  • Token counts — input, output, cache creation, cache read (including ephemeral variants)
  • Model — which Claude model was used
  • Git branch — branch name at the time of the session, with Jira task keys extracted automatically
  • File paths — which files were written or edited in each turn
  • Web usage — web search and web fetch request counts
  • Timestamps and session IDs — for timeline and per-session analysis

All data is written to a local write-ahead log first, so nothing is lost if the network is unavailable. Records are retried on the next cycle.

Configuration

Run aicp-tracker setup to configure:

  • Email — your work email (the one you use for GitHub or Bitbucket), used to attribute usage to your account
  • Plan — your Claude subscription tier, used to calculate token costs
{
  "email": "[email protected]",
  "plan": "Pro (monthly)"
}

Plans: Pro (monthly), Pro (yearly), Max, Team (standard), Team (premium), Enterprise

Project path detection

The daemon automatically locates the Claude Code session folder that matches your project by walking up from the configured projectPath until it finds a matching entry under ~/.claude/projects/. This works even when Claude Code names the project by a parent workspace folder rather than the exact directory.

Privacy

Only token counts, model names, file paths, git branch names, and timestamps are collected. Prompt content and code are never read or transmitted.

Requirements

  • Node.js 18+
  • Claude Code installed and in use