costwright — agent budget analysis for Gemini CLI
io.github.hernaninverso/costwright-mcp
Static worst-case token-budget analysis for LLM-agent workflows + signed budget certificates.
client:Gemini CLI
transport:stdio
runtime:npm
Install costwright — agent budget analysis in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"costwright-mcp": {
"command": "npx",
"args": [
"-y",
"costwright-mcp"
],
"env": {
"COSTWRIGHT_API_KEY": "<COSTWRIGHT_API_KEY>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs