she-llac

claude-counter: Track Tokens and Usage on Claude.ai

Claude Counter is a browser extension for Claude.ai that shows approximate conversation token counts, cache time, and session and weekly usage. It reads Claude’s API data to add live usage indicators while you chat.

View on GitHub Compare
Stars
2.5k
Forks
291
Last commit
8 months ago
Contributors
2
Releases, 12 months
2

Our take

Quietno commits in the last 90 days

Health score

25/100

How it is scored
Activity
33
Community
27
Issues
21
Pull requests
20
  • Fewer contributors than 86% of the projects we track

Claude Counter is a focused convenience tool for Claude.ai users, with recent releases but a quiet commit history and development concentrated among two contributors, mostly one person.

Good fit if

  • You use Claude.ai in Chrome, Edge, Chromium, or Firefox and want usage indicators in the chat interface.
  • Approximate token counts and locally displayed usage information are useful to your workflow.
  • You are comfortable installing a browser extension or userscript that reads Claude’s organization cookie and queries Claude’s usage endpoint.

Look elsewhere if

  • You need a tool for tracking usage across AI services, rather than specifically Claude.ai.
  • You need actively maintained development or prompt issue handling; there have been no commits or issues closed in the last 90 days.
  • You need token counts to be exact, since the conversation count is explicitly approximate.
All health signals
Last commit2026-03-21 (8 months ago)
Commits, last 90 days0
Releases, last 12 months2 (latest v0.4.2, 2026-01-31)
Contributors2 (top contributor: 78% of commits)
Issues closed, last 90 days0
Pull requests merged, last 90 days0
Project age11 months

Checked on 2026-11-19 with the GitHub API.

Overview

Claude Counter is a minimal browser extension for Claude.ai, Claude’s conversational AI service. It adds token, cache, and usage indicators to the chat interface so people using Claude can see conversation context and usage at a glance, rather than relying only on Claude’s rounded usage page.

It is aimed at people who regularly use Claude.ai and want to keep an eye on context limits or usage resets while working. It also offers a userscript option alongside browser extension packages.

Key Features

  • Estimates the current conversation’s token count and displays progress against the 200k context limit.
  • Shows a countdown for how long the conversation remains cached.
  • Displays session and weekly usage bars with reset countdowns.
  • Uses live SSE message_limit data for unrounded usage fractions, alongside Claude’s /usage endpoint.
  • Uses the vendored o200k_base tokenizer for token estimates.
  • Injects interface elements as Claude.ai pages change.
  • Keeps data local and makes requests only to claude.ai.

Use Cases

  • Claude.ai users can check how much context a long conversation is using before continuing.
  • People who rely on cached conversations can see how much time remains to continue at a lower cost.
  • Frequent users can monitor session and weekly usage without repeatedly opening Claude’s usage page.
  • Users who cannot or do not want to install a packaged extension can use the provided userscript.

What you need

Detected in the repository

  • JavaScript (main language on GitHub)

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

For Chrome, Edge, or Chromium, download the latest extension ZIP, enable Developer mode at chrome://extensions, and drop the ZIP onto the page. See the repository README for Firefox and userscript installation details.

Considerations

The project has had no commits in the last 90 days, despite two releases in the past year, and no issues were closed during that period. Most contributions come from one of its two contributors, so maintenance depends substantially on one person. Token counts are estimates, and the extension reads the lastActiveOrg cookie to query Claude’s /usage endpoint. It is designed for Claude.ai, not for tracking usage across other services.

Found this useful?

Share it with someone who would like claude-counter.