Skip to main content
Glama
charris-msft

Azure Pricing MCP Server

by charris-msft

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

πŸ”Œ API Integration

This server uses the official Azure Retail Prices API:

  • Endpoint: https://prices.azure.com/api/retail/prices

  • Version: 2023-01-01-preview (supports savings plans)

  • Authentication: None required (public API)

  • Rate Limits: Generous limits for retail pricing data

🌟 Key Features

Smart Filtering

  • Filter by service name, family, region, SKU

  • Support for partial matches and contains operations

  • Case-sensitive filtering for precise results

Cost Optimization

  • Automatic savings plan detection

  • Reserved instance pricing comparisons

  • Multi-region cost analysis

  • Intelligent SKU discovery for finding the best pricing options

Developer Friendly

  • Comprehensive error handling

  • Detailed logging for troubleshooting

  • Flexible parameter support

  • Cross-platform setup scripts (PowerShell and Python)

🀝 Contributing

This project follows the Spec-Driven Development (SDD) methodology. Contributions are welcome!

  1. Fork the repository

  2. Create a feature branch

  3. Add tests for new functionality

  4. Submit a pull request

πŸ“„ License

MIT License - see LICENSE file for details

πŸ™‹β€β™‚οΈ Support


Built with the Model Context Protocol (MCP) for seamless integration with Claude and other AI assistants.

-
security - not tested
F
license - not found
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/charris-msft/azure-pricing-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server