API connection
All configuration lives in a single settings.json file. Paste the provided content - and you are done.
File location
Windows:
text
C:\Users\<username>\.claude\settings.jsonLinux:
text
~/.claude/settings.jsonIf you use your own Anthropic subscription
Back up your original settings.json before replacing it - so you can restore your previous settings easily.
Configuration
Replace the entire file contents with the configuration below:
json
{
"env": {
"ANTHROPIC_API_KEY": "YOUR_LAWTHROPIC_API_KEY",
"ANTHROPIC_BASE_URL": "https://lawthropic.xyz/",
"CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1"
},
"permissions": {
"allow": [],
"deny": []
},
"apiKeyHelper": "echo 'YOUR_LAWTHROPIC_API_KEY'"
}Save the file and restart Claude Code CLI.