explaingit

cosmo-nz/floating-claude-usage-tracker

Analysis updated 2026-05-18

0SwiftAudience · developer

TLDR

A floating Mac menu panel that shows your Claude AI subscription usage, quota resets, and optional API spend.

Mindmap

mindmap
  root((repo))
    What it does
      Shows Claude usage bars
      Floating always on top panel
      Optional API spend tracking
    Tech stack
      Swift
      SwiftUI
      macOS Keychain
    Features
      Threshold notifications
      Launch at login
      Status page check
    Risks
      Unofficial API endpoints
      Isolated parsers per source
    Audience
      Claude subscribers
      Mac developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Keep an eye on Claude subscription usage without switching to a browser tab.

USE CASE 2

Get a notification before hitting the 5 hour or weekly Claude usage limit.

USE CASE 3

Track Anthropic API spend alongside subscription usage in one panel.

USE CASE 4

Check Claude's service status at a glance from the panel footer.

What is it built with?

SwiftSwiftUIXcode

How does it compare?

cosmo-nz/floating-claude-usage-trackeraiduckman/claudeusage_latest_may2026arnabau/thermalpulse
Stars000
LanguageSwiftSwiftSwift
Setup difficultyeasymoderate
Complexity2/53/5
Audiencedevelopervibe coderdeveloper

Figures from each repo's GitHub metadata at analysis time.

In plain English

Floating Claude Usage Tracker is a small Mac app that shows how much of your Claude AI subscription quota you have used, displayed in a compact floating panel that stays on top of your other windows and can be dragged anywhere on screen. It tracks both the rolling 5 hour usage window and the weekly usage window as percentage bars, each showing how much time has passed in that window and when it resets. There is also an optional menu bar icon if you prefer that over the floating panel. To get live numbers, you sign in to Claude.ai through an embedded login screen inside the app, and the app securely stores your login session in the Mac's Keychain, the same secure storage system macOS uses for passwords. If you separately pay for Anthropic's API by usage, you can optionally turn on API spend tracking by entering an Anthropic admin API key, which adds a row showing your API costs to the panel. A small status indicator at the bottom of the panel also shows whether Claude's services are currently up, pulled from Anthropic's public status page. The app lets you adjust how often it refreshes, from every 10 seconds up to every 5 minutes, and can send a notification when your usage crosses 75, 90, or 95 percent of your quota. It can also be set to launch automatically when you log in to your Mac. The README is upfront that this app relies on unofficial, undocumented data formats from Claude's website and Anthropic's cost reporting system, which could change without warning and break the app's ability to read your usage. Each data source is handled by its own separate piece of code specifically so a break in one does not affect the others. Building the app requires macOS 14 or newer and Xcode 26 with Swift 6.3, and the project includes scripts to build a runnable app or package it into an installer disk image for other people to use.

Copy-paste prompts

Prompt 1
Explain how this app securely stores my Claude.ai login session on my Mac.
Prompt 2
Walk me through building and packaging this app into an installer using its scripts.
Prompt 3
What happens if Claude's usage data format changes and breaks this app's parser.
Prompt 4
Show me how to enable API spend tracking with an Anthropic admin key in this app.

Frequently asked questions

What is floating-claude-usage-tracker?

A floating Mac menu panel that shows your Claude AI subscription usage, quota resets, and optional API spend.

What language is floating-claude-usage-tracker written in?

Mainly Swift. The stack also includes Swift, SwiftUI, Xcode.

Who is floating-claude-usage-tracker for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.