macOS menu bar app showing Claude API usage limits
Project description
Claude Usage Bar
See your Claude Pro/Max usage at a glance — right in your macOS menu bar.
Getting started
Install and run:
pip install claude-usage-bar
claude-usage-bar
To keep it running across restarts, click the menu bar icon and enable Launch at Login.
Requirements
- macOS
- Python 3.10+
- Claude Code installed and logged in
How it works
Claude Usage Bar periodically checks your current usage against the Anthropic API and displays a progress bar, so you always know where you stand against your plan's limits. Authentication is handled through your existing Claude Code login.
Debugging
Set CLAUDE_USAGE_LOG for verbose output when running from Terminal:
CLAUDE_USAGE_LOG=DEBUG claude-usage-bar
Contributing
Contributions are welcome — open an issue to discuss bugs or ideas.
Local development
uv venv --python 3.12 # or: python3 -m venv .venv (if you don't have uv)
source .venv/bin/activate
# Install the package and its dependencies in editable mode,
# so local source changes take effect without reinstalling
uv pip install -e . # or: pip install -e .
# Run the app
python -m claude_usage
# Run tests
uv pip install pytest # or: pip install pytest
python -m pytest tests/
License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file claude_usage_bar-0.2.1.tar.gz.
File metadata
- Download URL: claude_usage_bar-0.2.1.tar.gz
- Upload date:
- Size: 24.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74368f764fbb80cdcf4fb09e615752f60b2dc6092f1a22a0c85dcaf4ae173851
|
|
| MD5 |
ea2a03d65d1d696841fdec2a0f420f03
|
|
| BLAKE2b-256 |
14fc006f61bf3452e7305405a9beb190685958ab761f9ddba585c93c37606641
|
Provenance
The following attestation bundles were made for claude_usage_bar-0.2.1.tar.gz:
Publisher:
publish.yml on dlichtenberg/claude_usage_bar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_usage_bar-0.2.1.tar.gz -
Subject digest:
74368f764fbb80cdcf4fb09e615752f60b2dc6092f1a22a0c85dcaf4ae173851 - Sigstore transparency entry: 1153758072
- Sigstore integration time:
-
Permalink:
dlichtenberg/claude_usage_bar@37a8941c8225a9ca812d46e1d3c3801b5d15b23f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dlichtenberg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@37a8941c8225a9ca812d46e1d3c3801b5d15b23f -
Trigger Event:
release
-
Statement type:
File details
Details for the file claude_usage_bar-0.2.1-py3-none-any.whl.
File metadata
- Download URL: claude_usage_bar-0.2.1-py3-none-any.whl
- Upload date:
- Size: 18.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6b682c0882247786b61c856a084323ab10fa4fac539e7dc53f39295c0e69a02
|
|
| MD5 |
6a58cc5c053b2dc1870e2e8cd1c506af
|
|
| BLAKE2b-256 |
1c41b11db6c038c1ee1de00d6ab3eefe8e6b8d74354423d56da69538a5ef4607
|
Provenance
The following attestation bundles were made for claude_usage_bar-0.2.1-py3-none-any.whl:
Publisher:
publish.yml on dlichtenberg/claude_usage_bar
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
claude_usage_bar-0.2.1-py3-none-any.whl -
Subject digest:
c6b682c0882247786b61c856a084323ab10fa4fac539e7dc53f39295c0e69a02 - Sigstore transparency entry: 1153758202
- Sigstore integration time:
-
Permalink:
dlichtenberg/claude_usage_bar@37a8941c8225a9ca812d46e1d3c3801b5d15b23f -
Branch / Tag:
refs/tags/v0.2.1 - Owner: https://github.com/dlichtenberg
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@37a8941c8225a9ca812d46e1d3c3801b5d15b23f -
Trigger Event:
release
-
Statement type: