Skip to main content
Glama
alexwoods711

Azure Pricing MCP Server

by alexwoods711

Azure Pricing MCP Server πŸ’°

A Model Context Protocol (MCP) server that provides AI assistants with real-time access to Azure retail pricing information. Query VM prices, compare costs across regions, estimate monthly bills, and discover available SKUsβ€”all through natural language.


πŸš€ Quick Start

# Clone and setup
git clone https://github.com/alexwoods711/AzureMCPPricing.git
cd AzureMCPPricing
python -m venv .venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
pip install -r requirements.txt

# Test the server
python -m azure_pricing_mcp

Then configure your AI assistant. See Integrations.


Related MCP server: Azure Pricing MCP Server

✨ Features

  • Price Search - Query Azure prices with flexible filters

  • Price Comparison - Compare costs across regions or SKUs

  • Cost Estimation - Calculate monthly/yearly costs

  • Reserved Instances - Compare RI pricing with break-even analysis

  • Region Recommendations - Find the cheapest regions for any SKU

  • SKU Discovery - Fuzzy matching for service names

  • Retirement Warnings - Alerts for retiring VM SKUs

  • Spot VM Intelligence - Eviction rates and price history (requires Azure auth)

  • Orphaned Resources - Detect unused resources with real cost calculation (requires Azure auth)

  • PTU Sizing - Estimate Provisioned Throughput Units for Azure OpenAI deployments

  • Databricks DBU Pricing - Search DBU rates, estimate costs, compare workloads

  • GitHub Pricing - Full GitHub pricing catalog + cost estimation (Plans, Copilot, Actions, Security)

πŸ“– Full feature details β†’


πŸ› οΈ Tools

19 tools available for AI assistants:

  • azure_price_search - Search retail prices

  • azure_price_compare - Compare across regions/SKUs

  • azure_ri_pricing - Reserved Instance pricing

  • azure_cost_estimate - Usage-based cost estimation

  • azure_region_recommend - Find cheapest regions

  • azure_discover_skus / azure_sku_discovery - SKU lookup

  • get_customer_discount - Customer discount information

  • spot_eviction_rates / spot_price_history / simulate_eviction - Spot VM tools

  • find_orphaned_resources - Detect orphaned resources with cost analysis

  • azure_ptu_sizing - Estimate PTUs for Azure OpenAI deployments

  • azure_network_cost_estimate - Network cost planner (bandwidth tiers, NAT Gateway, Private Link)

  • databricks_dbu_pricing / databricks_cost_estimate / databricks_compare_workloads - Databricks DBU pricing

  • github_pricing / github_cost_estimate - GitHub pricing catalog and cost estimation

πŸ“– Tool documentation β†’


πŸ“‹ Installation

Docker (Easiest):

docker build -t azure-pricing-mcp .
docker run -i azure-pricing-mcp

Python:

pip install -r requirements.txt

πŸ“– Full installation guide β†’


πŸ”Œ Integrations

Works with any MCP-compatible AI assistant:

  • VS Code with GitHub Copilot

  • Claude Desktop

πŸ“– Integration setup β†’


πŸ“ Project Structure

AzureMCPPricing/
β”œβ”€β”€ src/azure_pricing_mcp/    # Main package
β”‚   β”œβ”€β”€ server.py             # MCP server
β”‚   β”œβ”€β”€ handlers.py           # Tool handlers
β”‚   β”œβ”€β”€ client.py             # Azure API client
β”‚   β”œβ”€β”€ config.py             # Pricing data & constants
β”‚   β”œβ”€β”€ tools.py              # Core tool definitions
β”‚   β”œβ”€β”€ formatters.py         # Response formatters
β”‚   β”œβ”€β”€ models.py             # Data models
β”‚   β”œβ”€β”€ services/             # Business logic
β”‚   β”œβ”€β”€ databricks/           # Databricks DBU tools
β”‚   └── github_pricing/       # GitHub pricing tools
β”œβ”€β”€ tests/                    # Test suite (9 files, 236+ tests)
β”œβ”€β”€ docs/                     # Documentation
└── scripts/                  # Setup & debug scripts

πŸ“– Detailed structure β†’


πŸ”Œ API Reference

This server uses the Azure Retail Prices API:

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

No authentication required - The Azure Retail Prices API is publicly accessible.


🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for setup instructions, code style, and PR process.


πŸ“š Documentation

Document

Description

INSTALL.md

Installation guide

docs/FEATURES.md

Feature details

docs/TOOLS.md

Tool documentation

docs/INTEGRATIONS.md

VS Code & Claude setup

docs/USAGE_EXAMPLES.md

Detailed examples

docs/ORPHANED_RESOURCES.md

Orphaned resources guide

CHANGELOG.md

Version history


πŸ“„ License

MIT License - see LICENSE for details.


πŸ™ Acknowledgments


A
license - permissive license
-
quality - not tested
B
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

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

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Provides AI assistants with real-time access to Azure retail pricing information, enabling price searches, regional cost comparisons, monthly bill estimates, and SKU discovery through natural language queries.
    Last updated
    13
    54
    MIT
  • F
    license
    -
    quality
    D
    maintenance
    Enables querying Azure retail pricing information, comparing costs across regions and SKUs, estimating usage-based expenses, and discovering Azure services with savings plan information through the Azure Retail Prices API.
    Last updated
    16
  • A
    license
    A
    quality
    A
    maintenance
    Enables LLMs to query Azure service pricing via the public Azure Retail Prices API, with tools for searching prices, estimating costs, comparing regions, and listing services.
    Last updated
    5
    MIT
  • A
    license
    -
    quality
    A
    maintenance
    Enables AI agents to parse multi-cloud infrastructure-as-code files, query real-time pricing from AWS, Azure, and GCP, and generate cost estimates and comparison reports.
    Last updated
    39
    MIT

View all related MCP servers

Related MCP Connectors

  • Verified cloud cost forecasting for AI agents. AWS, GCP, Azure pricing matrix.

  • Verified cloud cost forecasting for AI agents. AWS, GCP, Azure pricing matrix.

  • See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.

View all MCP Connectors

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/alexwoods711/AzureMCPPricing'

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