An MCP server that reduces context-window usage by caching, compressing, and replacing standard Claude Code/Desktop tools with optimized alternatives. It stores compressed content in SQLite and provides token analytics, file, API, database, build, test, monitoring, and system-operation tools.
From the registry: Intelligent token optimization achieving 95%+ reduction through caching, compression, and 80+ tools
$ node --version$ npm install -g @ooples/token-optimizer-mcpPlease install the `token-optimizer-mcp` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Node.js** — Node.js 20+ Run: `node --version`
- **Install package** — Install globally via npm Run: `npm install -g @ooples/token-optimizer-mcp`
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@ooples/token-optimizer-mcp"]
- optional environment variables:
- `TOKEN_OPTIMIZER_USE_FILE_SESSION`: Set to true to revert to file-based session tracking (example: `false`)
- `TOKEN_OPTIMIZER_DEBUG_LOGGING`: Set to false to disable DEBUG-level logging (example: `true`)
Note: Postinstall script auto-configures Claude Desktop, Cursor, Cline, etc. 65 tools for caching, compression, and smart file operations.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.AI Agents Framework with Self Reflection and MCP support