# Usage

> Usage documentation for Edith on Mac. See what your coding agents cost and how close you are to their limits. Setup steps, settings, shortcuts and ed commands.

- Canonical URL: https://getedith.pro/docs/extensions/claude-code-usage
- Updated: 2026-12-02

Usage reads the history that agents like Claude Code and Codex keep on this Mac, then shows tokens, cost and rate limits by day, model and project. Nothing is uploaded, and your prompts and code are never read. Read the [Usage overview](https://getedith.pro/extensions/claude-code-usage) for screenshots and use cases.

![Claude Code usage tracker on Mac showing tokens and cost for Claude Code, Codex and Cursor, a daily activity heatmap and live rate limit rings at 62 percent of the session and 41 percent of the week](shot:ext-usage)

## Install Usage

1. Open **Library** in Edith's sidebar.
2. Search for Usage in **Search tools**, or open the **Agents & Terminal** category.
3. Press **Install**. Usage is added to your sidebar.

From the terminal, `ed extensions install usage` does the same. See [Extensions](https://getedith.pro/docs/extensions) for turning extensions off, updating and removing them.

## Where to find Usage

- **Sidebar.** Click Usage in the sidebar to open its page, or press <kbd>⌘</kbd><kbd>K</kbd> and type its name.
- **Notch.** Shows live activity in the notch. Turn it off in its settings. See [The notch](https://getedith.pro/docs/notch).
- **Home.** Open **Home**, press **Edit Home**, then **Add widgets** to place its widgets.

## Get started with Usage

1. **Collect your history.** Open Usage and press the refresh button at the top. The first run can take a few minutes.
2. **Explore the numbers.** Filter by range, model, project or agent to see where tokens and money go.
3. **Watch your limits.** Rate limits show how much of each plan you have used and when it resets.
4. **Get warned early.** Turn on limit alerts in settings to hear about it before you run out.

## What Usage does

- **See what your agents cost.** Tokens and spend by day, model and project.
- **Check your rate limits.** How much of each plan you have used and when it resets.
- **Get warned before a limit.** Turn on alerts so you hear about it before you run out.

## Settings

Open Usage from the sidebar and press **Settings** at the top right of its page. You can also select Usage in **Library** and press **Settings**, or press <kbd>⌥</kbd><kbd>⌘</kbd><kbd>,</kbd> while its page is open.

From the terminal, read a setting with `ed config get <key>` and change it with `ed config set <key> <value>`, using the key in the last column. See [ed config](https://getedith.pro/docs/cli/config).

| Setting | Default | Values | Key |
| --- | --- | --- | --- |
| **Back up usage history to iCloud**<br>The token and cost history behind the usage charts. | On | On, Off | `backupUsage` |
| **Back up limit history to iCloud**<br>Rate limit snapshots behind the session and weekly limit charts. | On | On, Off | `backupLimits` |

## From the terminal

Everything above works in the app. The `ed` command line is optional, for scripts and coding agents. Usage's commands are in [`ed usage`](https://getedith.pro/docs/cli/usage), and each one is also a tool in [Edith's MCP server](https://getedith.pro/docs/mcp).

```sh
ed usage summary
ed usage limits
ed usage daily
ed usage refresh
```

## Tips

- **Stay up to date.** Press **refresh** any time to collect your newest usage. The first run can take a few minutes.
- **Filter the numbers.** Pick a **range**, **model** or **project** to see where tokens and money go.

## Permissions and requirements

- macOS 14 or later on Apple silicon
- Claude Code, Codex or Cursor signed in on this Mac
- The Machines extension and SSH access, to collect usage from other computers
- No Accessibility, Screen Recording or Full Disk Access
- Keychain access to read your existing Claude Code sign-in, which macOS may ask you to allow
- Notifications, only if you turn on limit alerts

See [Permissions](https://getedith.pro/docs/permissions) for how Edith asks for each one.

## Questions

### Does Usage read my prompts or code?

No. It reads the token counts, model name, timestamp and working folder of each entry in the agents' session logs and skips the message text. Rate limits come from the provider's own usage endpoint, using the login that Claude Code, Codex or Cursor already saved on this Mac.

### How accurate is the cost figure?

It is an estimate. Usage multiplies each request's tokens, including cache reads and writes, by a bundled table of public per-token prices. If you pay a flat monthly plan, read it as a relative measure of which models and projects use the most, not as a bill.

### Which coding agents does it track?

Claude Code and Codex history comes from their local session logs. Cursor rate limits and usage history come from your Cursor account. The rings and menu bar readout cover Claude, Codex and Cursor windows, and settings choose what the menu bar shows for each provider.

### Can Claude Code check its own limits over MCP?

Yes. Every ed usage command is also a tool in Edith's MCP server, such as edith_usage_limits, edith_usage_summary and edith_usage_daily. An agent can read the weekly window before it starts a long task, and ed usage limits --refresh asks Edith to poll the providers again first.

### Will it warn me before I run out?

If you turn alerts on. Options include crossing an almost-capped line (90 percent by default), a pace that would hit the cap before the reset, hitting 100 percent with the reset time, a capped window coming back, and a morning outlook when a weekly window looks tight. ed usage alerts explains what each window would alert about right now.

### Is Usage included in Edith's one-time price?

Yes. Usage is one of the extensions included with an Edith license. There is no separate subscription for usage tracking and no per-agent fee.

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
