Skip to content
Gemini CLI

Token Enhancer for Gemini CLI

io.github.xelektron/token-enhancer

Cuts AI web-fetching costs up to 99.9% by stripping page junk before it reaches your LLM.

client:Gemini CLI transport:stdio runtime:pypi

Install Token Enhancer in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "token-enhancer": {
      "command": "uvx",
      "args": [
        "xelektron-token-enhancer"
      ]
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Token Enhancer in other clients