Skip to main content Switch to mobile version my-claude-code 8.76.0 Local multi-provider LLM proxy, model router and control plane for Claude Code, Codex, OpenCode, Gemini CLI and other AI coding agents: 60 providers, fallback routing, credential health, a native web-search tool proxy, and analytics with cost provenance
pip install my-claude-code==8.76.0 Copy PIP instructions
A local multi-provider LLM proxy, model router and control plane for AI coding agents. Claude Code, Codex, OpenCode, Gemini CLI, Crush, Cline, Goose, Aider, Kimi Code, Qwen Code, Command Code, OpenClaw, Hermes Agent, Droid, Pi, Kilo, Roo Code, Antigravity and the desktop apps (Claude Desktop, Codex desktop, LM Studio, Warp, VS Code's Copilot endpoint) all point at one address and share one control panel: routing tiers with fallback chains, reasoning controls, credential rotation and health, a vision adapter, a native web-search tool proxy, learned provider quirks, cost with provenance, and a full request log — in front of every provider below. Claude Code is one first-class client here, not the frame around everything else.
Install · What is MCC? · Capabilities · Usage Guide · All docs
Claude Code running through the My Claude Code proxy. Every other agent below uses the same server.
Contents — Install · What is MCC? · Capabilities · How it works · Coding agents · Model Providers · Dashboard · Configuration reference · Development · Project links · License · Project history
Pick one. Every route ends at the same server, the same dashboard and the same configuration directory, and installs mcc-server plus the 18 mcc-* agent launchers on your PATH.
npm install -g and npx … install read the machine before they install anything: they always install the server through the same digest-verified script as the one-liners, and where there is a desktop session — Windows and macOS always, Linux with DISPLAY or WAYLAND_DISPLAY — they also install the native desktop application for that platform (the setup.exe silently and per-user, the .dmg into ~/Applications, the .deb — whose one sudo dpkg -i line they print rather than run — or the tarball's per-user installer), each verified against SHA256SUMS-desktop-shell.txt from the same release before it is run. Over SSH, in CI, on a headless box or in WSL without a display they install the server alone and print the one line saying why; --server-only, --desktop-only, --no-desktop, --yes-sudo and MCC_NPM_INSTALL=server|desktop|both|none override the guess, and npx … --version still installs nothing.
The PyPI route is the one that assumes something. uv tool install my-claude-code and pip install my-claude-code fetch the same wheel as everything else, but they are the only routes that do not provision anything for you: MCC requires Python 3.14, and pip will refuse rather than half-install on anything older. Take this route if you already manage Python environments and would rather MCC lived in yours; take a one-liner otherwise, since those install uv and a managed 3.14 before they install the server.
Those download links always resolve to the newest release. Each desktop download's SHA-256 is in SHA256SUMS-desktop-shell.txt on the latest release page. The desktop app installs the server for you on first launch if it is not there yet; the server one-liners are the right choice on a headless box, a VPS, over SSH, or inside WSL, where there is no tray to draw into.
Then close and reopen your terminal. The installer adds ~/.local/bin to your PATH, and a shell that was already open cannot see it — this is the single most common reason mcc-server looks "not found" straight after a successful install. Check with mcc-server --version.
Start it and open the dashboard. mcc-server, then http://127.0.0.1:8082/admin (the desktop app does both for you).
Add a provider key. On the Providers page, find your provider, click Configure, paste the key, then Validate and Apply. OpenCode Zen needs none for its free models: since 7.78.0 a fresh install already routes Mythos, Fable, Opus and Sonnet to opencode/muse-spark-1.3-contributor-free (free, no key), and the OpenCode Zen card says Free models ready. MODEL and Haiku still point at NVIDIA NIM, so they need a key or a new model.
Point the tiers at a model. On the Model Config page set MODEL and, if you want per-tier routing, MODEL_MYTHOS / MODEL_FABLE / MODEL_OPUS / MODEL_SONNET / MODEL_HAIKU, each with a fallback chain.
Launch an agent. mcc-claude, mcc-codex, mcc-opencode, mcc-gemini … or press Configure on the Coding agents page for a desktop app such as Claude Desktop.
What the installer does, and what it cannot do
It installs uv if missing (and replaces one older than the >=0.11.0 floor in pyproject.toml); installs Python 3.14.0 through uv, so no system Python is needed and none is used; downloads the latest release wheel and verifies the SHA-256 GitHub publishes for it; installs MCC into an isolated tool environment; puts every mcc-* command on your PATH; creates the configuration home; and, with --desktop (-Desktop), the desktop app too. Add --dry-run to see it all without changing anything, or --version 6.57.0 to pin a release.
Since 7.1.0 every install restarts the server, by default. The install command stops the one server bound to the PORT of the configuration directory it is installing for, by that server's exact process ids, installs, starts mcc-server again, and waits until /health answers — and then opens the desktop app, when one is installed on this machine and is not already running. Every other My Claude Code server on the machine is listed and left running, and a port held by something that is not ours is reported rather than touched. --no-restart (-NoRestart) never stops a running server; --no-start (-NoStart, or MCC_INSTALL_NO_START=1) stops and starts nothing; --no-desktop (-NoDesktop, or MCC_INSTALL_NO_DESKTOP=1) leaves the app alone. --restart / -Restart is still accepted and now does nothing. See Updating.
Since 6.82.0 the dashboard's Update button runs that same command, so there is one update path and not two. The new version is built beside the running one, run once to prove it works, and swapped in by two directory renames — the server is down for the stop, the rename and the start, not for the download and the dependency resolve — and if it never answers /health the previous version is put back and started. install.cmd --version 6.63.0 now fetches the installer that shipped with 6.63.0 rather than today's, and MCC_INSTALL_REF points it at a branch. See One update path.
It cannot install curl on Linux/macOS/WSL — it names the exact apt-get/dnf/pacman/apk/brew line for your machine and stops. Everything else it needs is already there: Windows 10/11 with the built-in PowerShell 5.1+ (the published irm ... | iex one-liner runs under the default execution policy; only a saved .\install.ps1 needs -ExecutionPolicy Bypass, which is exactly what scripts/install.cmd passes for you — that is why the Command Prompt route leads the table and can never meet an execution-policy refusal. It needs curl.exe, which ships with Windows 10 1803+ and Windows 11, and it keeps the downloaded script in %TEMP% when a run fails), a POSIX shell elsewhere, and network access to GitHub releases and astral.sh. HTTPS_PROXY/HTTP_PROXY/NO_PROXY are honoured throughout. No Node, no Python, no git required. The desktop app's own prerequisites travel with its packages — the Windows installer bootstraps WebView2, the .deb declares webkit2gtk in its Depends, macOS needs nothing. It does not install Claude Code, Codex or any other agent: those are third-party tools you install yourself, and a launcher whose agent is missing prints that agent's own install command and exits.
Update: the dashboard shows your version, announces releases and installs them with checksum verification — or just re-run the install command, which always fetches the newest release.
Uninstall: one line, and it verifies every MCC command is gone before it reports success — or mcc uninstall if you installed through npm. The desktop app is removed separately (Apps & Features, sudo apt remove my-claude-code-desktop, ./install-desktop.sh --uninstall, or dragging the .app to the Trash).
curl -fsSL "https://raw.githubusercontent.com/FiredMosquito831/my-claude-code/main/scripts/uninstall.sh" | sh & ([scriptblock]::Create((irm "https://raw.githubusercontent.com/FiredMosquito831/my-claude-code/main/scripts/uninstall.ps1"))) Four things that bite
Windows SmartScreen flags the unsigned installer: More info → Run anyway. Machines with Smart App Control on cannot run it at all — use the PowerShell server one-liner instead.
macOS quarantines the unsigned .dmg. After dragging the app across, run xattr -d com.apple.quarantine "/Applications/My Claude Code.app" once. Or take the server one-liner and let mcc-desktop fetch the same binary, which is never quarantined.
WSL has no tray. mcc-desktop says so and refuses rather than pretending; install the server there and reach the dashboard in a Windows browser.
A pre-6.40.0 install lives in the legacy ~/.fcc home. The first start of 6.65.0 or later migrates it to ~/.mcc for you — one atomic rename, nothing copied or merged — provided nothing is holding the directory open. Stop the server and quit the tray first; mcc-migrate runs the same move by hand, and it refuses while it can see a live server.
Longer versions of all of these, per platform: Usage Guide → Install.
MCC is a local LLM gateway, proxy and model router for AI coding agents. Instead of configuring providers, API keys, models, fallbacks, reasoning effort and spend tracking separately inside every coding tool you use, you point those tools at one address on your own machine and manage the routing layer once.
It runs entirely on your machine. It has no telemetry, phones home to nothing, and its only outbound traffic goes to the providers you configure. Your keys stay in one .env you own.
a Claude Code proxy and router, sending Anthropic Messages traffic to cloud, subscription or local models;
an OpenCode, Crush, Cline, Goose, Aider or Kimi Code router, sharing one set of models, credentials and fallback chains between them;
a Codex proxy, over the OpenAI Responses API;
a Gemini CLI proxy, over the Gemini API;
a local model gateway, putting Ollama, LM Studio or llama.cpp behind the same address as everything else;
a multi-provider router with fallback chains, credential rotation, health tracking, and per-request cost with provenance;
a web-search tool proxy, fulfilling an agent's web_search tool at the router across 16 search providers;
a Remote Control interface (/rc), letting you drive local coding agents from a phone or remote browser over Tailscale Serve, Tailnet Direct or Cloudflare Tunnel while /admin stays loopback-only (Remote Control);
an observability layer, because every request through it is logged, priced and searchable afterwards.
MCC is an independent open-source project, not affiliated with Anthropic, OpenAI, Google or OpenCode. It is dual-licensed: AGPL-3.0-or-later, or a commercial licence. MCC itself is free; the models behind it may be free, paid, subscription-based or entirely local — that is your choice and your account.
Start here: add one provider key on Providers, set your tiers on Model Config, then run mcc-claude (or whichever agent you use). A fresh install's Mythos, Fable, Opus and Sonnet tiers already work with no key at all, on OpenCode Zen's free model. Everything below is optional until you want it.
Your agent talks to MCC in whichever protocol it already speaks — POST /v1/messages for Claude Code, Pi, OpenCode, Crush, Kimi Code, Qwen Code, Droid and Kilo; POST /v1/responses for Codex; POST /v1/chat/completions for Cline, Goose, Aider and every OpenAI-shaped SDK; POST /v1beta/models/{model}:generateContent for Gemini CLI and Antigravity. All four doors reach the same router, which resolves the requested tier to a real model, applies your reasoning and output-budget settings, adapts images, picks a healthy credential, and walks the fallback chain when a provider fails. The reply is translated back into the protocol the agent asked in, and the whole exchange is priced and logged once on its way out. Architecture has the full picture.
Every agent MCC can launch is declared in one registry, and the Coding agents page shows each one's installed state, its commands and flags with a copy button, its protocol and its generated catalogue. Applications MCC does not launch get a Configure button on the same page instead, which edits the one file each of them reads.
An agent that is not installed gets an Install button on its card (since 7.102.0), with the vendor's own line beside it to copy instead. The installer installs MCC and its prerequisites, nothing else; agents are installed only by the dashboard button you press, after the plan it shows — see Install an agent from the dashboard.
Per-agent walkthroughs live in the Usage Guide; anything MCC cannot launch or configure is covered in Clients.
every provider below, all managed the same way: enter the listed setting on the Providers page, open Model Config, search the MODEL dropdown and select a model. MCC builds each slug as / , and free-text entry stays available when a provider cannot list its models. Click Validate, then Apply. Any other OpenAI-compatible endpoint can be added as a custom provider from the same page. Local backends (LM Studio, llama.cpp, Ollama) need a base URL rather than a key; setup for each is in the Usage Guide.
Notes worth knowing: Mistral ships two credentials on one host, and they are two cards because they are two pools — MISTRAL_API_KEY (Mistral Studio, the general developer API allowance, optional MISTRAL_BASE_URL) and MISTRAL_VIBE_KEY (a Vibe plan key from Vibe Code → Extensions → Advanced, drawing on the subscription's coding budget, optional MISTRAL_VIBE_BASE_URL). Both default to https://api.mistral.ai/v1 and accept Mistral's official EU (https://api.eu.mistral.ai/v1) or US (https://api.us.mistral.ai/v1) regional hosts (upstream bills regional endpoints at 1.1x; MCC cost estimates use global Studio rates), and both support Mistral's /v1/chat/completions (default) and /v1/responses surfaces. MCC never substitutes one key for the other; a Vibe refusal means that key's entitlement does not cover the request, not that the key is wrong. Mistral Codestral uses a separate key again, on its own host; OpenCode Zen and OpenCode Go share OPENCODE_API_KEY but use different prefixes, the rotation policy lives on the OpenCode Zen card, and both read identity headers off every request — without them the Zen free tier answers 400 MissingSessionID, so 6.69.0 sends them and identifies as the OpenCode client by default (OPENCODE_CLIENT_IDENTITY=mcc opts out — see USAGE), and since 6.74.0 MCC resolves which endpoint each Zen model is served on — two of its seven free models live on the Responses API and answered a bare HTTP 500 on Chat Completions before (USAGE); Azure OpenAI needs AZURE_OPENAI_BASE_URL in its v1 form and the model you name is your deployment name; Cloudflare needs both its token and its account ID; Agnes AI sends reasoning_effort with the words its host answers to (none, low, medium, high, max) rather than the enable_thinking flag its page documents -- the same bytes a custom provider on the same URL sends -- and AGNES_BASE_URL points it at another host; Ollama Cloud connects to ollama.com while local Ollama keeps the ollama/ prefix. Prefer tool-capable models for coding agents, and give local models enough context for the agent's system prompt and tool definitions.
The Admin UI at http://127.0.0.1:8082/admin is local-only and is where everything is configured. It opens on a Get Started checklist and gets out of the way once dismissed.
Four of those pages, on a real install:
Analytics — 361,468 stored requests, 99.2% success, 91.1% served by a fallback. The all-time strip below the cards is never pruned, so it keeps counting after the stored rows roll over.
Analytics → Cost — reported and estimated are two numbers, never one, and every total carries the "303,572 of 361,484 priced" denominator that stops a partial figure reading as a complete one.
Model Config — one rail per tier with its real fallback chain. A struck-through row with an amber Paused badge keeps its place and is never tried.
Models — 1,180 models across 13 providers. Each row names its source, and hiding one changes what is listed, never what is routed.
Every setting lives in .env.example with inline comments and cost notes, and the Usage Guide explains each one in context. The dashboard writes the same file, so the two never disagree. The ten most people ever need:
The web search system's research notes are under research/, and the internals are in ARCHITECTURE.md.
Local CI sequence: ./scripts/ci.sh (macOS/Linux) or .\scripts\ci.ps1 (Windows) — Ruff format/check, ty type checking, and pytest.
Individual commands: uv run ruff format, uv run ruff check --fix, uv run ty check, uv run pytest -v --tb=short.
See CONTRIBUTING.md for the full workflow.
Report bugs or request features · Report a vulnerability privately (policy)
All documentation · Usage Guide · Architecture · Contributing
Packages: PyPI · npm · releases
Dual-licensed. Use it under the GNU Affero General Public License v3 or later — free for everyone, personal and commercial alike, including routing your own or your employer's work through the proxy. The AGPL asks for source in return: if you convey the software, or run a modified version as a network service other people interact with, section 13 obliges you to offer those users your version's complete corresponding source under the same license. The Required Notice at the top of LICENSE must be preserved; that is an additional term under AGPL section 7(b).
If that trade does not suit you — hosting it as a service, routing commercially, or reusing its code or routing logic inside a product you ship closed-source — a commercial license is available by negotiation. See COMMERCIAL-LICENSE.md.
This repository began as a fork of Alishahryar1/free-claude-code and became a standalone project on 2026-09-05. Every commit, branch and tag carried across unchanged — the Git history here is byte-for-byte the history it always had, and every release from v4.x onward is present with its original notes and assets.
GitHub pull requests are database records rather than Git objects, so they could not travel with the code. They are preserved as documents instead: history/pull-requests/ holds all 284 of them with their descriptions, conversations, reviews and commit lists, plus the raw API payloads. Each one names the commit it merged as, and that commit is in this repository's history.
Two consequences worth knowing. Pull request numbers written into old commit subjects, such as (#265), refer to those archived records rather than to anything in this repository. And release publication dates all read 2026-09-05, because the API cannot backdate them; the tag and commit dates are the real ones.
The model-routing infrastructure inherited from the upstream project by Ali Khokhar (Alishahryar1/free-claude-code) stays under its original MIT license; substantial portions of it remain in this project.
See LICENSE for the full terms, including the MIT notice.
AGPL-3.0-or-later AND MIT View SPDX License List
ai-gateway anthropic claude-code claude-code-proxy codex coding-agents gemini-cli llm-proxy llm-router local-first model-routing openai opencode openrouter
Release files for my-claude-code 8.76.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
Release files / my_claude_code-8.76.0-py3-none-any.whl
Security for my-claude-code 8.76.0
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Release history Release notifications | RSS feed
Nov 29, 2026 1 release file No provenance
Nov 28, 2026 1 release file No provenance
Nov 27, 2026 1 release file No provenance
Nov 26, 2026 1 release file No provenance
Nov 25, 2026 1 release file No provenance
Nov 24, 2026 1 release file No provenance
Nov 22, 2026 1 release file No provenance
Nov 21, 2026 1 release file No provenance
Nov 20, 2026 1 release file No provenance
Nov 19, 2026 1 release file No provenance
Nov 16, 2026 1 release file No provenance
Nov 15, 2026 1 release file No provenance
Nov 13, 2026 1 release file No provenance
Nov 11, 2026 1 release file No provenance
Nov 10, 2026 1 release file No provenance
Nov 9, 2026 1 release file No provenance
Nov 8, 2026 1 release file No provenance
Nov 5, 2026 1 release file No provenance
Nov 4, 2026 1 release file No provenance
Nov 3, 2026 1 release file No provenance
Nov 2, 2026 1 release file No provenance
Nov 1, 2026 1 release file No provenance
Oct 31, 2026 1 release file No provenance
Oct 30, 2026 1 release file No provenance
Oct 29, 2026 1 release file No provenance
Oct 27, 2026 1 release file No provenance
Oct 24, 2026 1 release file No provenance
Oct 22, 2026 1 release file No provenance
Oct 21, 2026 1 release file No provenance
Oct 20, 2026 1 release file No provenance
Oct 19, 2026 1 release file No provenance
Oct 18, 2026 1 release file No provenance
Oct 17, 2026 1 release file No provenance
Oct 16, 2026 1 release file No provenance
Oct 11, 2026 1 release file No provenance
Oct 10, 2026 1 release file No provenance
Oct 9, 2026 1 release file No provenance
Oct 8, 2026 1 release file No provenance
Oct 7, 2026 1 release file No provenance
Oct 6, 2026 1 release file No provenance
Oct 5, 2026 1 release file No provenance
Oct 4, 2026 1 release file No provenance
Oct 3, 2026 1 release file No provenance
Oct 2, 2026 1 release file No provenance
Oct 1, 2026 1 release file No provenance
Sep 28, 2026 1 release file No provenance
Sep 27, 2026 1 release file No provenance
Sep 26, 2026 1 release file No provenance
Sep 25, 2026 1 release file No provenance
Sep 24, 2026 1 release file No provenance
Sep 21, 2026 1 release file No provenance
Sep 20, 2026 1 release file No provenance
Sep 19, 2026 1 release file No provenance
Sep 18, 2026 1 release file No provenance
Sep 17, 2026 1 release file No provenance
Sep 16, 2026 1 release file No provenance
Sep 15, 2026 1 release file No provenance
"PyPI", "Python Package Index", and the blocks logos are registered trademarks of the Python Software Foundation.
© 2026 Python Software Foundation




