local-swarm-mcp

jhonsferg/local-swarm-mcp
★ 2 stars Go AI/LLM Updated 4mo ago
MCP server that delegates mechanical tasks to local OpenAI-compatible inference backends (llama.cpp, Ollama, etc.) and provides context-management tools (compaction, scratch store, token estimation).
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The local-swarm-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and MCP server that delegates mechanical tasks to local OpenAI-compatible inference backends (llama.cpp, Ollama, etc.) and provides context-management tools (compaction, scratch store, token estimation). By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the AI/LLM domain.

Core Agent Capabilities

💡 Example Prompts to Ask Your AI Agent

Once installed in Claude Desktop or Cursor, try asking your assistant:

"Route this complex analysis task to the connected model and return a structured JSON report."
"Compare the reasoning outputs between two connected models and highlight any discrepancies."

Compatible AI Clients

🟣 Claude Desktop ⚡ Cursor IDE 💻 Claude Code CLI 🌊 Windsurf 🤖 Gemini CLI

Quick Install

Copy the config for your editor. Verify environment variables or setup notes in the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "local-swarm-mcp": {
      "command": "go",
      "args": [
        "run",
        "github.com/jhonsferg/local-swarm-mcp@latest"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,500+ Ecosystem Dataset ($29) or the Production Starter Kit ($39) with turnkey Python & TypeScript boilerplates.
For Server Authors
Feature This Server
Top homepage & category placement.
Sponsor ($49/wk) →

🛡️ Protodex Verified Badge

Are you the author of local-swarm-mcp? Add this badge to your GitHub README for social proof and backlink verification.

Protodex Verified
[![Protodex Verified](https://img.shields.io/badge/Protodex-Verified_MCP-2DD9E0?style=flat-square&logo=github)](https://protodex.io/servers/jhonsferg-local-swarm-mcp.html)

README Documentation

<p align="center"> <a href="https://github.com/jhonsferg/local-swarm-mcp/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/jhonsferg/local-swarm-mcp/actions/workflows/ci.yml/badge.svg"></a> <a href="https://github.com/jhonsferg/local-swarm-mcp/blob/main/LICENSE"><img alt="License: MIT" src="https://img.shields.io/badge/license-MIT-blue.svg"></a>

View Full Documentation & Updates on GitHub ↗

Tools (20)

cancel_taskclassify_task_riskclose_sessioncompact_contextcreate_sessiondelegate_taskestimate_tokenshealth_checklist_available_agent_toolslist_backend_hostslist_backendslist_downstream_mcp_serverslist_sessionslist_tasksregister_backend_hostregister_downstream_mcp_serverscratch_deletescratch_getscratch_listscratch_set

Topics

ai-agentsgolangllama-cppllmlocal-firstmcpmodel-context-protocolollamatool-calling
📊
Building AI Agents or Backtesting Quant Models?
Get the Polymarket Historical Dataset — 23.0M+ 15-minute price & orderbook snapshots across 18,400+ prediction markets. Clean CSV & SQLite download for backtesting & agent training.
Buy Dataset ($19) → View Sample →