green mcp for Gemini CLI
io.github.rlawogh1005/green-mcp
Measure a program's CPU energy and LLM tokens, then refactor it cheaper. Measure, never estimate.
client:Gemini CLI
transport:stdio
runtime:pypi
Install green mcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"green-mcp": {
"command": "uvx",
"args": [
"green-mcp"
]
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs