token-optimizer-mcp

ooples/token-optimizer-mcp
★ 355 stars TypeScript AI/LLM Updated 6mo ago ✗ Risk
Intelligent token optimization for Claude Code - achieving 95%+ token reduction through caching, compression, and smart tool intelligence
View on GitHub → 🛡️ Security & TRiSM Audit →

⚡ What This Server Does & Key Capabilities

The token-optimizer-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and Intelligent token optimization for Claude Code - achieving 95%+ token reduction through caching, compression, and smart tool intelligence. 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": {
    "token-optimizer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "ooples/token-optimizer-mcp"
      ]
    }
  }
}
⚡
Building Production MCP Agents? PRO TOOLKITS
Get the Complete 31,400+ MCP Ecosystem Dataset ($29) or the FastMCP + TypeScript Starter Kit ($39) with turnkey Docker & Cloudflare deployment.

README Documentation

This repository uses GitHub Actions for automated CI/CD with comprehensive quality gates, automated releases, and dependency management. - Overview - Workflows - Setup Instructions - Status Checks - Release Process

View Full Documentation & Updates on GitHub ↗

Tools (9)

CODECOV_TOKENDISCORD_WEBHOOK_URLNPM_TOKENSLACK_WEBHOOK_URLSNYK_TOKENcommitlintnotifypublishrelease

Topics

aicachingclaudecompressionllmmcpmcp-servertoken-optimization
📊
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 →