llm-local
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@llm-localdraft a concise reply politely declining this meeting invite"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
local-models
Run decision models and LLMs locally on an Apple Silicon Mac with MLX. Use them from Claude Code over MCP, the command line, HTTP, or a Mac app.
Servers listen only on 127.0.0.1 and have no authentication.
Models
Decision models return calibrated probabilities instead of generated text. They answer yes/no, choice, and score questions. The Kev format is used.
Model | Memory | Notes |
16 GB | Default | |
3 GB | Smallest | |
7 GB | Fewest high-confidence errors on Korean. Non-commercial |
LLMs are for drafting, translating, summarizing, or getting a second opinion. They accept text and image input.
Model | Memory | Notes |
23 GB | Default | |
23 GB | Faster (MoE) | |
25 GB | Strong with images. Up to an ~8k-token prompt on 32 GB | |
21 GB | Fast (MoE), good at prose. Runs beside Kev-4B up to a ~8k-token prompt on 32 GB |
Memory is the measured peak, with a long prompt for the LLMs. Each section runs one model at a time.
Related MCP server: claude-token-saver-mcp
Install
You need an Apple Silicon Mac and uv.
git clone https://github.com/phykn/local-models.git && cd local-models
git clone https://github.com/jaredpalmer/kev.git vendor/kev && git -C vendor/kev checkout kev-1.0
uv sync --python 3.13
.venv/bin/llmctl pull qwen3.8-27b # weights go to weight/
HF_HUB_OFFLINE=0 .venv/bin/decisionctl start kev-4b # the first start downloads the modelUse
Mac app
scripts/build-app.sh && open LOCAL-MODELS.appClaude Code: register the MCP servers, then ask something like "Use decision to decide whether this ticket is urgent".
claude mcp add decision --scope user -- "$PWD/.venv/bin/decision-mcp"
claude mcp add llm-local --scope user -- "$PWD/.venv/bin/llm-mcp"decisionprovideschoose,yes_no,score,decide, andlist_models. Check answers markedlow_confidenceyourself.llm-localprovidesaskandlist_models. Passthink: truetoaskfor harder problems.
Command line: decisionctl and llmctl take the same commands: start, stop, status, list, and port.
.venv/bin/decisionctl start kev-4bHTTP
LLMs serve an OpenAI-compatible API at
/v1/chat/completionson port 8082. Setmodelto the id from/v1/models. Send"enable_thinking": falseto turn thinking off.Decision models serve
POST /v1/systemoneon port 8081. See the Kev README for the request format.
Configure
Models are registered in decision.toml and llm.toml. Each entry sets the weights, port, memory, and sampling. Pin run to a commit. Unknown keys are an error.
Test
.venv/bin/pytest # fake servers
.venv/bin/pytest -m live # running models
.venv/bin/python scripts/evaluate.py --data evals/ko/smoke.jsonl # accuracy and calibrationLicense
This project is MIT licensed. Kev, Qwen, MiniCPM-V, and Gemma 4 are Apache-2.0. Malkuth-2B is CC BY-NC 4.0, which allows non-commercial use only.
This server cannot be deployed
Maintenance
Related MCP Connectors
Work on your own computers from Claude or ChatGPT: run commands, edit and search files.
Use your Mac, Windows or Linux computer from ChatGPT, Claude or Codex: files, commands, documents.
No-data MCP handoff for local Claude Code to Codex harness moves. $49 lifetime.
Share context and questions between Claude instances — VS Code, claude.ai web, and mobile.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Claude to delegate coding tasks to local Ollama models, reducing API token usage by up to 98.75% while leveraging local compute resources. Supports code generation, review, refactoring, and file analysis with Claude providing oversight and quality assurance.248 npm25AGPL 3.0
- AlicenseAqualityCmaintenanceEnables Claude Code to offload routine code generation and text processing tasks to a local Ollama LLM, saving Cloud API tokens and costs with automatic model selection and security features.11270 npm4Apache 2.0
- AlicenseAqualityBmaintenanceEnables Claude Code to delegate agent tasks to local LLMs via llama.cpp or vLLM servers on your own hardware, reducing API usage while maintaining full agent capabilities.1113MIT
- AlicenseNot gradedqualityCmaintenanceEnables Claude Code to offload bulk reading and first drafts to a local Ollama model on your GPU, and to draft weekly devlogs from merged pull requests.3 npmMIT