claude-code-local
Run Claude Code 100% on-device with local AI on Apple Silicon. MLX-native Anthropic-API server. 6 fighters incl. Muse-Glimmer 30B (now multimodal — reads images, abliterated), Gemma 4 31B, Qwen 3.5 122B (65 tok/s), DeepSeek V4 Flash (1M ctx). Private, offline, airgap-ready. Built for NDA / legal / h
claude-code-local is a Claude Code plugin that runs AI models 100% on-device using Apple Silicon GPUs through an MLX-native Anthropic API server. It eliminates the proxy layer typically used to bridge Claude Code with local models, delivering a 7.5× speed improvement over traditional setups. The plugin supports seven local models including Gemma 4 31B, Llama 3.3 70B, Qwen 3.5 122B, and DeepSeek V4 Flash, all running privately without internet connectivity. It includes voice mode, browser automation, and tool-call translation to maintain the full Claude Code experience offline.
Key Features
Use Cases
- 01Continue coding when hitting Claude API usage limits without waiting for reset
- 02Work on confidential NDA-protected or legal documents with guaranteed offline privacy
- 03Develop on flights or in areas without reliable internet connectivity
- 04Run agentic coding sessions on Apple Silicon Macs with full tool-use capabilities
- 05Process sensitive code repositories that cannot leave the local machine
- 06Drive browser automation and multi-step agent tasks entirely on-device
Related Plugins
View moreandrej-karpathy-skills
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
claude-mem
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Understand-Anything
Graphs that teach > graphs that impress. Turn any code into an interactive knowledge graph you can explore, search, and ask questions about. Works with Claude Code, Codex, Cursor, Copilot, Gemini CLI, and more.
rtk
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
claude-code-local — FAQ
What is claude-code-local?+
claude-code-local is a plugin that lets Claude Code run with local AI models on Apple Silicon Macs instead of cloud APIs. It provides an MLX-native Anthropic API server that speaks the protocol directly, avoiding translation proxies and delivering 7.5× faster performance than typical local setups.
How do I install claude-code-local?+
Run the one-line installer: curl -fsSL https://raw.githubusercontent.com/nicedreamzapp/claude-code-local/main/install.sh | bash. The setup script auto-detects your Mac's RAM, downloads an appropriate model (8-75 GB), and creates a desktop launcher. Then double-click 'Claude Local.command' to start.
Which Claude Code clients does this work with?+
It works with the official Claude Code CLI (npm install -g @anthropic-ai/claude-code). The plugin provides a local Anthropic API server that Claude Code connects to via ANTHROPIC_BASE_URL=http://localhost:4000.
What are the prerequisites and does it require API keys?+
You need an Apple Silicon Mac (M1 or newer) with at least 16 GB RAM, Python 3.12+, and Claude Code installed. No API keys, cloud subscriptions, or internet connection are required—it runs 100% locally with offline models.
Is claude-code-local free?+
Yes, it's open source under the MIT license with no cost. The models are free to download from HuggingFace, and once installed you have zero ongoing API or subscription fees.
Which models can I run and how much RAM do I need?+
Hermes 4 14B runs on 16 GB Macs, Gemma 4 31B needs 32 GB, and Llama 3.3 70B or Qwen 3.5 122B require 96 GB+. DeepSeek V4 Flash with 1M context needs 128 GB. The installer automatically selects a model that fits your hardware.
How do I install claude-code-local?+
Open the source repository on GitHub and follow its README. claude-code-local is a plugin — MCP Agents Market links you directly to the official repo.
Is claude-code-local free?+
claude-code-local is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.