Skip to content

Is it possible to use Headroom with the Claude desktop app (Claude.app)? #528

Description

@gaaaork

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

  1. Does Claude.app actually use the Anthropic API under the hood, or exclusively the claude.ai web interface?
  2. 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?
  3. 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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    LowMinor bugs and issues that do not prevent usabilityenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions