Skip to main content
Glama

Local Offload

Let your AI assistant hand work to local models. Local Offload is an MCP server that lets Claude (or another MCP client) hand work to local Ollama models and get back only a short result. The server reads the files itself, so bulk material never uses your assistant's context, and it stays on your computer unless you point the server at another machine.

Tool

What it does

ask_local

One task over files or text: summarize, classify, extract, draft, review code

chat_local

A saved back-and-forth conversation with a local model

polish_text

Rewrites or reviews an email, ticket, chat message or other text. Rewrites warn about dropped or invented numbers, links and addresses

list_local_models

The models installed in Ollama and the profiles that use them

It never sends email or runs code. It writes a file only when you give out_path, and only inside allowed folders; an existing file is not replaced unless you ask, and then a backup is kept. What a local model writes is a draft: check it.

You need

  • Python 3.11 or later

  • Ollama running, with the models you want. The defaults are gemma3:27b (writing) and qwen2.5-coder:32b (coding, review); they need a large graphics card. Use smaller ones by overriding the profiles in config.json.

Related MCP server: lmstudio-mcp

Set up

pip install -r requirements.txt
ollama pull gemma3:27b
python core.py --selftest
claude mcp add local-offload -- python /full/path/to/server.py

config.json beside the scripts is optional:

{
  "profiles": { "writing": { "model": "llama3.1:8b" } },
  "output_roots": ["/full/path/you/allow"]
}

Environment variables: LOCALLLM_OLLAMA_URL (default http://localhost:11434), LOCALLLM_ALLOWED_HOSTS (other hosts a call may use), LOCALLLM_OUTPUT_ROOTS (semicolon separated).

What to know

  • Files you name in paths are read with your user account's rights and sent to the Ollama server in use.

  • chat_local keeps each conversation as plain text in sessions/ beside the scripts.

  • Tried on Windows. Other systems are untested.

MIT license.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      Enables Claude to delegate coding tasks to local Ollama models, reducing API token usage by up to 98.75% while leveraging local compute resources. Supports code generation, review, refactoring, and file analysis with Claude providing oversight and quality assurance.
      11
      27
      AGPL 3.0
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude Code to delegate sub-tasks to a local Ollama model through a single tool that accepts a prompt, optional system prompt, and model name and returns the full generated response. This routes bulk or mechanical work to a free local model so Claude's own tokens are reserved for tasks that need Claude-level reasoning.
      10
      ISC