Azure Pricing MCP Server

by charris-msft

Not rated
GitHub

About

Query Azure retail pricing information using the Azure Retail Prices API.

Details

Author
charris-msft
Categories
Cloud Service, Other, Infrastructure, API

Setup

Install Azure Pricing MCP Server in your MCP client (Claude Desktop, Cursor, Windsurf, and others).

Repository: https://github.com/charris-msft/azure-pricing-mcp

Follow the installation instructions in the repository README, then restart your MCP client.

A Model Context Protocol (MCP) server that provides tools for querying Azure retail pricing information using the Azure Retail Prices API.
- Clone/Downloadthis repository
- Run setup:setup.ps1(Windows PowerShell) orpython setup.py(Cross-platform)
- Configure Claude Desktop(seeQUICK_START.md)
- Ask Claude: "What's the price of a Standard_D2s_v3 VM in East US?"

- πŸ” 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

# Windows PowerShell .\setup.ps1 # Cross-platform (Python) python setup.py
# 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
{ "mcpServers": { "azure-pricing": { "command": "python", "args": ["-m", "azure_pricing_server"], "cwd": "/path/to/azure_pricing" } } }

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"

# Windows PowerShell .\test_setup.ps1 # Cross-platform test python -m azure_pricing_server --test

- QUICK_START.md- Step-by-step setup guide
-
USAGE_EXAMPLES.md- Detailed usage examples and API responses
-
config_examples.json- Example configurations for Claude Desktop and VS Code

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

- Filter by service name, family, region, SKU
- Support for partial matches and contains operations
- Case-sensitive filtering for precise results

- Automatic savings plan detection
- Reserved instance pricing comparisons
- Multi-region cost analysis
- Intelligent SKU discovery for finding the best pricing options

- Comprehensive error handling
- Detailed logging for troubleshooting
- Flexible parameter support
- Cross-platform setup scripts (PowerShell and Python)

This project follows the Spec-Driven Development (SDD) methodology. Contributions are welcome!
- Fork the repository
- Create a feature branch
- Add tests for new functionality
- Submit a pull request

MIT License - see LICENSE file for details

- CheckQUICK_START.mdfor setup issues
- Review
USAGE_EXAMPLES.mdfor query patterns
- Open an issue for bugs or feature requests

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

Manage Azure Cloud PCs using the Microsoft Graph API.

A server for the Microsoft Graph and Azure RM APIs to manage Azure and Microsoft 365 tenants with AI.

Manage and interact with Microsoft Azure services.

Automate Akamai resource actions using a conversational AI client. Requires Akamai API credentials.

Enables AI assistants to interact with Azure Kubernetes Service (AKS) clusters.

Interact with and manage Azure services using natural language.

Integrate with Apache CloudStack to manage cloud resources directly from your desktop.

Integrates with the Cloudways API, allowing AI assistants to access and manage Cloudways infrastructure.

Interact with Confluent Cloud REST APIs to manage Kafka clusters, topics, and data.

An MCP server for interacting with the Exoscale cloud platform.

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.