AzurePricingMCP logo

AzurePricingMCP

Community
msftnadavbh

An MCP server for Microsoft Azure pricing that goes beyond the Azure Pricing Calculator, with programmatic cost estimates plus FinOps features like Spot price and savings analysis, and detection of orphaned or underutilized resources.

Publishermsftnadavbh
RepositoryAzurePricingMCP
LanguagePython
Forks
17
Stars
56
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    AzurePricingMCP exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    56 stars and 17 forks from the linked repository.

Azure Pricing MCP Server 💰

Python 3.10+ MCP License: MIT Tests

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

bash
# Clone and setup
git clone https://github.com/msftnadavbh/AzurePricingMCP.git
cd AzurePricingMCP
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.


✨ 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):

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

Python:

bash
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

AzurePricingMCP/
├── 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

DocumentDescription
INSTALL.mdInstallation guide
docs/FEATURES.mdFeature details
docs/TOOLS.mdTool documentation
docs/INTEGRATIONS.mdVS Code & Claude setup
docs/USAGE_EXAMPLES.mdDetailed examples
docs/ORPHANED_RESOURCES.mdOrphaned resources guide
CHANGELOG.mdVersion history

📄 License

MIT License - see LICENSE for details.


🙏 Acknowledgments


📬 Support


Use AzurePricingMCP MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once AzurePricingMCP is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add AzurePricingMCP as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the AzurePricingMCP MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "azurepricingmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the AzurePricingMCP MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the AzurePricingMCP MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use AzurePricingMCP to help me with this task?
AzurePricingMCP
Sure. I read it.
Here is what I found using AzurePricingMCP.

Frequently asked questions

What is the AzurePricingMCP MCP server used for?

AzurePricingMCP is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use AzurePricingMCP MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use AzurePricingMCP with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use AzurePricingMCP MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With AzurePricingMCP connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect AzurePricingMCP MCP to TypingMind?

AzurePricingMCP runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does AzurePricingMCP MCP provide in TypingMind?

AzurePricingMCP exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use AzurePricingMCP MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If AzurePricingMCP requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇