v1.3.0
tagged this
12 May 20:43
Three new ways to expose the widget's data to other tools.
• --mcp-server : runs as a Model Context Protocol server over stdio.
Claude Code can call the get_usage tool to see its
own weekly limit. Add to ~/.claude.json mcpServers.
• --print-usage : prints current usage as JSON to stdout and exits.
For shell scripts, statuslines, etc.
• Local HTTP : optional toggle in Settings → "Local HTTP endpoint".
NWListener on 127.0.0.1:9123, GET /usage returns
cached snapshot JSON. Never exposed externally.
Both server modes reuse BrowserCookieReader + ClaudeAPI, so they
honor the same multi-browser preferences as the menu bar widget.
The Settings menu now includes "MCP install instructions…" which
shows the exact ~/.claude.json snippet with the binary path and
offers to copy it to the clipboard.