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

Uploaded Python 3

File details

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

File metadata

  • Download URL: claude_usage-0.0.13.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.13.tar.gz
Algorithm Hash digest
SHA256 dd16ab2b768d400eab763178465d451afec287cb10365492ffc965a740e6c67e
MD5 d18a952f7fcc082314542c8dbc5b5697
BLAKE2b-256 c98715905a711445d102db43698a9f4ba58aa2467c5ffee8293494cf8ce4cf23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: claude_usage-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 9.1 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 2c4b27133122c5abd7010a3dfa1ba497e84f0d12259878391ceb1aae919d164c
MD5 2b3afab24ba1a266e48d2c7e7a9b911c
BLAKE2b-256 347acd46bd7129cb49d32c1d80b11f65789f9cc155e3b170efccdf5f605f4d92

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