llm-local
Exposes an OpenAI-compatible chat completions API (/v1/chat/completions and /v1/models) backed by the local LLM, so OpenAI-format clients can list available models, send text/image chat requests, and toggle thinking via an enable_thinking flag.
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-local draft 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, and use them from Claude Code, the command line, HTTP, or a Mac app.
Decision models return calibrated probabilities instead of text: yes/no, choice, and score questions
LLMs draft, translate, summarize, or give a second opinion, with text and image input
One model per kind runs at a time; servers listen only on
127.0.0.1and have no authentication
Decision model | Memory | Notes |
10 GB | Default. Most accurate on Korean. Own license | |
15 GB | Best calibrated. Apache-2.0 |
LLM | Memory | Notes |
21 GB | Fast (MoE), good at prose | |
23 GB | Faster than Qwen3.8 (MoE) | |
23 GB | Default |
Memory is the measured peak, with a long prompt for the LLMs.
Install
You need uv. Weights go to weight/.
git clone https://github.com/phykn/local-models.git && cd local-models
uv sync --python 3.13
.venv/bin/decisionctl pull kanana-2-v-decide-3b
.venv/bin/llmctl pull qwen3.8-27bRelated MCP server: localagents
Use
Mac app: pick a model, press Start. The app stops the models it started when it quits.
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 list, status, pull, start, stop, and port.
.venv/bin/decisionctl start kanana-2-v-decide-3b
.venv/bin/decisionctl port 8091 # every decision model; stop it firstHTTP
Decision models serve
POST /v1/systemoneon port 8081:{"state": text, "questions": {id: question}}, with questions shaped as in thedecidetool.LLMs serve an OpenAI-compatible API at
/v1/chat/completionson port 8082. Setmodelto the id from/v1/models, and send"enable_thinking": falseto turn thinking off.
Configure
Models and the port of each kind are in decision.toml and llm.toml. Pin run to a commit. Unknown keys are an error.
Test
.venv/bin/pytest # fake servers, a few seconds
.venv/bin/pytest -m live # the models that are runningLicense
MIT. Qwen, Gemma 4, and pplx-decider are Apache-2.0. Kanana-2-V-Decide is under the Kanana Open License: some uses need a separate commercial license from Kakao, and services built on it must show "Powered by Kanana". Read its LICENSE before use.
Available Tools
2 toolsaskAskARead-only
Send one prompt to a local model and return its answer text.
system: optional system prompt. model: a name from list_models; omit for the default. think: let the model reason before answering. Better on hard problems, but often several times slower; the reasoning itself is not returned. max_tokens: upper bound on generated tokens, reasoning included. finish_reason "length" means the answer was cut off.
Inputs: prompt (required), model, think, system, +1 more. Returns: object
list_modelsList ModelsARead-only
The registered local models, which one is the default, and whether each is running (with its start command if not).
Inputs: no named parameters. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools serve entirely different phases: list_models is discovery/introspection and ask is inference. No agent could confuse them, and the descriptions reinforce the distinction by having ask explicitly reference model names from list_models.
Both names are snake_case and concise, so the style is coherent. However, 'list_models' follows a verb_noun pattern while 'ask' is a bare verb, a minor deviation from an otherwise single convention.
Two tools is thin in absolute terms, but the domain (enumerate local models, send a prompt) is genuinely small and each tool earns its place. There is no filler or redundant surface.
Read and inference paths are covered, but notable lifecycle operations are missing: list_models surfaces start commands for stopped models without any tool to start or stop one, and there is no multi-turn chat/session tool. Agents hitting a stopped model or wanting conversation history will dead-end.
Maintenance
Related MCP Connectors
Your AI apps as one team: hand work to Codex or Claude Code on your Mac, with a shared logbook.
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.
Connect ChatGPT and Claude to your Mac, Windows or Linux with secure MCP remote access.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables 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.11204 npm3Apache 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.1122MIT
- AlicenseAqualityBmaintenanceEnables 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.3MIT
- AlicenseAqualityBmaintenanceEnables Claude Code to leverage local Ollama models for tasks like summarizing large files, reviewing diffs, semantic code search, and generating boilerplate or tests, while also supporting a fully offline mode.6MIT