Hit your Claude Code usage limit? Keep going free and offline on a local model: Qwen 3.8, Gemma 4, and Qwen 4 the day it ships. Runs on Apple Silicon Macs (MLX), Linux and Windows (llama.cpp) with no API key. Your code stays home.
# Add to your Claude Code skills
git clone https://github.com/nicedreamzapp/claude-code-localGuides for using api integration skills like claude-code-local.
Last scanned: 11/28/2026
{
"issues": [
{
"file": "README.md",
"line": 12,
"type": "remote-install",
"message": "Install command (remote install script piped to a shell — review the source before running): \"curl -fsSL https://raw.githubusercontent.com/nicedreamzapp/claude-code-local/mai\"",
"severity": "low"
}
],
"status": "PASSED",
"scannedAt": "2026-11-28T21:47:28.150Z",
"npmAuditRan": true,
"pipAuditRan": true,
"promptInjectionRan": true
}claude-code-local is an open-source api integration skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by nicedreamzapp. Hit your Claude Code usage limit? Keep going free and offline on a local model: Qwen 3.8, Gemma 4, and Qwen 4 the day it ships. Runs on Apple Silicon Macs (MLX), Linux and Windows (llama.cpp) with no API key. Your code stays home. It has 3,558 GitHub stars.
Yes. claude-code-local passed AgentsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.
Clone the repository with "git clone https://github.com/nicedreamzapp/claude-code-local" and add it to your Claude Code skills directory (see the Installation section above).
claude-code-local is primarily written in Python. It is open-source under nicedreamzapp on GitHub, so you can review or fork the full source.
Yes. AgentsLLM lists many other API Integration skills you can browse and compare side by side. Open the API Integration category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-code-local against similar tools.
No comments yet. Be the first to share your thoughts!
Top skills in this category by stars
Claude Code, running on your own computer when your Claude usage runs out. Same tools, same project, no API key.
curl -fsSL https://raw.githubusercontent.com/nicedreamzapp/claude-code-local/main/install.sh | bash
Mac and Linux. Windows is one PowerShell line. On a Mac, Linux or Windows, type exit in Claude Code, then keep going, and the same conversation carries on.
How-to guides and docs: nicedreamzapp.github.io/claude-code-local
⭐ 3,779 GitHub stars (github.com/nicedreamzapp) · ⬇️ 67,403 all-time downloads (huggingface.co/divinetribe) Models on Hugging Face: 18 MLX builds at huggingface.co/divinetribe (⬇️ 58,781 all-time downloads) · this repo ⭐ 3,558 stars
Using it at work or school? Add yourself to the list.
🆕 Qwen 4 watch: Alibaba says Qwen 4 is coming. The day the weights land we test it inside Claude Code and add it here, with real speed and scores. ⭐ Star or watch the repo to catch it. The plan
Agent-12 score for the model setup picks on a 96 GB Mac, Qwen 3.8 27B: 12/12 easy, 7/8 hard. Scored in Agent-12's own harness, not inside Claude Code. How the models compare
Your Mac's chip runs the AI · Claude Code works exactly like it always does · nothing leaves your computer
Now on Linux and Windows too, same Claude Code, same privacy, your own machine doing the work. Phones are next.
In one sentence: a small Python server (proxy/server.py) runs open AI models on your Mac's chip with Apple's MLX and answers Claude Code in Anthropic's own API format, so Claude Code works with no cloud model and no API key.
Ran out of Claude usage or hit a rate limit mid-task? Start here, it takes one command to keep working on a local model.
Other things I built that go with it are in the local-first family.
Matt Macosko wrote the glue that makes local models usable inside Claude Code. The pieces in this repo:
proxy/server.py: the MLX server. Speaks the Anthropic Messages API with streaming, turns each model's own tool-call format (Gemma 4, Qwen, Llama JSON) into Claude Code tool calls, repairs garbled tool JSON, and reuses the prompt cache between turns so long sessions don't re-read everything.scripts/test_parse_tool_calls.py and scripts/test_mlx_server.py: tests for the tool-call parser (no model needed) and for multi-step tool calls against a running server.agent/agent.py: the Native Engine, a one-file terminal coding agent with a short fixed system prompt so the cache survives every turn. bench/agent_bench.py reproduces its cache numbers.bin/keepgoing + bin/keepgoing.py: finds your last Claude Code conversation in this folder and resumes it on a free cloud or local model. On Linux and Windows (bin/keepgoing.cmd) it resumes on the llama.cpp model through portable/ccl.py keepgoing.install.sh, setup.sh and scripts/doctor.sh: check the Mac, pick a model that fits its memory, install everything and make a Desktop launcher.bash scripts/doctor.sh. Windows: powershell -ExecutionPolicy Bypass -File scripts\doctor.ps1. Add --fix / -Fix to restart your own service that is down or recreate a missing symlink (it never deletes anything), and --report / -Report for a privacy-safe block to paste into a bug report.launchers/ with the shared launchers/lib/claude-local-common.sh: the double-click modes below.Upstream, not mine: Claude Code (Anthropic), MLX and mlx-lm (Apple), and the models themselves (Google, Qwen, Nous Research and the others credited below). Contributors who fixed things are named at the bottom.
<source media="(max-width: 1149px)" srcset="https://raw.githubusercontent.com/nicedreamzapp/claude-code-local/ce65065a5327476e7f