/ Directory / Playground / Claude Token Optimizer
● Community nadimtuhin ⚡ Instant

Claude Token Optimizer

by nadimtuhin · nadimtuhin/claude-token-optimizer

Reusable setup prompts to optimize Claude Code docs — 90% token savings in 5 minutes.

Reusable setup prompts to optimize Claude Code docs — 90% token savings in 5 minutes.

Live Demo

What it looks like in practice

claude-token-optimizer.replay ▶ ready
0/0

Install

Pick your client

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "claude-token-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "claude-token-optimizer"
      ]
    }
  }
}

Open Claude Desktop → Settings → Developer → Edit Config. Restart after saving.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "claude-token-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "claude-token-optimizer"
      ]
    }
  }
}

Cursor uses the same mcpServers schema as Claude Desktop. Project config wins over global.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "claude-token-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "claude-token-optimizer"
      ]
    }
  }
}

Click the MCP Servers icon in the Cline sidebar, then "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "claude-token-optimizer": {
      "command": "npx",
      "args": [
        "-y",
        "claude-token-optimizer"
      ]
    }
  }
}

Same shape as Claude Desktop. Restart Windsurf to pick up changes.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "claude-token-optimizer",
      "command": "npx",
      "args": [
        "-y",
        "claude-token-optimizer"
      ]
    }
  ]
}

Continue uses an array of server objects rather than a map.

~/.config/zed/settings.json
{
  "context_servers": {
    "claude-token-optimizer": {
      "command": {
        "path": "npx",
        "args": [
          "-y",
          "claude-token-optimizer"
        ]
      }
    }
  }
}

Add to context_servers. Zed hot-reloads on save.

claude mcp add claude-token-optimizer -- npx -y claude-token-optimizer

One-liner. Verify with claude mcp list. Remove with claude mcp remove.

Use Cases

Real-world ways to use Claude Token Optimizer

Get started with Claude Token Optimizer

When to use: When you want to bring Claude Token Optimizer into your Claude workflow.

Flow
  1. Install the skill in your client (see Install tab).
  2. Authenticate or configure required tokens.
  3. Ask Claude to use the new tools.
    Use Claude Token Optimizer to help me with a task.✓ Copied

Outcome: Claude can interact with Claude Token Optimizer directly from your IDE.

More

Resources

📖 Read the official README on GitHub

🐙 Browse open issues

🔍 Browse all 400+ MCP servers and Skills