CM

charris-msft/azure-pricing-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

16 stars 22 forks 품질 55 트렌드 21

Azure Pricing MCP Server - Model Context Protocol server for Azure pricing information

개요

A Model Context Protocol (MCP) server that provides tools for querying Azure retail pricing information using the Azure Retail Prices API. 1. this repository 2. : setup.ps1 (Windows PowerShell) or python setup.py (Cross-platform) 3. (see QUICK_START.md) 4. : "What's the price of a Standard_D2s_v3 VM in East US?" - : Search for Azure service prices with flexible filtering - : Compare prices across different regions and SKUs - : Calculate estimated costs based on usage patterns - : Get Azure savings plan pricing when available - : Support for multiple currencies (USD, EUR, etc.) - : Uses live Azure Retail Prices API Once configured with Claude, you can ask: - : "What's the price of Azure SQL Database?" - : "Compare VM prices between East US and West Europe" - : "Estimate costs for running a D4s_v3 VM 12 hours per day" - : "What are the reserved instance savings for virtual machines?

README

원문 README의 일부입니다. 원문 보기.

Azure Pricing MCP Server 💰

A Model Context Protocol (MCP) server that provides tools for querying Azure retail pricing information using the Azure Retail Prices API.

🚀 Quick Start

  1. Clone/Download this repository
  2. Run setup: setup.ps1 (Windows PowerShell) or python setup.py (Cross-platform)
  3. Configure Claude Desktop (see QUICK_START.md)
  4. Ask Claude: “What’s the price of a Standard_D2s_v3 VM in East US?”

✨ Features

  • 🔍 Azure Price Search: Search for Azure service prices with flexible filtering
  • ⚖️ Service Comparison: Compare prices across different regions and SKUs
  • 💡 Cost Estimation: Calculate estimated costs based on usage patterns
  • 💰 Savings Plan Information: Get Azure savings plan pricing when available
  • 🌍 Multi-Currency: Support for multiple currencies (USD, EUR, etc.)
  • 📊 Real-time Data: Uses live Azure Retail Prices API

🛠️ Tools Available

Tool Description Example Use
azure_price_search Search Azure retail prices with filters Find VM prices in specific regions
azure_price_compare Compare prices across regions/SKUs Compare storage costs across regions
azure_cost_estimate Estimate costs based on usage Calculate monthly costs for 8hr/day usage
azure_discover_skus Discover available SKUs for a service Find all VM types for a service
azure_sku_discovery Intelligent SKU discovery with fuzzy matching “Find app service plans” or “web app pricing”

📋 Installation

# Windows PowerShell
.\setup.ps1

# Cross-platform (Python)
python setup.py

Manual Setup

# Create virtual environment
python -m venv .venv

# Activate virtual environment
.venv\Scripts\activate  # Windows
source .venv/bin/activate  # Linux/Mac

# Install dependencies
pip install -r requirements.txt

🔧 Configuration

Add to your Claude Desktop config file:

{
  "mcpServers": {
    "azure-pricing": {
      "command": "python",
      "args": ["-m", "azure_pricing_server"],
      "cwd": "/path/to/azure_pricing"
    }
  }
}

💬 Example Queries

Once configured with Claude, you can ask:

  • Basic Pricing: “What’s the price of Azure SQL Database?”
  • Comparisons: “Compare VM prices between East US and West Europe”
  • Cost Estimation: “Estimate costs for running a D4s_v3 VM 12 hours per day”
  • Savings: “What are the reserved instance savings for virtual machines?”
  • GPU Pricing: “Show me all GPU-enabled VMs with pricing”
  • Service Discovery: “Find all App Service plan pricing” or “What storage options are available?”
  • SKU Discovery: “Show me all web app hosting plans”

🧪 Testing

Test setup and connectivity:

# Windows PowerShell
.\test_setup.ps1

# Cross-platform test
python -m azure_pricing_server --test

📚 Documentation

GitHub에서 전체 README 보기

설치

This server does not publish a one-line install command.

Open the repository installation guide MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "azure-pricing": { "command": "python", "args": ["-m", "azure_pricing_server"], "cwd": "/path/to/azure_pricing" } } }