Ollama Handoff logo

Ollama Handoff

by Michael-WhiteCapData

Routes summaries, reviews, extractions, and other text tasks to a locally running Ollama model through MCP.

Install Ollama Handoff

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "michael-whitecapdata-ollama-handoff": {
      "command": "uvx",
      "args": [
        "ollama-handoff@0.1.3"
      ],
      "env": {
        "OLLAMA_URL": "YOUR_VALUE_HERE",
        "OLLAMA_DEFAULT_MODEL": "YOUR_VALUE_HERE",
        "OLLAMA_NUM_CTX": "YOUR_VALUE_HERE",
        "OLLAMA_KEEP_ALIVE": "YOUR_VALUE_HERE",
        "OLLAMA_TIMEOUT_S": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

uvx ollama-handoff@0.1.3

Process exited before answering initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

Michael-WhiteCapData/ollama-handoff MCP server connects an MCP client to an Ollama instance for local text processing. It exposes tools for prompts, conversations, summaries, code reviews, commit-message drafts, extraction, model discovery, and configuration checks. Use it when routine work can run on a local model and you want to limit cloud inference, while supplying file contents or diffs directly to the tools. Performance and output quality depend on the selected model and available hardware.

Use cases

  • Summarize build logs locally
  • Review code or diffs before human inspection
  • Draft commit messages from supplied diffs
  • Extract URLs, names, or error codes
  • Check installed Ollama models

Key features

  • Local Ollama inference over MCP
  • Single-prompt and conversation tools
  • Focused text summarization
  • Initial code and diff reviews
  • Commit-message drafting and item extraction
  • Model discovery and configuration inspection

Tools8

What Ollama Handoff lets your agent do. Expand a tool for its parameters.

Self-reported~118 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

Not checked yetLast checked

We have not completed a health check for this listing yet.

0/96 checks healthy over the last 25d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · ollama-handoff@0.1.3 (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars3Stargazers on the source repository.
Last commit2mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed8Callable tools this server registers over MCP.
Directory activity6 viewsConfig copies, upvotes, and views on AllMCPs.

How Ollama Handoff works

What Michael-WhiteCapData/ollama-handoff MCP server does

Michael-WhiteCapData/ollama-handoff MCP server gives an MCP client access to a model running through Ollama. It is intended for routine text operations such as summarizing logs, extracting structured items, drafting commit messages, and performing an initial review of code or diffs.

The server does not replace the calling agent’s planning or review. Generated summaries and reviews require checking, and local inference does not stop the MCP client from using its own cloud provider for prompts or results.

How it works

The server runs over MCP stdio and sends tool requests to the configured Ollama endpoint. Tool inputs contain text, prompts, message histories, or diffs. The server does not open files, stage changes, or create commits; an agent must read the relevant content and pass it to the selected tool.

Eight tools are available: ask_local handles one prompt with an optional system instruction, while chat_local accepts an explicit conversation history. summarize_local can focus on a topic, code_review_local reviews code or a diff, and draft_commit_message_local produces a commit message from a diff. extract_local handles requested items such as URLs, names, or error codes. list_models checks installed Ollama models, and server_info reports effective configuration without contacting Ollama.

Setup and configuration

Michael-WhiteCapData/ollama-handoff MCP server requires Python 3.11 or newer, Ollama, and a client that can register an MCP stdio server. Install or otherwise run Ollama, download a model with ollama pull, and keep the Ollama service available. The package can be launched with uvx, or installed into a virtual environment with pip.

The default Ollama endpoint is http://localhost:11434. Unless overridden, calls use qwen2.5-coder:14b, which must be installed separately. Configuration variables are:

  • OLLAMA_URL: Ollama server address.
  • OLLAMA_DEFAULT_MODEL: model used when a call does not specify one.
  • OLLAMA_NUM_CTX: context window, defaulting to 32768 tokens.
  • OLLAMA_KEEP_ALIVE: model retention period, defaulting to 30m.
  • OLLAMA_TIMEOUT_S: generation and chat timeout, defaulting to 600 seconds.

A smaller model or context window may suit machines with limited memory. The included Docker setup keeps stdin open and can point to a host Ollama service.

Tools and capabilities

The tool set covers general prompting, multi-turn conversations, focused summaries, first-pass code analysis, commit-message drafting, and text extraction. Model discovery helps confirm that the requested model is installed. Configuration inspection helps diagnose the server’s effective settings, while a successful summary call also verifies generation.

Limitations and notes

Results vary with the chosen Ollama model and hardware. Initial model loading can increase response time, and requests may time out if the model or context is too large. A remote OLLAMA_URL sends submitted text to that endpoint rather than keeping it on the same machine. The server is an MCP service waiting for client requests, not an interactive terminal chat program. Version 0.1.3 uses the MCP 1 FastMCP API; version 0.1.2 requires an MCP package constraint below version 2.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Ollama Handoff

Michael-WhiteCapData/ollama-handoff is an MCP server that connects MCP clients to a local or configured Ollama instance. Its main tools handle prompts, chat histories, summaries, code reviews, commit-message drafts, text extraction, installed-model discovery, and server configuration checks.

Install Ollama and Python 3.11 or newer, then register the server with your MCP client using `uvx ollama-handoff@0.1.3`, or install the package with pip in a virtual environment. Download a model first and set `OLLAMA_DEFAULT_MODEL` if you do not want the default.

Yes, it works with Claude Code through the stdio registration command shown in the README. Configure the server with `claude mcp add`, provide the desired Ollama model through `OLLAMA_DEFAULT_MODEL`, and restart or reconnect the client.

No, it does not read files, stage changes, or create commits. The calling agent must supply file contents or diffs to the tools, and generated reviews or commit messages should be checked before use.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewOllama Handoff AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/michael-whitecapdata-ollama-handoff?style=directory)](https://allmcps.com/mcp/michael-whitecapdata-ollama-handoff)
HTML Embed
<a href="https://allmcps.com/mcp/michael-whitecapdata-ollama-handoff"><img src="https://allmcps.com/api/badge/michael-whitecapdata-ollama-handoff?style=directory" alt="Ollama Handoff on AllMCPs" /></a>