Skip to content
Claude Code

ai optimizer for Claude Code

io.github.shivam-app-developers/ai-optimizer

MCP server that cuts AI coding agent token usage via framework-aware context optimization

client:Claude Code transport:stdio runtime:npm

Install ai optimizer in Claude Code

run in your project directory

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

claude mcp add ai-optimizer -e AI_OPTIMIZER_LICENSE=<AI_OPTIMIZER_LICENSE> -e AI_OPTIMIZER_LSP=<AI_OPTIMIZER_LSP> -e AI_OPTIMIZER_TELEMETRY=<AI_OPTIMIZER_TELEMETRY> -- npx -y @ai-optimizer/core

Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs

ai optimizer in other clients