InertiaUK/claude-quota-proxy
Local proxy that makes Claude Code aware of its own quota usage
SUMMARY AI summary by gpt-5-mini
A local HTTP proxy for Claude Code (CLI) that exposes the model’s usage/quota state by capturing Anthropic rate-limit headers and writing a one-line status file (~/.claude/usage-status.md). Intended for Claude Code Max-plan users who want the model to be quota-aware (the web UI/extension can’t use it). How it works: set ANTHROPIC_BASE_URL to http://127.0.0.1:4080 so Claude routes through the proxy; the Node.js script forwards requests to api.anthropic.com, reads headers, and updates the status file. Single-file Node script, zero npm deps. Runs as an auto-start service: NSSM on Windows (install/uninstall scripts provided), launchd on macOS, systemd on Linux. Key features: - Writes a compact status line showing 5h, 7d, overage usage, bottleneck and timestamps; marks warnings with “!”. - Supports tips for CLAUDE.md rules and automatic injection via Claude Code hooks/settings.json. - Documents observed Anthropic rate-limit headers and behavior (5h/7d/overage, statuses, representative claim).
DETECTED Detected AI stack
AI-related keywords found in this repo's description, topics, or README summary — grouped by category. Each badge links to the corresponding ranking detail page.
Language breakdown (by bytes)
Owner
Developer of kepthouse.app keptmiles.app and other projects listed on keepcomputing.co.uk
Dates
| Created on GitHub | 2026-05-10 |
| Last push | 2026-05-10 |
| First seen here | 2026-05-10 |
| Last fetched | 2026-05-10 16:11 |