claude-shop
A tiny CLI launcher for Claude Code that points it at the claude.shop proxy. Buy a token, install one Python package, and start coding.
Run
claude-shopin a SYSTEM TERMINAL — not the Python REPL. On Windows that meanscmd.exeor PowerShell. On macOS / Linux that's Terminal / bash / zsh. Pastingclaude-shop ...after the>>>Python prompt will give youSyntaxError: invalid syntaxbecause it's a shell command, not Python code.
Install
pip install claude-shop
You also need the claude binary on your PATH — install it via the
official Claude Code instructions.
Usage
# Launch Claude Code through the proxy
claude-shop start <YOUR_TOKEN>
# Forward extra args to claude
claude-shop start <YOUR_TOKEN> --resume
claude-shop start <YOUR_TOKEN> -p "explain this repo"
# Check remaining quota for a token
claude-shop balance <YOUR_TOKEN>
claude-shop balance <YOUR_TOKEN> --json
# Verify the proxy is reachable
claude-shop check <YOUR_TOKEN>
# Show version
claude-shop --version
python -m claude_shop is also supported and behaves identically to the
claude-shop console script.
start injects two environment variables for the spawned claude process and
inherits everything else from your shell:
| Variable | Value |
|---|---|
ANTHROPIC_AUTH_TOKEN |
your token |
ANTHROPIC_BASE_URL |
https://claudeshop.duckdns.org |
The exit code of claude is propagated. Ctrl-C returns 130 as usual.
How it works
claude-shop start is a thin wrapper:
- Looks up
claudeonPATH(or the binary named inCLAUDE_SHOP_CLAUDE_BIN). - Builds an env dict from your current environment plus the two proxy variables.
- Runs
claudeviasubprocess.run, passing through any extra arguments.
claude-shop balance issues GET https://claudeshop.duckdns.org/api/users/balance/<token>
and prints how much quota is left on your token.
claude-shop check issues GET https://claudeshop.duckdns.org/health so you can
quickly tell whether the proxy is up. Token validity itself is checked by the
proxy when claude makes its first request.
Buying a token
Tokens are sold on FunPay; see the storefront at claudeshop.duckdns.org.
License
MIT.
Metadata
Release files for claude-shop 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| claude_shop-0.1.1.tar.gz | 5.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| claude_shop-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / claude_shop-0.1.1.tar.gz
| Download URL | claude_shop-0.1.1.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1f712fe7c721c0049b43b32b47b7c80be421ae0c337181274139363e9262f20d
|
|
BLAKE2b-256 checksum How to use checksums |
e56c34bf7c30500ca908eef2753dc451c6ae12b2e7aa5989027a12c415d16711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / claude_shop-0.1.1-py3-none-any.whl
| Download URL | claude_shop-0.1.1-py3-none-any.whl |
|---|---|
| Size | 6.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49df4db19022af25515d83c2f956b188bc2c115fa7679599b6278f83d8584862
|
|
BLAKE2b-256 checksum How to use checksums |
aefe1eb093f95c02971b921a114b0039ae5df032ead1a4e66207e73c6130fa4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|