mcpField
C
cost-estimation

cost-estimation

github.com/microsoftCloud & DevOps1.6k211 installsUpdated today
Repository

About cost-estimation

cost-estimation is a skill for Azure spending forecasts and planned-resource pricing. It distinguishes forecasts from hypothetical estimates and guides scope, assumptions, period, region, OS, and currency checks.

Key features

  1. 01Forecasts existing spend
  2. 02Estimates planned resource prices
  3. 03Uses public and agreement pricing
  4. 04Labels values by type

Use cases

  1. 01Forecasting costs for an Azure scope
  2. 02Estimating prices for planned resources
  3. 03Checking agreement prices

MCP support

It guides MCP tool use, including `forecast_costs`, `get_retail_prices`, and pricesheet tools for EA or MCA prices. It recommends tool-side filtering and bounded follow-up queries rather than transforming results in a shell or interpreter.

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/microsoft/azure-skills --skill cost-estimation

After installing, type/cost-estimationin Claude Code to confirm it loaded.

Bundled files

References and scripts installed along with SKILL.md.

references/
pricing-estimate.md
tool-fallback.md
references/cost-forecast/
error-handling.md
examples.md
guardrails.md
request-body-schema.md
workflow.md

Details

From the project README

Azure Cost Estimation

Quick Reference

IntentWorkflowPrimary tools
Forecast existing spendCost forecastforecast_costs
Price planned resourcesPricing estimatePricing tools

When to Use This Skill

Use for forecasts, pricing, and planning targets.

MCP Tools

ToolUse
forecast_costsForecast a scope.
get_retail_pricesGet public prices.
start_pricesheet_download, get_pricesheet_statusGet Enterprise Agreement (EA) or Microsoft Customer Agreement (MCA) prices.

Fallback: API mappings.

Workflow

  1. Distinguish forecasts from hypothetical pricing.
  2. Confirm scope, assumptions, period, region, OS, and currency.
  3. Load the matching workflow and label every value type.
  4. Never transform MCP results in a shell or interpreter; request tool-side filtering or bounded follow-up queries.

Error Handling

ErrorAction
Ambiguous meterAsk for OS, term, tier, or usage.
Forecast unavailableExplain the history requirement.
Pricesheet pendingHonor the returned polling interval.
Multiple currenciesNever combine currencies.
Server errorRetry once; then report the trace ID.

Comments

Markdown supported