Token Optimizer MCP plugin for Grok Build
Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI clients.
How to install Token Optimizer MCP in Grok Build
1. Add this repo as a plugin marketplace in Grok Build (once per computer):
grok plugin marketplace add ooples/token-optimizer-mcp2. Install the plugin:
grok plugin install token-optimizer@ooples/token-optimizer-mcp --trustReview before you trust it. --trust lets this plugin's hooks, MCP servers and scripts run code on your computer. It's a community repo that neither xAI nor GrokStacks has reviewed, so read its code first.
Then start a new Grok session, or press r in /plugins, to load it.
Inside Grok Build: type /plugins, open the Marketplace tab, press a and add ooples/token-optimizer-mcp, then select token-optimizer and press i.
Command format: Grok Build's plugin guide
Runs a local MCP server (with npx, uvx or similar), so that tool needs to be installed, for example Node.js for npx.
What we checked: on Dec 1, 2026 it installed with grok 1.0.62 and Grok found 1 subagent. That's an install check only: we haven't run it in a live Grok session.
New Grok Build plugins every Tuesday, install line ready to copy.
Stacks Weekly is one short email from GrokStacks and CodexStacks. Subscribe and get the free starter list: 20 Grok Build plugins worth installing first.
Confirmation email first. Unsubscribe anytime.
What it contains
Subagents (1)
token-optimizer:worker— A general-purpose agent that starts lean, for a delegated task whose prompt carries everything it needs. It starts without CLAUDE.md, auto-memory and the skill list, so each spawn and each of its turn
MCP servers (1)
token-optimizer— stdio server
Hooks (1)
hooks— PostToolUse, PreCompact, PreToolUse, SessionStart, Stop, SubagentStop
About this listing
Token Optimizer MCP is a community plugin on GitHub by ooples, written as a Claude Code plugin that Grok Build installs. We install-checked it in Grok; we haven't run it in a live session or reviewed its code. When we installed it, Grok found 1 subagent, 1 MCP server, 1 hook. Its license is MIT. We checked commit b1d182405b30. It's one of 163 listings in the Productivity category on GrokStacks.
Token Optimizer MCP FAQ
How do I install Token Optimizer MCP in Grok Build?
Add the repo as a marketplace with grok plugin marketplace add ooples/token-optimizer-mcp, then run grok plugin install token-optimizer@ooples/token-optimizer-mcp --trust. Then start a new Grok session, or press r in /plugins, to load it.
Is Token Optimizer MCP an official Grok Build plugin?
No. Token Optimizer MCP is a community plugin on GitHub by ooples, not in xAI's official Grok Build marketplace. We checked that it installs and what Grok loads from it, but haven't run it in a live Grok session or reviewed its code.
What does Token Optimizer MCP include?
According to what Grok loaded in our install check, Token Optimizer MCP includes 1 subagent, 1 MCP server, 1 hook: token-optimizer:worker, token-optimizer, hooks.
Details
- Type
- Plugin
- Category
- Productivity
- Source
- Community Claude Code plugin, installs in Grok
- License
- MIT
- Author
- ooples
- Keywords
- ai, caching, claude, compression, gemini-cli-extension, llm, mcp, mcp-server, token-optimization
- Source repo
- https://github.com/ooples/token-optimizer-mcp
- Checked commit
b1d182405b30- Country
United States (from the location on the maker’s public GitHub profile; country only. How we mark countries)
- Checked by GrokStacks
- Install-checked in Grok Build on Dec 1, 2026; not run in a live session
Something wrong or missing? Submit or improve this listing. Marketplace listings also refresh automatically every night.
For maintainers: badge and embeds
Maintain Token Optimizer MCP? Add the badge; it links to this page.
Markdown
[](https://grokstacks.com/p/token-optimizer-mcp/)HTML
<a href="https://grokstacks.com/p/token-optimizer-mcp/"><img src="https://grokstacks.com/badge.svg" alt="Listed on GrokStacks" width="164" height="28"></a>Embed card (static HTML and inline CSS, no JavaScript). Preview:
<a href="https://grokstacks.com/p/token-optimizer-mcp/" style="display:block;max-width:380px;box-sizing:border-box;padding:14px 16px;border:1px solid #2a2e3c;border-radius:12px;background:#0a0b0f;color:#e8eaf0;font:14px/1.45 -apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;text-decoration:none"><span style="display:block;font-size:16px;font-weight:700;color:#e8eaf0">Token Optimizer MCP</span><span style="display:block;margin:2px 0 8px;font-size:12px;color:#9aa0b1">Community plugin for Grok Build · 1 subagent, 1 MCP server, 1 hook</span><span style="display:block;margin:0 0 10px;color:#c9cdd8">Measure token savings per AI coding agent, optimize context, and share a live local knowledge graph across 16 CLI…</span><span style="font-size:12px;font-weight:600;color:#7c9cff">View on GrokStacks →</span></a>Markdown summary
**[Token Optimizer MCP on GrokStacks](https://grokstacks.com/p/token-optimizer-mcp/)**: Community plugin for Grok Build with 1 subagent, 1 MCP server, 1 hook. Install: `grok plugin install token-optimizer@ooples/token-optimizer-mcp --trust` (after `grok plugin marketplace add ooples/token-optimizer-mcp`)More on badges, embeds and keeping your listing up to date: GrokStacks for plugin authors.
Also in Productivity
Aegis
?Make AI coding agents architecture-aware: baseline-first, evidence-verified, drift-checked, and safe across long tasks.
Agent Deck
Terminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
Agent Skill
?Guide for writing ast-grep rules to perform structural code search and analysis. Use when users need to search codebases using Abstract Syntax Tree (AST) patterns, find specific code structures, or perform complex code queries that go beyond simple text search.
Agentmemory
#1 Persistent memory for AI coding agents based on real-world benchmarks
AI Copywriter
?An AI copywriter that uses real copywriting skills + real marketing knowledge with human tone.
AI Memory
Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors