프로젝트
GitHub에서 보기
she-llac/claude-counter
소개
claude.ai에 토큰 수, 캐시 타이머, 사용량 막대를 표시하는 간단한 브라우저 확장 프로그램입니다.
AI 및 머신러닝What you can do
- Token count — Approximate token count for the current conversation, with a mini progress bar against the 200k context limit
- Cache timer — Countdown showing how long the conversation remains cached (cheaper to continue)
- Usage bars — Session (5-hour) and weekly (7-day) usage from Claude's native API, with progress bars and reset countdowns (more accurate than the rounded /usage page)
측정된 스타 증가
- in 24h
- +2
- in 7 days
- +5
- in 15 days
- +13
- in 1 month
- +24
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalClaude Counter
A minimal browser extension that shows token count, cache timer, and usage bars on claude.ai.

Features
- Token count — Approximate token count for the current conversation, with a mini progress bar against the 200k context limit
- Cache timer — Countdown showing how long the conversation remains cached (cheaper to continue)
- Usage bars — Session (5-hour) and weekly (7-day) usage from Claude's native API, with progress bars and reset countdowns (more accurate than the rounded /usage page)
Installation
Chrome / Edge / Chromium
- Download
claude-counter-0.4.2.zip - Go to
chrome://extensionsand enable Developer mode - Drag and drop the zip onto the page
Firefox
- Download
claude-counter-0.4.2.xpi - Drag it into any Firefox window and click Add
Userscript
- Install the userscript from
claude-counter.user.js
How it works
- Intercepts Claude's API responses to read conversation data and usage info
- Uses a vendored tokenizer (
o200k_base) for approximate token counting - Uses Claude’s
/usageplus live SSEmessage_limitdata; the SSE provides exact, unrounded utilization fractions, so the progress bars are more accurate than the rounded percentages shown on Claude’s native /usage page - Watches for DOM changes to inject UI elements as you navigate
Privacy
- All data stays local — no external servers, no tracking
- Reads your
lastActiveOrgcookie to query Claude's/usageendpoint - Makes requests only to
claude.ai
Credits
- Token counting via gpt-tokenizer (MIT)
- Inspired by Claude Usage Tracker by lugia19
License
MIT
관련 프로젝트 살펴보기
불러오는 중…