AI Token Monitor: macOS Tool Tracks Local Claude Usage and Cost

✍️ OpenClawRadar📅 Published: March 25, 2026🔗 Source
AI Token Monitor: macOS Tool Tracks Local Claude Usage and Cost
Ad

AI Token Monitor: Local Claude Usage Tracking

A developer has created AI Token Monitor, a macOS menu bar application that monitors Claude AI usage by reading local session files. The tool provides real-time tracking without requiring API keys or account access.

How It Works

The app reads local Claude session files stored at ~/.claude/projects/**/*.jsonl. All data remains on the user's machine, with no information sent to external servers except for an optional leaderboard feature (opt-in) that shares aggregated daily stats only—no code or conversations.

Tracking Results from One User

After 35 days of tracking:

  • 6.5M tokens consumed—equivalent to $4,924 at API pricing
  • Average of 304K tokens per day across 1,000+ messages
  • Model distribution: 78% Opus 4.6, 21% Haiku 4.5, 1% Sonnet 4.6
  • Peak day: March 4th with 698K tokens
Ad

Features Available

  • Real-time cost equivalent display in menu bar
  • Daily, weekly, and monthly usage trends
  • Model usage breakdown
  • GitHub-style activity heatmap
  • Cache hit ratio tracking (for prompt efficiency analysis)
  • Optional leaderboard for comparing usage with others

Insights Gained from Tracking

The developer discovered:

  • Higher Haiku usage than expected, with significant cache reads
  • Most productive days didn't correlate with highest token usage
  • Weekday vs weekend usage patterns differed substantially

Availability and Feedback

The tool is open source under MIT license and currently available only for macOS Apple Silicon via .dmg download. The developer is seeking feedback on additional useful stats, interest in a Windows version, and experiences with the leaderboard feature.

📖 Read the full source: r/ClaudeAI

Ad

👀 See Also

PocketBot: iOS app uses Claude to generate deterministic JavaScript automations from natural language
Tools

PocketBot: iOS app uses Claude to generate deterministic JavaScript automations from natural language

PocketBot is an iOS mobile automation app that uses Claude via AWS Bedrock to convert plain-language requests into self-contained JavaScript scripts. The LLM writes the code once, then the deterministic scripts run on schedule in a sandboxed runtime without AI involvement.

OpenClawRadar
Octopoda: Open Source Memory Layer for Local AI Agents
Tools

Octopoda: Open Source Memory Layer for Local AI Agents

Octopoda is an open source memory layer that gives local AI agents persistent memory between sessions, semantic search, loop detection, and crash recovery. It runs fully offline with a 33MB embedding model and integrates with LangChain, CrewAI, AutoGen, and OpenAI Agents SDK.

OpenClawRadar
Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event
Tools

Claude Code v2.1.76 System Prompt Updates: Security Monitor Refinements and New Hook Event

Claude Code v2.1.76 includes updates to system prompts with 43 new tokens, featuring refinements to the security monitor for autonomous agents and the addition of a PostCompact hook event. Changes include clarified sensitive data detection, expanded code deserialization examples, and improved formatting for irreversible local destruction guidance.

OpenClawRadar
TUI Studio: Visual Terminal UI Design Tool in Alpha
Tools

TUI Studio: Visual Terminal UI Design Tool in Alpha

TUI Studio is a Figma-like visual editor for designing terminal user interfaces with drag-and-drop components, real-time ANSI preview, and planned export to six frameworks including Ink, BubbleTea, and Textual. Currently in alpha with non-functional exports, it's available for macOS, Windows, and Docker.

OpenClawRadar