Frontier-grade coding agents that run entirely on your machine. Hardware-aware parallel sub-agents, intelligent model routing, zero cloud cost. Your code never leaves the laptop.
Everything you expect from Claude Code / Codex — re-engineered for on-device models. No vendor lock-in, no per-token bill.
Read → plan → edit → verify with 7 sandboxed tools: read, write, edit, bash, glob, grep, list. Exact-string edits, capped iterations, truncated safety.
↗ Learn moreTasks decompose into 2–6 sub-agents. Scheduler caps concurrency by cores × RAM. Apple Silicon unified-memory bonus. Up to 16 parallel on 64 GB.
↗ Learn moreAuto strategy: trivial/small → local 7B, medium/large → frontier. Prefer-local list: lint, format, test, search, explain. Save 90% of API cost.
↗ Learn moreOpenAI-compatible API. LM Studio filesystem scan, Ollama native /api/tags, llama.cpp health check. Reasoning-content normalized for Gemma/Qwen.
↗ Learn moreOne binary, zero daemons. lmstudio-ollama-mcp (alias forge) respects your filesystem, Git history, and privacy. Bring your favorite GGUF.
$ lmstudio-ollama-mcp --parallel 4 "migrate codebase from Jest to Vitest" ▶ Decomposed into 3 sub-tasks: • t1 Explore & plan [search → lmstudio/gemma-3-12b] • t2 Implement [code → lmstudio/qwen3-27b] • t3 Verify [test → lmstudio/gemma-3-12b] ✔ t1 search 3.1s glob + grep + read — 4 files relevant ✔ t2 code 8.4s edit_file x3, write_file x1 ✔ t3 verify 5.2s bash: vitest run — 24 passed Synthesis: Migrated Jest → Vitest (config, mocks, 1 test helper). Files: vitest.config.ts, package.json, tests/*.test.ts
Real tasks, local execution. No API keys unless you want hybrid routing.
For a 12k LOC TypeScript API, lmstudio-ollama-mcp refactored error handling across 18 files in parallel — 8 sub-agents on an M3/16GB, all local. No data left the machine.
Learn more ↗For a B2B SaaS frontend, it generated missing Vitest coverage (+34%) by routing small tasks to a local 7B and synthesis to frontier — 90% cheaper.
Learn more ↗For a CLI tool repo, it migrated logging, added a hardware detector, and opened a PR — entirely via lmstudio-ollama-mcp "…" from a laptop on a train.
# 1 — install npm install -g lmstudio-ollama-mcp # aliases: forge, forgecode — same binary # 2 — start your local runtime (one of) lms server start # LM Studio ollama serve # or Ollama # 3 — verify lmstudio-ollama-mcp doctor lmstudio-ollama-mcp models # or: forge doctor / forge models # 4 — go lmstudio-ollama-mcp "refactor src/providers into a registry" lmstudio-ollama-mcp --parallel 4 "add tests + docs for the new registry"
docs.html for detailed provider, routing, and MCP guides.
/v1/models + filesystem scan.ollama pull qwen2.5-coder:7b. Uses /api/tags for metadata../llama-server -m model.gguf --port 8080. Any GGUF works.OPENAI_API_KEY / ANTHROPIC_API_KEY set edin. Router zor işleri frontier'a, küçük işleri locale yönlendirir — %90 tasarruf.forge ve forgecode aynı binary — kas hafızası korunur. forge doctor = lmstudio-ollama-mcp doctor.