azure-pricing-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@azure-pricing-mcpwhat is the price of a D2s v3 VM in East US?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
azure-pricing-mcp
An MCP (Model Context Protocol) server that lets LLMs query Azure service pricing using the public Azure Retail Prices API.
No Azure credentials required — the API is free and public.
Quick Start
Run directly with uvx:
uvx azure-pricing-mcpOr install and run:
uv pip install azure-pricing-mcp
azure-pricing-mcpTools
Tool | Description |
| Search Azure retail prices by service, region, SKU, or product name |
| Estimate monthly cost for a service given quantity and usage hours |
| Compare prices for a service/SKU across Azure regions (sorted cheapest first) |
| Discover available Azure services (with optional text search) |
| List Azure regions (optionally filtered by service) |
All tools support a currency_code parameter (default: USD). Examples: EUR, BRL, GBP, JPY.
Usage Examples
Once connected to an MCP client (Claude Desktop, Cursor, Claude Code, etc.), you can ask:
"What's the price of a D2 v3 VM in East US?"
"Estimate the monthly cost for 5 Standard_LRS storage accounts in West Europe"
"Compare Virtual Machines D4 v3 pricing across all regions"
"List all Azure services related to 'database'"
"What regions offer Azure Cosmos DB?"
Configuration
Using mcp.json (VS Code / GitHub Copilot)
Create an mcp.json file in your project's .vscode folder (.vscode/mcp.json) to share the server with your team:
{
"servers": {
"azure-pricing": {
"command": "uvx",
"args": ["azure-pricing-mcp"]
}
}
}Or add it at the user level (~/.vscode/mcp.json) to make it available across all projects.
Tip: When opening a project with an
mcp.json, VS Code will prompt you to start the MCP server automatically.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"azure-pricing": {
"command": "uvx",
"args": ["azure-pricing-mcp"]
}
}
}Claude Code
claude mcp add azure-pricing -- uvx azure-pricing-mcpCursor
Add to your Cursor MCP settings (.cursor/mcp.json):
{
"mcpServers": {
"azure-pricing": {
"command": "uvx",
"args": ["azure-pricing-mcp"]
}
}
}Windsurf
Add to your Windsurf MCP config (~/.windsurf/mcp.json):
{
"mcpServers": {
"azure-pricing": {
"command": "uvx",
"args": ["azure-pricing-mcp"]
}
}
}Development
# Clone and install
git clone https://github.com/pimentelleo/azure-pricing-mcp.git
cd azure-pricing-mcp
uv sync
# Run locally
uv run azure-pricing-mcp
# Test with MCP Inspector
npx -y @modelcontextprotocol/inspector uv run azure-pricing-mcpHow It Works
This server uses the Azure Retail Prices REST API to fetch real-time public pricing data for Azure services. Key characteristics:
No authentication required — the API is publicly accessible
Real-time data — prices are updated regularly by Microsoft
Public retail prices only — does not include enterprise agreements or negotiated rates
Supports all Azure services — VMs, Storage, Databases, Networking, AI/ML, and more
License
MIT
This server cannot be installed
Maintenance
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/pimentelleo/azure-pricing-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server