home / mcp / azure pricing mcp server
MCP server that queries Azure Retail Prices API to search, compare, and estimate Azure pricing
Configuration
View docs{
"mcpServers": {
"charris-msft-azure-pricing-mcp": {
"command": "python",
"args": [
"-m",
"azure_pricing_server"
]
}
}
}You can query Azure retail pricing data programmatically with an MCP server that exposes tools for searching, comparing, and estimating costs using the Azure Retail Prices API. This server helps you quickly find VM, storage, and service pricing across regions, and it can adapt to different currencies and savings plans.
You run this MCP server locally and connect to it through your MCP client. The server provides tools to search Azure retail prices, compare prices across regions and SKUs, estimate future costs based on usage patterns, and discover relevant SKUs and savings options. Use natural language prompts to request pricing for specific services, regions, or SKUs, and your MCP client will route those requests to the server for results.
Typical usage patterns include asking for the price of a particular VM in a region, comparing prices between regions, estimating monthly costs for a given usage schedule, and discovering available SKUs for a service. The server supports multi-currency queries and real-time data from the Azure Retail Prices API.
Prerequisites: you need Python installed on your system.
# Automated Setup (Recommended)
# Windows PowerShell
.\setup.ps1
# Cross-platform (Python)
p python setup.pyManual Setup steps you can follow if you prefer to install dependencies yourself.
# 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.txtConfigure your MCP client to load the Azure Pricing MCP server by adding a server entry that runs the Python module for the server.
{
"mcpServers": {
"azure-pricing": {
"command": "python",
"args": ["-m", "azure_pricing_server"],
"cwd": "/path/to/azure_pricing"
}
}
}Search Azure retail prices with filters such as service name, region, and SKU, returning pricing options that match your criteria.
Compare prices across regions or SKUs to identify the most cost-effective options for a given service.
Estimate monthly costs based on usage patterns and time commitments, helping you plan budgets.
Discover available SKUs for a service to understand what pricing options exist.
Intelligent SKU discovery with fuzzy matching to find pricing information for related or similar services.