Skip to main content

macOS menu bar app for Anthropic API usage and cost tracking

Project description

Claude Usage Mac Menu

doctordoc logo

A macOS menu bar app that shows your Anthropic API spend and token usage in real time - like a battery indicator for your API budget.


Get started

$ pip install claude-usage
$ claude-usage

Pre-requsite: Having authenticated with Claude Code:

$ claude-code login

How it works

The data is retrieved from Anthropic's Usage API with the OAuth token saved by Claude Code in your macOS Keychain.

which provides up-to-date information on your organization's API usage and costs. The app polls the API every 60 seconds and updates the menu bar title and dropdown with your current token usage and session / weekly reset window.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_usage-0.0.11.tar.gz (16.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_usage-0.0.11-py3-none-any.whl (6.6 kB view details)

Uploaded Python 3

File details

Details for the file claude_usage-0.0.11.tar.gz.

File metadata

  • Download URL: claude_usage-0.0.11.tar.gz
  • Upload date:
  • Size: 16.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_usage-0.0.11.tar.gz
Algorithm Hash digest
SHA256 d567f71b7fd318c2bc34153ba8a6ca786d95701f8508f65c318b1444b9510cb9
MD5 f794a9d0b2b80e7ee21ebce7e3a5982f
BLAKE2b-256 7423ca66a9d2677c352f5de891ae9c6cecba59b113cffc6a919ba173e766fb55

See more details on using hashes here.

File details

Details for the file claude_usage-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: claude_usage-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.4 {"installer":{"name":"uv","version":"0.11.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for claude_usage-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 35826ab9074387a864562161f73ff4eb1bc6caf7a567c5c4a29f9372f6aaa2e9
MD5 cd5c908ac5663bbbac00807c44ab4989
BLAKE2b-256 cf4f777323403facad9de5611a3293655f8225b7e3cf1f1e09cc79f4fa69c367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page