4q tokenz for Gemini CLI
io.github.steveweltman/4q-tokenz
Intelligent MCP proxy that reduces token usage by exposing only mcp_search and mcp_call.
client:Gemini CLI
transport:stdio
runtime:npm
Install 4q tokenz in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"4q-tokenz": {
"command": "npx",
"args": [
"-y",
"4q-tokenz"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs