Claude Usage Tracker by lugia19
Helps you track your claude.ai usage caps based on tokens sent, and syncs across devices using firebase.
You'll need Firefox to use this extension
Extension Metadata
Screenshots
About this extension
This extension is meant to help you gauge how much usage of claude you have left, based on the tokens consumed by your messages.
The extension will correctly handle calculating token usage (via gpt-tokenizer) from:
- Files uploaded to the chat
- Project (knowledge files and instructions)
- Personal preferences
- Message history
- The system prompt of any enabled tools (analysis tool, artifacts) on a per-chat basis
- The AI's output (This is weighted as being 10x the usage of input tokens, a rough estimate)
It uses your organization ID on claude.ai to synchronize your usage amounts across devices via firebase.
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
Source code here: https://github.com/lugia19/Claude-Usage-Extension
The extension will correctly handle calculating token usage (via gpt-tokenizer) from:
- Files uploaded to the chat
- Project (knowledge files and instructions)
- Personal preferences
- Message history
- The system prompt of any enabled tools (analysis tool, artifacts) on a per-chat basis
- The AI's output (This is weighted as being 10x the usage of input tokens, a rough estimate)
It uses your organization ID on claude.ai to synchronize your usage amounts across devices via firebase.
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
Source code here: https://github.com/lugia19/Claude-Usage-Extension
Rate your experience
Support this developer
The developer of this extension asks that you help support its continued development by making a small contribution.
PermissionsLearn more
This add-on needs to:
- Access browser tabs
- Access your data for claude.ai
This add-on may also ask to:
- Access your data for claude.ai
- Access your data for raw.githubusercontent.com
- Access your data for api.anthropic.com
More information
- Add-on Links
- Version
- 3.1.2
- Size
- 1.5 MB
- Last updated
- 11 hours ago (Dec 25, 2024)
- Related Categories
- License
- GNU General Public License v3.0 only
- Privacy Policy
- Read the privacy policy for this add-on
- Version History
- Tags
Add to collection
Release notes for 3.1.2
Bugfixes.
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