Skip to main content
Glama
Obrais-cloud

ollama-fleet-mcp

by Obrais-cloud

ollama-fleet-mcp

MCP server that exposes the local Ollama fleet (mac-studio, corsair, alien18) as tools for Claude Code.

Rewritten 2026-08-08 — the original was lost with the X10 Pro_A SSD; no backup or GitHub remote existed. This is a fresh implementation covering the same purpose (fleet-aware Ollama routing/inspection from inside Claude Code), not a recovery of the original code.

Tools

  • list_models(host=None) — installed models per host, or all hosts if omitted.

  • generate(host, model, prompt, timeout_sec=120) — send a prompt to a specific host+model, return the response.

  • fleet_health() — reachability, latency, and model count for every host.

  • compare_models(prompt, targets) — send the same prompt to multiple {host, model} pairs in parallel, return responses side by side.

  • smart_generate(model, prompt, timeout_sec=120) — routes to whichever host already has model loaded in memory (checks /api/ps), falling back to any host that has it installed. Avoids cold-load latency.

  • pull_model(host, model, timeout_sec=900) — pull/verify a model on a specific host.

Related MCP server: MCP-Demo

Hosts

Configured in hosts.json (Tailscale IPs):

{
  "mac-studio": "http://100.68.94.14:11434",
  "corsair": "http://100.94.117.48:11434",
  "alien18": "http://100.87.2.47:11434"
}

mac mini is intentionally excluded — its local Ollama is loopback-only, used internally by ollaroute/ollafifo/ollasecret, not a fleet compute node.

Run

uv run python main.py

Register with Claude Code

claude mcp add ollama-fleet -s user -- uv run --directory ~/ollama-fleet-mcp python main.py

-s user registers it at user scope, so it's available in every project, not just when your cwd happens to match wherever it was registered from.

Install Server
F
license - not found
A
quality
C
maintenance

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    -
    quality
    D
    maintenance
    Exposes local Ollama instances as tools for Claude Code, allowing users to offload code generation, text drafting, and embedding tasks to local GPUs. It supports multi-turn conversations and model management through the Model Context Protocol.
    MIT
  • F
    license
    -
    quality
    -
    maintenance
    A minimal Python MCP server that enables Claude Code to call local Ollama models (e.g., gemma3) as a tool, routing low-stakes work off the API and onto a homelab.
  • A
    license
    A
    quality
    A
    maintenance
    Unified MCP server for managing local model runtimes (Ollama, LM Studio, etc.), enabling provider-agnostic discovery, lifecycle management, hardware-fit checks, and delegated inference.
    16
    21
    Creative Commons Attribution Non Commercial No Derivatives 4.0 International
  • A
    license
    -
    quality
    C
    maintenance
    A small MCP server that turns a shared Ollama box into a team resource for Claude Code, providing typed tools and delegated read-only repo exploration using local models.
    MIT

View all related MCP servers

Related MCP Connectors

  • Real-time chat hub for AI agents — Claude Code, Cursor, Cline, Codex over MCP or REST.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Obrais-cloud/ollama-fleet-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server