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

How it works

The data is retrieved from Anthropic's Messages API (/v1/messages) via the OAuth token saved in the macOS Keychain by Claude Code.

The API is polled every 60 seconds to provide the session / weekly limits and reset countdown for both.

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.14.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.14-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_usage-0.0.14.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.14.tar.gz
Algorithm Hash digest
SHA256 46250e8d6b7650d276304a1da0a9478cf5d2518b8f58d40f61e5329d1c7d91d2
MD5 503c02b4ff9bc27bdb0babd07cd4ed46
BLAKE2b-256 ca6a92fb8de94ebacf58e23c7febcffa5b42a7e82bdb7ef176d02b94fdeed5cd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: claude_usage-0.0.14-py3-none-any.whl
  • Upload date:
  • Size: 9.4 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.14-py3-none-any.whl
Algorithm Hash digest
SHA256 71d1b9f316bf0fc35b16b792f5befcdf8fd61108f9f00ba738a62ce64b90d09c
MD5 d3297348096b86a7b7116033cefd162d
BLAKE2b-256 c542ba189ecbe99bdba961e4e5907a6beb81b4117053b39328a74620dad18d56

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