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

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_usage-0.0.12.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.12.tar.gz
Algorithm Hash digest
SHA256 85a3e7a5dd5271841713f699aba6ec480a2bbdf8f3aeea9a8e1a0eb9abc5dce3
MD5 7de2359929478cdd3575f15ce017b8b6
BLAKE2b-256 bb7ff48a915c8b92d96a906e11fd078f2c9b2f046b4511d5173b7541391af347

See more details on using hashes here.

File details

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

File metadata

  • Download URL: claude_usage-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 8.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.12-py3-none-any.whl
Algorithm Hash digest
SHA256 9c37c91797083e9409d7e63237879dfb18fe510ca8d58704cd09334bffc28a9b
MD5 e7dc72d0808075ea53545d486b502dc7
BLAKE2b-256 b733305359d7d41a034a381ae8fa0ed249334918a86d8b5c5095e1f0ee6467f5

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