Skip to content
Claude Code

ollama handoff for Claude Code

io.github.michael-whitecapdata/ollama-handoff

Offload cheap work from your AI agent to a local Ollama model, at zero cloud cost.

client:Claude Code transport:stdio runtime:pypi

Install ollama handoff in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add ollama-handoff -e OLLAMA_URL=<OLLAMA_URL> -e OLLAMA_DEFAULT_MODEL=<OLLAMA_DEFAULT_MODEL> -e OLLAMA_NUM_CTX=<OLLAMA_NUM_CTX> -e OLLAMA_KEEP_ALIVE=<OLLAMA_KEEP_ALIVE> -e OLLAMA_TIMEOUT_S=<OLLAMA_TIMEOUT_S> -- uvx ollama-handoff

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

ollama handoff in other clients