Free Claude Code Lets Anyone on Your Network Use Your API Keys Until You Change Three Settings
The trending proxy that routes Claude Code to 61 model providers ships with its door open. Here's how to close it in five minutes, and what to check before you trust "free."
The most popular way to run Claude Code for free right now doesn't involve Claude at all.
Free Claude Code, a repo sitting near the top of GitHub's trending boards with about 75,000 stars, is a small server that sits between your coding agent and the model. Claude Code thinks it's talking to Anthropic. It's actually talking to a program on your laptop that forwards each request to whichever of 61 providers you picked: NVIDIA's hosted models, OpenRouter's free tier, Groq, a local Ollama install, or a paid key (README).
That's a clever trick, and for plenty of people it's a useful one. But a program that holds your API keys and answers model requests is worth reading before you install it. When I read the source at the November 30 release, v6.19.65, the defaults surprised me. The server listens on every network interface (each connection your computer has, like Wi-Fi or Ethernet), not just your own machine. Authentication is off. And the token you'd use if you turned it on is the same word for everyone.
None of that is hidden. It's in one settings file. Most people will never open it. The fix is three settings and about five minutes, and it's below.
What Free Claude Code actually is
Think of it as a phone switchboard for AI models. Your coding agent (Claude Code, Codex, OpenCode, Aider and eight others) dials one local number. The switchboard decides who picks up.
You install it with a one-line script, start the server, open its web dashboard (the Admin UI), paste in a provider key, and launch your agent through a wrapper command such as fcc-claude or fcc-codex. The wrapper points the agent at the local server instead of the vendor's API (README).
The project is licensed AGPL-3.0, written in Python, and moves fast: the repo was created in January 2026 and is already at version 6.19.65.
Two details change how you should think about it.
First, the model names you see aren't necessarily the models doing the work. The settings file says it in a code comment: "All Claude model requests are mapped to this single model (fallback)," with the default set to an NVIDIA Nemotron model (settings.py). You can route Claude Code's Fable, Opus, Sonnet and Haiku tiers (the model choices in its picker) to different models with separate settings (MODEL_FABLE, MODEL_OPUS, MODEL_SONNET, MODEL_HAIKU). Selecting "Opus" in your agent means "whatever you mapped to the Opus slot."
Second, the server is reachable over HTTP on port 8082, and anything that can reach it can make model calls with your keys.
The three defaults, in the code
Here are the server settings at v6.19.65, from settings.py lines 750 to 760:
host: NonEmptyString = Field(default="0.0.0.0", validation_alias="HOST")
port: int = Field(default=8082, validation_alias="PORT")
...
proxy_auth_enabled: bool = Field(
default=False,
validation_alias="PROXY_AUTH_ENABLED",
)
proxy_auth_token: NonEmptyString = Field(
default="freecc",
validation_alias="ANTHROPIC_AUTH_TOKEN",
)
In plain words:
0.0.0.0tells the server to accept connections from any network your machine is on, not only from the machine itself. On a home network that means other devices in the house. On café Wi-Fi, a coworking space or a conference network, it can mean strangers, unless a firewall, router rule or the network's own device isolation blocks them. The safe value for a tool only you use is127.0.0.1, which means "this computer only."proxy_auth_enabledisFalse. The check that would demand a password returns early and lets every request through when this is off (dependencies.py).- The token defaults to
freecc. If you turn authentication on but never change the token, the password is a word printed in a public repo.
To be fair to the project, the dashboard is locked down properly. Its routes reject any request that doesn't come from the local machine, with the message "Admin UI is local-only" (admin_security.py). Someone on your network can't open the dashboard or read your saved keys from it. The README also tells you how to add protection: "To protect the local proxy with a bearer token, enable Proxy Authentication in Admin" (README).
The gap is the model API itself. The routes that answer model calls, like /v1/messages, run through the authentication check that is off by default. So a device that can reach port 8082 can't steal your NVIDIA key, but it can spend it, or run up your paid OpenAI or Anthropic key if you added one.
As far as I could tell reading the source, nothing in the install path writes a different host or a random token for you. If you've been running it with defaults, your settings are the ones above.
Why this matters more for an agent proxy than a normal dev server
Plenty of development servers listen on 0.0.0.0. The difference here is what's behind the door.
A dev server for a web app exposes a page. This one exposes a working model endpoint attached to your accounts. Free tiers have rate limits, so a stranger burning your free quota mostly hurts your afternoon. A paid key is different: the bill is yours.
There's a second door, too. Free Claude Code can connect to Discord or Telegram so you can drive your agent from your phone, inside an "Allowed Directory" you set (README). That's an opt-in feature with its own allow-lists, not a default. But it's a reminder that this tool is built to be reached from places other than your keyboard. That's the right time to decide, on purpose, who else gets to reach it.
Put this into practice
The fix takes about five minutes and should happen before you paste in a single key.
1. Bind the server to your own machine. Open the Admin UI, find the runtime settings, and set Server Host to 127.0.0.1. Or edit the settings file Free Claude Code keeps in your home folder, ~/.fcc/.env (paths.py):
HOST=127.0.0.1
2. Turn authentication on. In the same runtime section, switch on Require API Authentication (the README calls it Proxy Authentication), or add:
PROXY_AUTH_ENABLED=true
3. Replace the default token. Generate a random one and set it as the API/CLI Auth Token:
openssl rand -hex 24
ANTHROPIC_AUTH_TOKEN=<paste the random value here>
The setting borrows the name Claude Code uses for its own token, which is how the wrappers pass it along. The launcher reads this value and hands it to each agent it starts (runner.py), so fcc-claude and friends keep working without extra steps.
4. Restart the server. All three settings are marked "restart required" in the dashboard's settings list. Quit from the tray or menu-bar icon, or stop fcc-server, and start it again.
5. Test from another device. Find your laptop's local IP address and, from a phone or a second computer on the same network, try:
curl "http://<your-laptop-ip>:8082/v1/models?view=messages"
With HOST=127.0.0.1, that should fail to connect at all. If you need network access on purpose (say, for a second machine you own), keep the host open but leave authentication on, and the same request should come back with a 401 and "Missing proxy authentication token." Either result is fine. A list of models coming back is not.
Then run your agent normally through its fcc- wrapper and confirm it still answers.
Before you trust "free," read the route table
Locking the door is the urgent part. The second check is quieter: where your code goes once a request leaves your laptop. Think of the route table as the switchboard's directory, the list of which provider and model actually answers behind each name.
The README advertises "1.3B+ free tokens per month" but doesn't break down where that figure comes from. What it does say is that "Free-tier availability and limits are controlled by each provider and may change" (README). The free tokens are other companies' free tiers. Free Claude Code is the switchboard, not the supplier.
That has two consequences.
Each provider's terms apply to your code. A coding agent sends file contents, diffs and error logs with every turn. NVIDIA's hosted models, OpenRouter's free routes and small routers in the list each have their own policies on logging and training. The README's catalog includes several small routers whose free models carry -free or :free names, and whose terms the project doesn't discuss. Before you point a work repository at a free route, open that provider's terms and look for what it keeps.
Your agent's quality depends on the slot, not the name. When Claude Code shows "Opus," it's running whatever you mapped there. If a session goes badly, check the Admin UI's model routing before you blame the agent.
The project's own position on terms is one line: "FCC follows provider TOS and removes integrations if they stop being allowed." It also offers paths that use your existing ChatGPT or GitHub Copilot subscription through sign-in, where "available models and quotas depend on your subscription and organization policies." If you're on a company Copilot seat, that's a question for whoever administers it, not for the README.
The honest limitations
This review covers one release. Free Claude Code ships often (v6.19.65 landed November 30), and a later version could change any of these defaults. The one-line installer pulls from the main branch, not a fixed tag, so check settings.py at whatever version you actually got.
I read the code and did not run a network test against a live install. The behavior described comes from the settings, the authentication check and the admin guard at that tag. A firewall on your machine or router may block port 8082 from other devices even with the default host, and some networks isolate devices from each other. That's luck, not configuration.
The star count (about 75,000 on December 1; two reads of GitHub's API that day gave 75,447 and 75,689) says the project is popular, not that it has been audited. The license (AGPL-3.0-only) also matters if you plan to modify it and let other people use it over a network: you then have to offer those users the source of your modified version.
And "free" has a ceiling. Free tiers change without notice, rate limits hit in the middle of long sessions, and the README's fallback-model feature exists precisely because providers fail. Plan for the free route to disappear on a bad day.
What to do before your next session
Free Claude Code solves a real problem: it lets you keep the agent you like while choosing the model and the price. That's worth having. But a switchboard that holds your keys should answer only to you.
Set the host to 127.0.0.1. Turn authentication on. Replace freecc with a random token. Restart, and test from your phone. Then open the route table and decide, provider by provider, who you're comfortable letting read your code.
Five minutes, three settings. After that, the free part is actually free.
Sources: Alishahryar1/free-claude-code README at v6.19.65; settings.py at v6.19.65; dependencies.py; admin_security.py; paths.py; runner.py. Reviewed release v6.19.65 (commit 63490e5, November 30, 2026); stars from the GitHub API, December 1, 2026 (approximate).