cloudcostsmcp for Gemini CLI
io.github.x7even/cloudcostsmcp
Anchor AI FinOps to real, live cloud pricing — AWS, GCP & Azure public and enterprise rates.
client:Gemini CLI
transport:stdio
runtime:pypi
Install cloudcostsmcp in Gemini CLI
~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json
{
"mcpServers": {
"cloudcostsmcp": {
"command": "uvx",
"args": [
"opencloudcosts"
],
"env": {
"OCC_GCP_API_KEY": "<OCC_GCP_API_KEY>",
"OCC_AWS_ENABLE_COST_EXPLORER": "<OCC_AWS_ENABLE_COST_EXPLORER>",
"AWS_ACCESS_KEY_ID": "<AWS_ACCESS_KEY_ID>",
"AWS_SECRET_ACCESS_KEY": "<AWS_SECRET_ACCESS_KEY>",
"OCC_GCP_BILLING_ACCOUNT_ID": "<OCC_GCP_BILLING_ACCOUNT_ID>"
}
}
}
}
Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs