ClewdR is a Rust proxy for Claude (Claude.ai, Claude Code).
It keeps resource usage low, serves OpenAI-style endpoints, and ships with a small React admin UI for managing cookies and settings.
- Works with Claude web and Claude Code.
- Single static binary for Linux, macOS, Windows, and Android; Docker image available.
- Web dashboard shows live status and supports hot config reloads.
- Drops into existing OpenAI-compatible clients while keeping native Claude formats.
- Typical production footprint:
<10 MBRAM,<1 sstartup,~15 MBbinary.
| Service | Endpoint |
|---|---|
| Claude.ai | http://127.0.0.1:8484/v1/messages |
| Claude.ai OpenAI compatible | http://127.0.0.1:8484/v1/chat/completions |
| Claude Code | http://127.0.0.1:8484/code/v1/messages |
| Claude Code OpenAI compatible | http://127.0.0.1:8484/code/v1/chat/completions |
Streaming responses work on every endpoint.
- Download the latest release for your platform from GitHub.
Linux/macOS example:curl -L -o clewdr.tar.gz https://github.com/Xerxes-2/clewdr/releases/latest/download/clewdr-linux-x64.tar.gz tar -xzf clewdr.tar.gz && cd clewdr-linux-x64 chmod +x clewdr
- Run the binary:
./clewdr
- Open
http://127.0.0.1:8484and enter the admin password shown in the console (or container logs if using Docker).
Dashboardshows health, connected clients, and rate-limit status.Claudetab stores browser cookies; pastecookie: valuepairs and save.Settingslets you rotate the admin password, set upstream proxies, and reload config without restarting.
If you forget the password, delete clewdr.toml and start the binary again. Docker users can mount a persistent folder for that file.
- Export your Claude.ai cookies (e.g., via browser devtools).
- Paste them into the Claude tab; ClewdR tracks their status automatically.
- Optionally set an outbound proxy or fingerprint overrides if Claude blocks your region.
SillyTavern:
{
"api_url": "http://127.0.0.1:8484/v1/chat/completions",
"api_key": "password-from-console",
"model": "claude-3-sonnet-20240229"
}Continue (VS Code):
{
"models": [
{
"title": "Claude via ClewdR",
"provider": "openai",
"model": "claude-3-sonnet-20240229",
"apiBase": "http://127.0.0.1:8484/v1/",
"apiKey": "password-from-console"
}
]
}Cursor:
{
"openaiApiBase": "http://127.0.0.1:8484/v1/",
"openaiApiKey": "password-from-console"
}