Firefox Browser Add-ons
Log in
Preview of Claude Usage Tracker

Claude Usage Tracker by lugia19

Helps you track your claude.ai usage caps based on tokens sent, and syncs across devices using firebase.

5 (6 reviews)5 (6 reviews)
383 Users383 Users
You'll need Firefox to use this extension
Download Firefox
Download file

Extension Metadata

Screenshots
A screenshot showing the extension's UI, integrated with the website.
About this extension
This extension helps you monitor how much of your Claude usage quota remains. It calculates token consumption from various sources including uploaded files, project knowledge, chat history, and AI responses.

Most elements in the chat UI (Namely the length, cost, estimate, caching status) have a tooltip explaining them further! Be sure to check them out.

The extension tracks token usage from:
- Files - Documents uploaded to chats or synced via Google Drive, Github, etc
- Projects - Knowledge files and custom instructions
- Personal preferences - Your configured settings
- Message history - Full conversation context
- System prompts - Enabled tools (analysis, artifacts) on a per-chat basis
- MOST MCPs/Integrations - There are some limitations in cases where a "Knowledge" object is returned that I can't access, such as with web search

Limitations:
- Web search results - The full results are not exposed in the conversation history, so I can't track them properly (See above, Knowledge objects)
- Research - Most of it happens on the backend, so I can't track it at all

Token calculation is handled either through Anthropic's API (if you provide your key) or via gpt-tokenizer.

It will additionally fetch your organization ID on claude.ai to synchronize your usage amounts across devices via firebase, as well as to store data on the amount of tokens you consumed before hitting the usage cap (to crowdsource more accurate counts).

The source code can be found here: https://github.com/lugia19/Claude-Usage-Extension

About the required permissions:
Host Permissions:
- Claude.ai: Needed to read the tokens and usage amounts.
- Github: Needed to fetch the up to date usage caps and settings from the repo.

Actual permissions:
- Tabs: To send updates from the background script to the content scripts
- Storage: To store and track usage amounts
- Alarms: To periodically sync with firebase, and check for the cap reset
- Cookies: To get the sessionKey required to fetch conversation content (This is never stored, not even locally, just used temporarily - blame MV3 for this being required)
- webRequest: To detect when a new message is sent, or data recieved
- notifications: To notify you when your usage has been re-filled

Source code here: https://github.com/lugia19/Claude-Usage-Extension
Rated 5 by 6 reviewers
Log in to rate this extension
There are no ratings yet

Star rating saved

5
6
4
0
3
0
2
0
1
0
Read all 6 reviews
Permissions and dataLearn more

Required permissions:

  • Display notifications to you
  • Access browser tabs
  • Access your data for claude.ai

Optional permissions:

  • Access your data for claude.ai
  • Access your data for raw.githubusercontent.com
  • Access your data for github.com
  • Access your data for api.anthropic.com
More information
Add-on Links
  • Homepage
  • Support Email
Version
4.0
Size
1.85 MB
Last updated
16 days ago (23 Jul 2025)
Related Categories
  • Appearance
Licence
GNU General Public Licence v3.0 only
Privacy Policy
Read the privacy policy for this add-on
Version History
  • See all versions
Tags
  • chat
Add to collection
Report this add-on
Support this developer

The developer of this extension asks that you help support its continued development by making a small contribution.

Contribute now

Release notes for 4.0
Complete refactor of the code.
Added caching support (with indicators).
Added tooltips on hover/long tap to explain things about the extension.
More extensions by lugia19
  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

  • There are no ratings yet

Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Browsers

  • Desktop
  • Mobile
  • Enterprise

Products

  • Browsers
  • VPN
  • Relay
  • Monitor
  • Pocket
  • Bluesky (@firefox.com)
  • Instagram (Firefox)
  • YouTube (firefoxchannel)
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike Licence v3.0 or any later version.