Skip to content

lugia19/Claude-Usage-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Claude Usage Tracker Extension

Track your Claude.ai token usage across conversations with this browser extension.

Also check out my other extension, [Claude QoL] (includes summarizing, TTS, STT and way more).

Overview

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.

Installation

Chrome

Chrome Web Store

Firefox

Mozilla Add-on

Desktop Client

MacOS/Windows installer

Features

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
  • Research - Most of it happens on the backend, so I can't track it

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

Privacy

The extension fetches your organization ID from claude.ai to synchronize usage data across devices using Firebase. For full details, see the privacy policy.

UI

Most elements in the chat UI (Namely the length, cost, estimate, caching status) have a tooltip explaining them further.

Claude Usage Tracker UI