Azure Pricing MCP Server

Azure Pricing MCP Server

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.

Category
Visit Server

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

Automated Setup (Recommended)

# 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured