Context Canary is an indispensable token counter overlay designed for Claude users, offering proactive warnings to prevent the loss of valuable conversation context. It leverages the same tiktoken tokenizer as Claude to accurately track your current token usage. The tool features a floating visual bar that dynamically changes color (green, yellow, red) as you approach Claude's context limit, making it easy to gauge your conversation's density. With configurable warning and danger thresholds, Context Canary ensures you have ample time to log memories, save notes, or conclude your interaction before context compaction hits. It also boasts a 'bulletproof' user experience, automatically spawning its underlying MCP server if not running, requiring no manual intervention.
주요 기능
01Automatic spawning of the MCP server for seamless operation
02Customizable warning and danger thresholds for compaction alerts
03Supports both Claude Desktop (manual trigger) and Claude Code (automatic hooks)
044 GitHub stars
05Real-time token usage tracking using tiktoken
06Dynamic visual bar indicating context load with color-coded alerts