azure-vm-pricing

Azure VM sizes and USD list prices in 24 regions, updated weekly. Find, price and compare VMs.

我该使用它吗

质量与安全性

A
描述质量
93%
模式完整度
95%
命名质量
95%
投毒风险
100%
权限匹配度
100%
协议合规性
100%

发现(1)

  • LOWTool 'estimate_vm_cost' description lacks action verb在 estimate_vm_cost 中

基于对工具定义和协议合规性的自动分析。

上下文开销

~1,464token 数(工具定义)
~3.3 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.14%)

这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。

安装

一键安装

将以下内容添加到你的 `claude_desktop_config.json` 文件中:

{
  "mcpServers": {
    "azure-vm-pricing": {
      "command": "npx",
      "args": [
        "azure-vm-pricing-mcp"
      ]
    }
  }
}

可运行的软件包

npmazure-vm-pricing-mcp0.1.3stdio

远程端点

https://cld2day.com/mcpstreamable-http

它能做什么

工具清单

工具(4)

🟢 只读🟡 写入🔴 删除⚪ 未知
🟢find_vm_sizes(min_vcpus, min_memory_gib, workload, region, os, ...)

Find the cheapest Azure VM sizes that meet vCPU, memory and workload requirements, with monthly USD list prices. Burstable (B-series) and confidential sizes are only included when that workload is requested.

输入模式

{
  "type": "object",
  "properties": {
    "min_vcpus": {
      "type": "integer",
      "minimum": 0,
      "description": "Minimum vCPUs."
    },
    "min_memory_gib": {
      "type": "number",
      "minimum": 0,
      "description": "Minimum memory in GiB."
    },
    "workload": {
      "type": "string",
      "enum": [
        "general",
        "compute",
        "memory",
        "storage",
        "ai",
        "gpu",
        "hpc",
        "confidential",
        "burstable"
      ],
      "description": "Workload family. ai = NVIDIA GPUs only (CUDA, PyTorch, vLLM); gpu = any GPU incl. AMD. Omit for any (excludes burstable and confidential)."
    },
    "region": {
      "type": "string",
      "description": "Azure region, e.g. westeurope or \"West Europe\". Omit to use each size's cheapest region."
    },
    "os": {
      "type": "string",
      "enum": [
        "linux",
        "windows"
      ],
      "description": "Operating system for pay-as-you-go prices. Default linux."
    },
    "arch": {
      "type": "string",
      "enum": [
        "x64",
        "arm64"
      ],
      "description": "CPU architecture."
    },
    "need_temp_disk": {
      "type": "boolean",
      "description": "Only sizes with a local temporary disk."
    },
    "min_gpus": {
      "type": "integer",
      "minimum": 1,
      "description": "Minimum number of whole GPUs (partitioned GPUs such as 1/6 A10 do not count)."
    },
    "sort": {
      "type": "string",
      "enum": [
        "price",
        "fit"
      ],
      "description": "price = cheapest first (default); fit = least spare vCPU/memory first."
    },
    "max_results": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "description": "Default 10."
    }
  }
}

输出模式

{
  "type": "object",
  "properties": {
    "matchCount": {
      "type": "integer"
    },
    "pricedIn": {
      "type": "string"
    },
    "os": {
      "type": "string"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "size": {
            "type": "string"
          },
          "vcpus": {
            "type": "integer"
          },
          "memoryGiB": {
            "type": "number"
          },
          "region": {
            "type": "string"
          },
          "regionName": {
            "type": "string"
          },
          "payAsYouGoHourly": {
            "type": "number"
          },
          "payAsYouGoMonthly": {
            "type": "number"
          },
          "reserved3yMonthly": {
            "type": [
              "number",
              "null"
            ]
          },
          "url": {
            "type": "string"
          },
          "gpu": {
            "type": "object",
            "description": "Present for GPU sizes: model, vendor, count, share (e.g. 1/6), cudaAiStack, label."
          }
        }
      }
    },
    "dataSource": {
      "type": "object",
      "description": "pricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late)."
    }
  },
  "required": [
    "matchCount",
    "results",
    "dataSource"
  ]
}
🟢get_vm_size(size, region)

Specs of one Azure VM size and its hourly USD prices per region (Linux, Windows, 1/3-year reservations, 1/3-year savings plans), cheapest region first.

输入模式

{
  "type": "object",
  "properties": {
    "size": {
      "type": "string",
      "description": "VM size, e.g. Standard_D4s_v5 or D4s v5."
    },
    "region": {
      "type": "string",
      "description": "Limit prices to one region."
    }
  },
  "required": [
    "size"
  ]
}

输出模式

{
  "type": "object",
  "properties": {
    "size": {
      "type": "string"
    },
    "category": {
      "type": "string"
    },
    "vcpus": {
      "type": "integer"
    },
    "memoryGiB": {
      "type": "number"
    },
    "prices": {
      "type": "array",
      "description": "Hourly USD prices per region, cheapest first.",
      "items": {
        "type": "object"
      }
    },
    "url": {
      "type": "string"
    },
    "dataSource": {
      "type": "object",
      "description": "pricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late)."
    }
  },
  "required": [
    "size",
    "prices",
    "dataSource"
  ]
}
🟢estimate_vm_cost(sizes, region, os, hours_per_month, instances)

Monthly and yearly cost of one or more Azure VM sizes for pay as you go, reservations and savings plans, with the break-even hours per month for each commitment. Use it to compare sizes or regions.

输入模式

{
  "type": "object",
  "properties": {
    "sizes": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "minItems": 1,
      "maxItems": 5,
      "description": "One to five VM sizes to price, e.g. [\"Standard_D4s_v5\", \"Standard_D4as_v6\"]."
    },
    "region": {
      "type": "string",
      "description": "Azure region, e.g. westeurope or \"West Europe\". Omit to use each size's cheapest region."
    },
    "os": {
      "type": "string",
      "enum": [
        "linux",
        "windows"
      ],
      "description": "Operating system for pay-as-you-go prices. Default linux."
    },
    "hours_per_month": {
      "type": "number",
      "minimum": 1,
      "maximum": 744,
      "description": "Runtime hours per month. Default 730 (always on)."
    },
    "instances": {
      "type": "integer",
      "minimum": 1,
      "maximum": 10000,
      "description": "Number of VMs. Default 1."
    }
  },
  "required": [
    "sizes"
  ]
}

输出模式

{
  "type": "object",
  "properties": {
    "size": {
      "type": "string"
    },
    "region": {
      "type": "string"
    },
    "hoursPerMonth": {
      "type": "number"
    },
    "options": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "option": {
            "type": "string"
          },
          "monthly": {
            "type": "number"
          },
          "yearly": {
            "type": "number"
          },
          "breakEvenHoursPerMonth": {
            "type": [
              "integer",
              "null"
            ]
          }
        }
      }
    },
    "cheapest": {
      "type": "string"
    },
    "estimates": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "dataSource": {
      "type": "object",
      "description": "pricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late)."
    }
  },
  "required": [
    "dataSource"
  ],
  "description": "One estimate (size, options, cheapest) or, for several sizes, an estimates array."
}
🟢get_price_changes(weeks)

Weekly report of new Azure VM sizes, retired sizes and the biggest list-price moves across 24 regions.

输入模式

{
  "type": "object",
  "properties": {
    "weeks": {
      "type": "integer",
      "minimum": 1,
      "maximum": 12,
      "description": "How many weekly reports, newest first. Default 1."
    }
  }
}

输出模式

{
  "type": "object",
  "properties": {
    "reports": {
      "type": "array",
      "items": {
        "type": "object"
      }
    },
    "message": {
      "type": "string"
    },
    "dataSource": {
      "type": "object",
      "description": "pricesAsOf (ISO date), currency, source, dataset, stale (true if the weekly refresh is late)."
    }
  },
  "required": [
    "dataSource"
  ]
}

社区

评价此服务器

证据

最近观测

已验证未记录版本4 个工具