Claude Code model router

Claude Code Mlx Proxy

Run Claude Code with Local MLX powered models

Install

From source
git clone https://github.com/chand1012/claude-code-mlx-proxy.git

From the README

Local MLX Backend for Claude Code

This project provides a local server that acts as a backend for the Claude Code command line coding assistant. It allows you to use open-source models running on your local machine via Apple's MLX framework. Instead of sending your code to Anthropic's servers, you can use powerful models like Llama 3, GLM-4.5-Air, DeepSeek, and more, all running on your Apple Silicon Mac.

This server implements the Claude Messages API format that Claude Code communicates with, redirecting all requests to a local model of your choice.

Why Use a Local Backend with Claude Code?

- Total Privacy: Your code, prompts, and conversations never leave your local machine.
- Use Any Model: Experiment with thousands of open-source models from the MLX Community on Hugging Face.
- Work Offline: Get code completions and chat with your local model without an internet connection.
- No API Keys or Costs: Run powerful models without needing to manage API keys or pay for usage.
- Full Customization: You have complete control over model parameters and generation settings.

How to Set It Up

There are two parts: running the local server, and configuring Claude Code to use it.

Part 1: Run the Local Server

First, get the proxy server running on your machine.

1. Clone the repository:

2. Set up the environment:
    Copy the example .env file:

    You can edit the .env file to customize the model, port, and other settings (see Configuration section below).

3. Install dependencies:
    This project uses uv for fast package management.

4. Start the server:

    The server will start on http://localhost:8888 (or as configured in your .env) and begin downloading and loading the specified MLX model. This may take some time on the first run.

Part 2: Configure Claude…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
14 April 2026
Topics
aiclaudeclaude-codellm

FAQ

What is Claude Code Mlx Proxy?

Run Claude Code with Local MLX powered models It is a model router for Claude Code, from chand1012/claude-code-mlx-proxy on GitHub.

How do I install Claude Code Mlx Proxy?

Clone chand1012/claude-code-mlx-proxy from GitHub and follow the setup steps in its README.

Is Claude Code Mlx Proxy popular?

chand1012/claude-code-mlx-proxy has 51 GitHub stars and 16 forks. It was last updated on 14 April 2026.

More model routers & proxies

Opencode Proxy API

53

sionex-code/opencode-proxy-api

Use OpenCode / Claude Code For Free

Model routers & proxies13

CC VisionRouter

76

Able-rip/cc-VisionRouter

Transparent proxy for Claude Code that auto-routes image-bearing requests to a multimodal model — so a non-multimodal primary model never crashes your long-running sessions.

Model routers & proxies

CodingAgentExplorer

53

tndata/CodingAgentExplorer

Real-time .NET proxy and dashboard for inspecting AI coding agent API calls (currently supports Claude Code)

Model routers & proxies13

Trae Proxy

51

DASungta/trae-proxy

爆锤Trae不支持自定义模型接入。通过Trae Proxy,可以支持在trae中接入并切换任意上游中转服务、不在服务列表中的coding plan等等。不影响codex、claude code正常使用。Trae proxy and switch

Model routers & proxies12

Claude Flow

55

hgahlot/claude-flow

One-command bootstrap for a maximally efficient Claude Code dev environment. Installs GSD + gstack + Superpowers + Claude-Mem + UI/UX Pro Max + /flow unified command router.

Model routers & proxies11

Wuyun Liuqi Skills

52

dhicoc/wuyun-liuqi-skills

五运六气技能路由包 - AI 自动路由 + 确定性推算引擎 + RAG 知识库 + 自进化经验库 | 32 asset / 2124 条医案 / 53 篇文献 | 支持 Claude Code / Cursor / Codex CLI / Cline / OpenClaw | TCM Yunqi Skills Router - AI auto-routing + deterministic calculation engine + RAG knowledge base + self-evolving journal | 32 assets / 2124 cases / 53 texts | Claude Code / Cursor / Codex / Cline / OpenClaw

Model routers & proxies/plugin install10

Browse the most popular Claude Code mods, all model routers & proxies, or the skills and MCP server directories.