mcp-optimizer reduces token waste from idle MCP servers in Claude Code

mcp-optimizer is a plugin that addresses token waste in Claude Code when using Model Context Protocol (MCP) servers. The problem: every connected MCP server loads its full tool schema into every conversation, even if tools are never used. With three servers, this can waste approximately 6,500+ tokens per session.
Key features
mcp-doctor– health check your MCP serversmcp-audit– see which tools you actually use versus which waste tokensmcp-optimize– generate a project-local configuration with only what you needmcp-to-skills– convert MCP tools into on-demand local Skills (zero idle cost)
The core concept: Skills only load when invoked, while MCP schemas load every time. This optimization reduces unnecessary token consumption.
Installation
Install via the plugin marketplace:
/plugin marketplace add choam2426/mcp-optimizer
/plugin install mcp-optimizerThe plugin is available on GitHub at https://github.com/choam2426/mcp-optimizer.
📖 Read the full source: r/ClaudeAI
👀 See Also

Phantom: A Persistent AI Agent Built with Claude's Agent SDK
Phantom is an open-source Bun/TypeScript process that wraps Claude's Agent SDK (Opus 4.6) with persistent vector memory, a self-evolution engine, and an MCP server interface. It runs continuously on its own VM or Docker Compose and communicates via Slack.

Developer Builds GALA Programming Language with Claude Code, Notes Strong Typing Improves AI-Generated Code Reliability
A developer built GALA, a functional programming language that transpiles to Go, using Claude Code extensively. The language features sealed types, exhaustive pattern matching, immutability by default, and monads, with Claude helping implement type inference, pattern-matching transformers, and fixing over 40 bugs.

AI Team OS: Self-Driving Organization Layer for Claude Code
AI Team OS is an operating system layer for Claude Code that creates autonomous workflows where the system continues working without waiting for user prompts. It includes 22 specialized agent templates, 40+ MCP tools, and runs entirely within Claude Code subscription without external API costs.

Destiny: Claude Code Plugin for Deterministic Fortune Telling Using Classical East Asian Astrology
Destiny is a Claude Code plugin that computes your eight-character birth chart, today's day pillar, and I-Ching hexagram deterministically (Python), then uses Claude to generate prose readings — no LLM-hallucinated horoscopes.