.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/ooples/token-optimizer-mcp
home/mcp-servers/ooples/token-optimizer-mcp
ooples avatar

token-optimizer-mcp

byooples· 1 MCP server

Installs

2.0k

Stars

453

Forks

47

Category

AI Agents & MCP

View on GitHub

TL;DR

> Give Codex, Claude, Cursor, and other MCP clients more room to think with cached context, compact diffs, smart tools, and visible token-savings reports.

How to install token-optimizer-mcp?

ooples/token-optimizer-mcp
$git clone https://github.com/ooples/token-optimizer-mcp

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install token-optimizer-mcp by running `git clone https://github.com/ooples/token-optimizer-mcp`, then use it for the current task and follow its documentation at https://github.com/ooples/token-optimizer-mcp.

Files · 1

View on GitHub
README.md
1# Token Optimizer MCP
2 
3> Give Codex, Claude, Cursor, and other MCP clients more room to think with cached context, compact diffs, smart tools, and visible token-savings reports.
4 
5[![npm version](https://img.shields.io/npm/v/%40ooples%2Ftoken-optimizer-mcp?logo=npm)](https://www.npmjs.com/package/@ooples/token-optimizer-mcp)
6[![CI](https://github.com/ooples/token-optimizer-mcp/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ooples/token-optimizer-mcp/actions/workflows/ci.yml)
7[![Node.js 18+](https://img.shields.io/badge/node-%3E%3D18-339933?logo=node.js&logoColor=white)](https://nodejs.org/)
8[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
9 
10Token Optimizer is a local [Model Context Protocol](https://modelcontextprotocol.io/) server. It reduces the text sent back into an agent's context by caching large payloads, returning diffs on repeated reads, filtering noisy command output, and recording the result of every measurable optimization.
11 
12- **74 MCP tools** in the current release
13- **No hosted service required** for core caching and compression
14- **SQLite-backed persistence** across conversations
15- **Brotli compression** with token-aware keep-or-skip decisions
16- **Built-in savings reports** by tool, hook phase, and MCP server
17 
18## Installation
19 
20Every client launches the same stdio server—`npx -y @ooples/token-optimizer-mcp@latest`—but each client has its own instruction and lifecycle APIs. The ready-made integrations below use those native APIs; they do not pretend Claude Code's seven-phase PowerShell hook system is portable unchanged.
21 
22| Client | Fastest MCP setup | Best-experience integration |
23| ------------------ | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------- |
24| Codex | `codex mcp add token-optimizer -- npx -y @ooples/token-optimizer-mcp@latest` | Codex plugin: MCP + skill + lifecycle hooks |
25| Claude Code | `claude mcp add --transport stdio --scope user token-optimizer -- npx -y @ooples/token-optimizer-mcp@latest` | Claude plugin: MCP + skill + large-read hook |
26| GitHub Copilot CLI | `copilot mcp add token-optimizer -- npx -y @ooples/token-optimizer-mcp@latest` | `AGENTS.md` + repository lifecycle hooks |
27| Gemini CLI | `gemini mcp add --scope user token-optimizer npx -y @ooples/token-optimizer-mcp@latest` | Gemini extension: MCP + context + lifecycle hooks |
28| OpenCode | Add the `mcp` block below to `opencode.json` | `AGENTS.md` + local plugin + compaction preservation |
29 
30### Codex
31 
32#### 1. Add the MCP server or native plugin
33 
34For the best experience, install the Codex plugin. It bundles the MCP server, the token-optimization skill, session guidance, and a large-read hook:
35 
36```bash
37codex plugin marketplace add ooples/token-optimizer-mcp
38codex plugin add token-optimizer@token-optimizer
39```
40 
41Review and trust the bundled hooks with `/hooks`, then start a new conversation. If you prefer an MCP-only installation, use:
42 
43```bash
44codex mcp add token-optimizer -- npx -y @ooples/token-optimizer-mcp@latest
45```
46 
47On Windows, if PowerShell blocks the `codex.ps1` shim, use the command launcher directly:
48 
49```powershell
50codex.cmd mcp add token-optimizer -- npx -y @ooples/token-optimizer-mcp@latest
51```
52 
53This writes the server to `~/.codex/config.toml`. Codex CLI, the Codex IDE extension, and the Codex app on the same host share that configuration.
54 
55#### 2. Verify the installation
56 
57```bash
58codex mcp get token-optimizer
59codex mcp list
60```
61 
62![Codex MCP list showing token-optimizer installed and enabled](./docs/assets/codex-mcp-installed.

Preview

ooples/token-optimizer-mcpooples/token-optimizer-mcp

# Token Optimizer MCP

> Give Codex, Claude, Cursor, and other MCP clients more room to think with cached context, compact diffs, smart tools, and visible token-savings reports.

[![npm version](https://img.shields.io/npm/v/%40ooples%2Ftoken-optimizer-mcp?logo=npm)](https://www.npmjs.com/package/@ooples/token-optimizer-mcp)

[![CI](https://github.com/ooples/token-optimizer-mcp/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/ooples/token-optimizer-mcp/actions/wo

Repoooples/token-optimizer-mcp
TypeMCP Servers
CategoryAI Agents & MCP
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

MCPaicaching

Related

6 picks
Type
  1. langchain-ai avatarlangchain-mcp-adaptersMake Anthropic Model Context Protocol (MCP) tools compatible with LangChain and LangGraph agents.MCP ServersJul 20267.0M3.6k
  2. openclaw avatarmcporterTypeScript runtime and CLI for connecting to configured Model Context Protocol servers.MCP ServersJul 20262.5M4.8k
  3. sparfenyuk avatarmcp-proxyA MCP server which proxies requests to a remote MCP server over streamable HTTP or SSE.MCP ServersJul 20262.2M2.7k
  4. sooperset avatarmcp-atlassianThe Model Context Protocol (MCP) Atlassian integration is an open-source implementation that bridges Atlassian products (Jira and Confluence) with AI language models following Anthropic's MCP specification.MCP ServersJul 20261.7M5.6k
  5. open-webui avataropen-webuiOpen WebUIMCP ServersJul 20261.4M147k
  6. dyoshikawa avatarrulesyncUnified AI rules management CLI tool that generates configuration files for various AI development toolsMCP ServersJul 2026889k1.3k