Claude Code usage

Claude Code Tracker

Self-hosted multi-user analytics dashboard for Claude Code — track sessions, conversations, token usage, and activity across your team.

Install

From source
git clone https://github.com/m-shirt/claude-code-tracker.git

From the README

Claude Code Tracker
A self-hosted, multi-user analytics dashboard for Claude Code — track sessions, conversations, token usage, and activity across your whole team.

Live Demo →

Overview

Claude Code Tracker lets you (and your team) sync local ~/.claude/ data to a central server and explore it through a clean web dashboard. Every session, conversation, tool call, and prompt is indexed and searchable. Admins get a full cross-user view; individual users see only their own data.

Features

Screenshots

Tech Stack

- Backend — Node.js, Express, SQLite (better-sqlite3), zlib compression
- Auth — JWT + bcrypt, role-based (admin / user)
- Frontend — Vanilla HTML/CSS/JS, zero build step
- Deployment — Docker

Getting Started

Prerequisites

- Node.js ≥ 18
- npm

Run as a Node.js App

Open http://localhost:3456 — the first user to register automatically becomes admin.

For development with auto-restart on file changes:

To run in the background as a persistent process using pm2:

Syncing Your Data

Once logged in, go to the Sync page to get your personal one-liner. It looks like this:

The sync client reads ~/.claude/ (sessions, history, stats) and uploads it to the server. It runs entirely from a single script — no install required.

Options:

Automate with cron:

Deployment

Docker

Environment Variables

Project Structure

Dependencies

Production

Dev Only

All dependencies are installed via:

No native addons are required except better-sqlite3 which compiles a small C++ binding automatically during npm install. Node.js ≥ 18 and a standard C++ build toolchain (pre-installed on most systems) are sufficient.

Roles & Permissions

The first registered user automatically receives the admin role.

Demo Mode

Admins can seed realistic demo data (multiple users, projects,…
Read the full README on GitHub

Details

Language
HTML
Last updated
3 April 2026

FAQ

What is Claude Code Tracker?

Self-hosted multi-user analytics dashboard for Claude Code — track sessions, conversations, token usage, and activity across your team. It is a usage for Claude Code, from m-shirt/claude-code-tracker on GitHub.

How do I install Claude Code Tracker?

Clone m-shirt/claude-code-tracker from GitHub and follow the setup steps in its README.

Is Claude Code Tracker popular?

m-shirt/claude-code-tracker has 28 GitHub stars and 3 forks. It was last updated on 3 April 2026.

More usage & cost trackers

Browse the most popular Claude Code mods, all usage & cost trackers, or the skills and MCP server directories.