
Claude Usage Tracker par lugia19
Helps you track your claude.ai usage caps based on tokens sent, and syncs across devices using firebase.
372 Users372 Users
Vous avez besoin de Firefox pour utiliser cette extension
Métadonnées de l’extension
Captures d’écran

À propos de cette 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
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
Noté 5 par 6 personnes
Soutenir ce développeur
Le développeur de cette extension demande que vous l’aidiez à assurer la poursuite de son développement en lui versant une petite contribution.
Autorisations et donnéesEn savoir plus
Autorisations nécessaires :
- Vous afficher des notifications
- Accéder aux onglets du navigateur
- Accéder à vos données pour claude.ai
Autorisations facultatives :
- Accéder à vos données pour claude.ai
- Accéder à vos données pour raw.githubusercontent.com
- Accéder à vos données pour github.com
- Accéder à vos données pour api.anthropic.com
Plus d’informations
- Liens du module
- Version
- 4.0
- Taille
- 1,85 Mo
- Dernière mise à jour
- il y a 2 jours (23 juil. 2025)
- Catégories associées
- Licence
- GNU General Public License v3.0 uniquement
- Politique de confidentialité
- Lire la politique de confidentialité de ce module
- Historique des versions
- Étiquettes
- Ajouter à la collection
Notes de version pour la version 4.0
Complete refactor of the code.
Added caching support (with indicators).
Added tooltips on hover/long tap to explain things about the extension.
Added caching support (with indicators).
Added tooltips on hover/long tap to explain things about the extension.
Plus de modules créés par lugia19
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant
- Il n’y a aucune note pour l’instant