cloudcostsmcp

v1.0.2
io.github.x7even/cloudcostsmcp Checked 5 hours ago Published 5 months ago

Anchor AI FinOps to real, live cloud pricing — AWS, GCP & Azure public and enterprise rates.

Values you need

VariableWhat it is
OCC_GCP_API_KEYoptional secret GCP free API key — required for GCP pricing, no billing account needed.
OCC_AWS_ENABLE_COST_EXPLORERoptional Set to true to enable effective/discounted AWS pricing via Cost Explorer ($0.01/call). Default: false
AWS_ACCESS_KEY_IDoptional secret AWS credentials — only needed for effective pricing (RI/Savings Plans). Public pricing works without credentials.
AWS_SECRET_ACCESS_KEYoptional secret AWS secret key — paired with AWS_ACCESS_KEY_ID for effective pricing.
OCC_GCP_BILLING_ACCOUNT_IDoptional 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.2
Add 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

  1. 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).
  2. Restart or reload the client so it starts the server.
  3. 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, ….
  4. 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