← azure-cost-mcp

azure-cost-mcp dacb0a03d1b84fbeb7af2f681986d4f7d7b1ca78

source_git · mo2k4/azure-cost-mcp · current release

9
Tools
0
Resources
0
Templates
0
Prompts

Observation

Observed 2026-08-31T15:00:25.362Z using mcpSecurity-inventory. Status: succeeded. Negotiated protocol: 2025-06-18.

Server capabilities
{
  "tools": {
    "listChanged": true
  }
}

Tools 9

ToolCategoryAnnotationsRisk
azure_compare_reservation_vs_paygCompare pay-as-you-go vs 1-year and 3-year reservation pricing for a VM SKU. Always call this for workloads expected to run >6 months.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "armSkuName": {
      "type": "string"
    },
    "armRegionName": {
      "type": "string"
    },
    "currencyCode": {
      "default": "USD",
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  },
  "required": [
    "armSkuName",
    "armRegionName"
  ]
}
— · —
azure_compare_vm_pricesCompare VM SKUs across regions. Always call azure_compare_reservation_vs_payg after for workloads running >6 months.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "skuNames": {
      "minItems": 1,
      "maxItems": 10,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "armSkuName values, e.g. [\"Standard_D2s_v5\"]"
    },
    "regions": {
      "minItems": 1,
      "maxItems": 5,
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "armRegionName values, e.g. [\"eastus\", \"westeurope\"]"
    },
    "currencyCode": {
      "default": "USD",
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  },
  "required": [
    "skuNames",
    "regions"
  ]
}
— · —
azure_estimate_architecture_costEstimate monthly and annual cost for a multi-component Azure architecture. Resolves prices in parallel.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "components": {
      "minItems": 1,
      "maxItems": 20,
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "component": {
            "type": "string",
            "description": "human label, e.g. \"App Server\""
          },
          "armSkuName": {
            "type": "string"
          },
          "armRegionName": {
            "type": "string"
          },
          "quantity": {
            "default": 1,
            "type": "integer",
            "minimum": 1,
            "maximum": 9007199254740991
          },
          "usageHoursPerMonth": {
            "default": 730,
            "type": "number",
            "minimum": 0,
            "maximum": 744
          },
          "storageGB": {
            "default": 0,
            "type": "number",
            "minimum": 0
          },
          "priceType": {
            "default": "Consumption",
            "type": "string",
            "enum": [
              "Consumption",
              "Reservation"
            ]
          }
        },
        "required": [
          "component",
          "armSkuName",
          "armRegionName"
        ],
        "additionalProperties": false
      }
    },
    "includeReservationAlternative": {
      "default": false,
      "type": "boolean"
    },
    "currencyCode": {
      "default": "USD",
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  },
  "required": [
    "components"
  ]
}
— · —
azure_find_cheapest_regionFind the cheapest Azure regions for a given VM SKU. Returns top N sorted by price.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "armSkuName": {
      "type": "string"
    },
    "topN": {
      "default": 5,
      "type": "integer",
      "minimum": 1,
      "maximum": 20
    },
    "priceType": {
      "default": "Consumption",
      "type": "string",
      "enum": [
        "Consumption",
        "Reservation"
      ]
    },
    "currencyCode": {
      "default": "USD",
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  },
  "required": [
    "armSkuName"
  ]
}
— · —
azure_get_cost_forecastRetrieve Azure cost forecast for a period. Requires Cost Management credentials.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "timeframe": {
      "default": "MonthToDate",
      "type": "string",
      "enum": [
        "MonthToDate",
        "BillingMonthToDate",
        "Custom"
      ]
    },
    "startDate": {
      "type": "string"
    },
    "endDate": {
      "type": "string"
    },
    "granularity": {
      "default": "Daily",
      "type": "string",
      "enum": [
        "Daily",
        "Monthly"
      ]
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  }
}
— · —
azure_list_budgetsList Azure budgets with current spend status (CRITICAL/WARNING/OK). Requires Cost Management credentials.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "resourceGroup": {
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  }
}
— · —
azure_query_costsQuery actual Azure subscription spend. Requires Cost Management credentials.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "timeframe": {
      "type": "string",
      "enum": [
        "MonthToDate",
        "BillingMonthToDate",
        "TheLastMonth",
        "TheLastBillingMonth",
        "Custom"
      ]
    },
    "startDate": {
      "description": "ISO date, required when timeframe=Custom",
      "type": "string"
    },
    "endDate": {
      "description": "ISO date, required when timeframe=Custom",
      "type": "string"
    },
    "granularity": {
      "default": "None",
      "type": "string",
      "enum": [
        "Daily",
        "Monthly",
        "None"
      ]
    },
    "groupBy": {
      "default": [
        "ServiceName"
      ],
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "ResourceGroup",
          "ServiceName",
          "Location",
          "ResourceType"
        ]
      }
    },
    "costType": {
      "default": "ActualCost",
      "type": "string",
      "enum": [
        "ActualCost",
        "AmortizedCost"
      ]
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  },
  "required": [
    "timeframe"
  ]
}
— · —
azure_query_costs_by_resourceShow top-N Azure resources by spend with % of total. Requires Cost Management credentials.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "topN": {
      "default": 10,
      "type": "integer",
      "minimum": 1,
      "maximum": 50
    },
    "resourceGroup": {
      "type": "string"
    },
    "timeframe": {
      "default": "MonthToDate",
      "type": "string",
      "enum": [
        "MonthToDate",
        "TheLastMonth",
        "Custom"
      ]
    },
    "startDate": {
      "type": "string"
    },
    "endDate": {
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  }
}
— · —
azure_search_pricesSearch Azure retail prices with OData filters. Use for ad-hoc price lookups.
Input schema
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "serviceName": {
      "description": "e.g. \"Virtual Machines\"",
      "type": "string"
    },
    "serviceFamily": {
      "description": "e.g. \"Compute\"",
      "type": "string"
    },
    "armRegionName": {
      "description": "e.g. \"eastus\"",
      "type": "string"
    },
    "skuName": {
      "description": "partial match, e.g. \"D2s v5\"",
      "type": "string"
    },
    "armSkuName": {
      "description": "exact SKU, e.g. \"Standard_D2s_v5\"",
      "type": "string"
    },
    "priceType": {
      "type": "string",
      "enum": [
        "Consumption",
        "Reservation",
        "DevTest"
      ]
    },
    "currencyCode": {
      "default": "USD",
      "type": "string"
    },
    "limit": {
      "default": 50,
      "type": "integer",
      "minimum": 1,
      "maximum": 200
    },
    "nextPageLink": {
      "type": "string"
    },
    "response_format": {
      "default": "markdown",
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ]
    }
  }
}
— · —

Resources 0

Resource templates 0

Prompts 0

Let’s talk about MCP security.

Share your details and our security team will contact you.