Skip to main content
Glama

offload-mcp πŸͺΆ

πŸ‡©πŸ‡ͺ Deutsche Anleitung Β· ⭐ If this saves you tokens, please star the repo!

Stretch your Claude limits. An MCP server that lets Claude Desktop / Claude Code hand bulky, routine work to free LLM APIs β€” Groq, Google Gemini, Cerebras, Mistral, NVIDIA NIM, OpenRouter β€” and read back only the short result.

  • πŸ“„ offload_files – "summarize this 8 MB log" β†’ the file goes to Gemini, Claude only sees the 20-line answer. This is where most tokens are saved.

  • ✍️ offload – drafts, translations, boilerplate, simple code.

  • πŸ” offload_batch – the same instruction over 50 items in parallel.

  • πŸ“Š list_providers – what's configured.

  • πŸ’° savings_report – Claude tokens saved, per session and all-time.

  • πŸ”€ Automatic fallback: provider rate-limited? Next one takes over.

  • πŸ”„ Self-healing models: if a provider retires a model, offload-mcp finds a current free one automatically.

  • πŸ“¦ Zero dependencies. Node β‰₯ 18, that's it.

  • 🌍 Messages in your system language (English, German – more welcome).

See what it brings πŸ’°

Every offloaded task ends with a savings line, and Claude shows it to you:

Summary: 3 errors found in auth.log (lines 812, 1440, 2977) …
β€” via gemini/gemini-2.5-flash
πŸ’° this call: ~11,723 Β· session: ~18,402 Β· total: ~240,118 Claude tokens (β‰ˆ $3.60)

Ask Claude "how much has offload saved me?" for a full report. The all-time counter is stored in ~/.offload-mcp/stats.json.

Related MCP server: Nanites

How it saves tokens

Without it, Claude reads a 100k-token file into its context. With it, a free model reads the file and Claude gets a ~500-token answer. Your Claude usage goes to thinking, not to reading.

⚑ Quick setup (1 command)

Requires Node.js. Open a terminal (Windows: cmd) and run:

npx -y github:ok6416411-source/offload-mcp setup

A window opens in your browser β†’ paste your free API keys β†’ Save. Restart Claude Desktop. Done. (Claude Code is configured automatically too, if installed.)

Or just tell Claude Code: "Run npx -y github:ok6416411-source/offload-mcp setup for me."

Manual setup

1. Get at least one free API key

Provider

Get a key

Good at

Groq

https://console.groq.com/keys

very fast

Google Gemini

https://aistudio.google.com/apikey

huge context (whole files)

Cerebras

https://cloud.cerebras.ai

very fast

Mistral

https://console.mistral.ai/api-keys

multilingual

NVIDIA NIM

https://build.nvidia.com

many open models

OpenRouter

https://openrouter.ai/keys

many :free models

More keys = more free capacity and better fallback. Free-tier limits are set by each provider and change over time.

2. Add to Claude Desktop

Open Settings β†’ Developer β†’ Edit Config (claude_desktop_config.json):

{
  "mcpServers": {
    "offload": {
      "command": "npx",
      "args": ["-y", "github:ok6416411-source/offload-mcp"],
      "env": {
        "GEMINI_API_KEY": "...",
        "GROQ_API_KEY": "..."
      }
    }
  }
}

Restart Claude Desktop. Ask: "list your offload providers".

Claude Code: claude mcp add offload -e GEMINI_API_KEY=... -- npx -y github:ok6416411-source/offload-mcp

Add to your project instructions / CLAUDE.md:

For large files, logs or bulk text tasks, use the offload tools instead of reading content yourself.

Configuration

Env var

Effect

OFFLOAD_ORDER

Provider priority, e.g. gemini,groq,cerebras

OFFLOAD_<ID>_MODEL

Override a model, e.g. OFFLOAD_GROQ_MODEL=...

OFFLOAD_MAX_FILE_CHARS

Cap for offload_files input (default 400000)

OFFLOAD_LANG

Message language (en, de). Default: your system language

OFFLOAD_NO_STAR=1

Hide the one-time ⭐ reminder

Honest notes

  • Free models are weaker than Claude. Offload grunt work, keep reasoning with Claude.

  • Files you offload are sent to that provider. Don't offload secrets; check each provider's data policy (some free tiers may use data for training).

  • Respect each provider's terms β€” one account per provider, no key farming.

Development

npm test

PRs welcome β€” especially new providers (any OpenAI-compatible endpoint is a ~8-line addition in src/providers.js).

License

MIT

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
      Not graded
      quality
      D
      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.
      27
      AGPL 3.0
    • A
      license
      B
      quality
      B
      maintenance
      Enables Claude Code and Claude Desktop to delegate bounded, disposable tasks to local or cheap cloud models, with model scoring, guardrails, and cost-saved tracking.
      53
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables Claude to delegate web search, page reading, text drafting, and parallel multi-model image generation to cheaper helper models on any OpenAI-compatible backend. Claude stays in charge of planning and final decisions while consuming fewer of its own tokens.
      5
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Enables Claude Code and other MCP clients to offload bounded tasks to a local or cloud LLM (LM Studio, Ollama, vLLM, LiteLLM, OpenRouter, DeepSeek, Groq, Cerebras, OpenAI) so files are read and drafted outside the orchestrator's context window, cutting token costs. It also provides a cheap second model for code review, test stubs, commit messages, format conversion, and embeddings.
      MIT