missuo / ClaudeProxy

Proxy for Anthropic Claude implemented in Go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHub Workflow Go Version Go Report Maintainability GitHub License Docker Pulls Releases

Due to the strict restrictions of the Anthropic Claude API, it can only be used in specific countries, and even when enabling the API, you have to choose whether it will be accessed outside the selected countries. If so, you also need to choose which country it will be accessed in. If this rule is violated, the account may be directly blocked. So, Claude Proxy allows you to fix a single IP for easy and secure access to the Claude API.

Recommendations

  • Use the IP of the country you selected when you activated the API
  • Use native IP instead of broadcasting.
  • Do not frequently change IP

Start Claude Proxy

Docker

docker run -d --restart always -p 8080:8080 ghcr.io/missuo/claudeproxy:latest
docker run -d --restart always -p 8080:8080 missuo/claude-proxy:latest

Docker Compose

mkdir claude-proxy && cd claude-proxy
wget -O compose.yaml https://raw.githubusercontent.com/missuo/ClaudeProxy/main/compose.yaml
docker compose up -d

Manual

Download the latest release from the release page.

chmod +x claude-proxy
./claude-proxy -p 8080

About

Proxy for Anthropic Claude implemented in Go

License:MIT License


Languages

Language:Go 88.3%Language:Dockerfile 11.7%