cloudcostsmcp
v1.0.2Anchor AI FinOps to real, live cloud pricing — AWS, GCP & Azure public and enterprise rates.
Values you need
| Variable | What it is | |
|---|---|---|
OCC_GCP_API_KEY | optional secret | GCP free API key — required for GCP pricing, no billing account needed. |
OCC_AWS_ENABLE_COST_EXPLORER | optional | Set to true to enable effective/discounted AWS pricing via Cost Explorer ($0.01/call). Default: false |
AWS_ACCESS_KEY_ID | optional secret | AWS credentials — only needed for effective pricing (RI/Savings Plans). Public pricing works without credentials. |
AWS_SECRET_ACCESS_KEY | optional secret | AWS secret key — paired with AWS_ACCESS_KEY_ID for effective pricing. |
OCC_GCP_BILLING_ACCOUNT_ID | optional | GCP billing account ID — enables effective/contract pricing via Cloud Billing API. |
PyPI (uvx) discovery passed
Requires uv (https://docs.astral.sh/uv/)
Run in a terminal
claude mcp add cloudcostsmcp -- uvx opencloudcosts==1.0.2Add to
claude_desktop_config.json{
"mcpServers": {
"cloudcostsmcp": {
"args": [
"opencloudcosts==1.0.2"
],
"command": "uvx"
}
}
}Add to
~/.cursor/mcp.json{
"mcpServers": {
"cloudcostsmcp": {
"args": [
"opencloudcosts==1.0.2"
],
"command": "uvx"
}
}
}Add to
.vscode/mcp.json{
"servers": {
"cloudcostsmcp": {
"args": [
"opencloudcosts==1.0.2"
],
"command": "uvx",
"type": "stdio"
}
}
}Add to
~/.codex/config.toml[mcp_servers.cloudcostsmcp]
command = "uvx"
args = ["opencloudcosts==1.0.2"]For AI agents
- Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
- Restart or reload the client so it starts the server.
- Verify: the server should expose these tools: cache_stats, compare_bom, compare_prices, describe_catalog, estimate_bom, estimate_unit_economics, find_available_regions, find_cheapest_region, ….
- If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.
Machine-readable: install.md · manifest.json