Skip to content
VS Code

cloudcostsmcp for VS Code

io.github.x7even/cloudcostsmcp

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

client:VS Code transport:stdio runtime:pypi

Install cloudcostsmcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "occ-gcp-api-key",
      "description": "OCC_GCP_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "occ-aws-enable-cost-explorer",
      "description": "OCC_AWS_ENABLE_COST_EXPLORER",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-access-key-id",
      "description": "AWS_ACCESS_KEY_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "aws-secret-access-key",
      "description": "AWS_SECRET_ACCESS_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "occ-gcp-billing-account-id",
      "description": "OCC_GCP_BILLING_ACCOUNT_ID",
      "password": true
    }
  ],
  "servers": {
    "cloudcostsmcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "opencloudcosts"
      ],
      "env": {
        "OCC_GCP_API_KEY": "${input:occ-gcp-api-key}",
        "OCC_AWS_ENABLE_COST_EXPLORER": "${input:occ-aws-enable-cost-explorer}",
        "AWS_ACCESS_KEY_ID": "${input:aws-access-key-id}",
        "AWS_SECRET_ACCESS_KEY": "${input:aws-secret-access-key}",
        "OCC_GCP_BILLING_ACCOUNT_ID": "${input:occ-gcp-billing-account-id}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

cloudcostsmcp in other clients