Skip to content

Sonichigo/tokenlens

Repository files navigation

TokenLens

Real-time token meter for AI coding agents (Claude Code, Codex, Cursor)

TokenLens is a GitLens-style observability layer that tracks token usage, costs, and performance across all your AI coding tools with a beautiful terminal UI, web dashboard, and VS Code extension.

Quick Start

npx tokenlens              # Launch terminal UI
npx tokenlens web          # Open web dashboard
npx tokenlens today        # View today's usage

Features

  • 📊 Real-time monitoring - Live token usage and cost tracking
  • 🎮 Gamification - XP, levels, achievements, daily quests
  • 🌐 Three surfaces - Terminal UI, web dashboard, VS Code extension
  • 🔄 Multi-tool support - Claude Code, Codex, Cursor
  • 💾 Local storage - All data stays on your machine (SQLite)
  • Fast & lightweight - Zero-config, instant startup

See GETTING_STARTED.md for detailed setup instructions and SPEC.md for architecture details.

License

MIT © sonichigo

About

Real-time token meter for AI coding agents (Claude Code, Codex, Cursor)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors