Spend Brake for Gemini CLI
io.github.kivanow/spend-brake
Capped search, maps and other paid APIs over MCP, with hard dollar limits per key.
client:Gemini CLI
transport:stdio
runtime:npm
Install Spend Brake in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"spend-brake": {
"command": "npx",
"args": [
"-y",
"@spend-brake/mcp"
],
"env": {
"BRAKE_KEY": "<BRAKE_KEY>",
"BRAKE_URL": "<BRAKE_URL>",
"BRAKE_API_URL": "<BRAKE_API_URL>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs