Skip to main content

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 by sending a request to Anthropic's Messages API and reading the rate-limit headers from the response. The input token is hi and the output is capped to 1 token. This is achieved with the OAuth token that Claude Code stores in the macOS Keychain. By default the app polls every 60 seconds but it can be configured in the menu bar.

Recommended usage is to run the app when needing to closely monitor usage in real-time and not as a permanent fixture.

Metadata

Release files for claude-usage 0.0.16

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for claude-usage 0.0.16
File Size Uploaded Provenance
claude_usage-0.0.16.tar.gz 84.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for claude-usage 0.0.16
File Interpreter ABI Platform
claude_usage-0.0.16-py3-none-any.whl Python 3 none any Details

Total release size: 95.8 kB

Release files / claude_usage-0.0.16.tar.gz

Download URL claude_usage-0.0.16.tar.gz
Size 84.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d3df8fecfbeafd95a629bc14bd483a771cb0131a8fc748dc9e4feeb4ebbeb06a
BLAKE2b-256 checksum
How to use checksums
8504cbf50bc1609fc0271f2e14dced8d703c8c0c720f38b77458e1c91930acb4
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / claude_usage-0.0.16-py3-none-any.whl

Download URL claude_usage-0.0.16-py3-none-any.whl
Size 11.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9334c5ff869013a177b6ee9ed5b3b7c179d93d7826714386467be6df0ebea585
BLAKE2b-256 checksum
How to use checksums
3614c4f39fedaf9957917e2b3a5d2ceea08bc6410b3f4c093308c750147740dc
Upload date
Uploaded using Trusted Publishing?
What is 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}

Security for claude-usage 0.0.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page