Skip to main content
Glama
README.md
🌐 **English** | [Italiano](README.it.md)

# mcp-offload

One [MCP](https://modelcontextprotocol.io) server that lets agents (Claude Code, pi, any MCP client) **delegate work to other LLMs**: local models through Ollama, Codex, Claude, GLM. Each backend is a provider chosen in a YAML file; the agent sees three generic tools: `delegate`, `list_models`, `usage_stats`.

Status: `v0.x`, under development. It replaces `local-llm-offload`, `mcp-claude-offload` and `mcp-codex-offload`; the three keep working until the migration is done.

## Install

Requirements: Node.js 22.

```bash
git clone https://github.com/suppressio/mcp-offload.git
cd mcp-offload
npm install
```

## Use

Copy [config.example.yaml](config.example.yaml) to `~/.config/mcp-offload/config.yaml` and set the providers (keys stay in the environment, as `env:NAME` references), then register the server in the client:

```bash
claude mcp add offload -- node /path/to/mcp-offload/dist/mcp-offload.js
```

## Development

See [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md).

## License

MIT