Question
I'm currently using Headroom as a permanent proxy (port 8788) for the claude CLI, which works great. I'm wondering whether it's also possible to route the Claude desktop app (Claude.app on macOS) through Headroom.
What I understand so far
- The
claude CLI uses the Anthropic API (api.anthropic.com) and respects ANTHROPIC_BASE_URL → Headroom intercepts and compresses successfully.
- Claude.app appears to connect to the
claude.ai web interface rather than the raw Anthropic API, which seems to make it incompatible with Headroom's proxy layer.
Questions
- Does Claude.app actually use the Anthropic API under the hood, or exclusively the claude.ai web interface?
- If it uses the API, would setting
ANTHROPIC_BASE_URL=http://127.0.0.1:8788 (e.g. via launchctl setenv) be enough to route it through Headroom?
- Is there any other mechanism (e.g. system proxy settings, network-level interception) that could make this work?
Context
- macOS, Headroom v0.22.4
- Running as a permanent launchd daemon (KeepAlive)
- Auth is handled via Keychain / Claude.app session (no
~/.claude/.credentials.json)
Thanks for the great tool!
Question
I'm currently using Headroom as a permanent proxy (port 8788) for the
claudeCLI, which works great. I'm wondering whether it's also possible to route the Claude desktop app (Claude.app on macOS) through Headroom.What I understand so far
claudeCLI uses the Anthropic API (api.anthropic.com) and respectsANTHROPIC_BASE_URL→ Headroom intercepts and compresses successfully.claude.aiweb interface rather than the raw Anthropic API, which seems to make it incompatible with Headroom's proxy layer.Questions
ANTHROPIC_BASE_URL=http://127.0.0.1:8788(e.g. vialaunchctl setenv) be enough to route it through Headroom?Context
~/.claude/.credentials.json)Thanks for the great tool!