Ollama Code

•

Delegates coding tasks from Claude Code to a local or LAN Ollama instance, leveraging self-hosted LLMs for efficient code generation, review, and refactoring.

Ollama Code acts as a Model Context Protocol (MCP) server, enabling Claude Code to offload various coding tasks to a local or LAN-based Ollama instance, typically running a Qwen3 model on dedicated GPU hardware. This delegation capability conserves Claude's cloud tokens and context window by processing large files server-side, utilizing idle local GPU capacity for tasks like boilerplate generation, test writing, diff review, and batch refactors. The system is designed to fail gracefully, providing clear instructions to Claude to self-handle tasks if the Ollama instance is unreachable or unresponsive.

주요 기능

010 GitHub stars
02Saves Claude's context window by processing files server-side.
03Utilizes idle local or LAN GPU capacity via Ollama for code-related tasks.
04Offers a comprehensive suite of coding tools: generate, review, refactor, fix, write tests, explain code, and review diffs.
05Supports batch refactoring across multiple files with optional dry run.
06Configurable 'Think mode' for Qwen3 models to toggle extended reasoning for improved quality or faster responses.

사용 사례

01Offloading boilerplate code generation to a local LLM instance.
02Performing comprehensive code reviews and refactors without consuming expensive cloud tokens.
03Leveraging existing self-hosted GPU infrastructure for AI-powered coding assistance.