AzurePricingMCPのロゴ

AzurePricingMCP

コミュニティ
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.

公開者msftnadavbh
リポジトリAzurePricingMCP
言語Python
フォーク
17
スター
56
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    AzurePricingMCPは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには56件のスターと17件のフォークがあります。

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


AzurePricingMCPのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度AzurePricingMCPに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

AzurePricingMCPをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. AzurePricingMCPのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "azurepricingmcp": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAzurePricingMCPのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. AzurePricingMCPのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
AzurePricingMCPを使ってこのタスクを手伝ってもらえますか?
AzurePricingMCP
はい、読みました。
AzurePricingMCPで調べた結果をお伝えします。

よくある質問

AzurePricingMCP MCPサーバーは何に使いますか?

AzurePricingMCPは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAzurePricingMCP MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAzurePricingMCPを利用できます。

TypingMindでAzurePricingMCP MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。AzurePricingMCPを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

AzurePricingMCP MCPをTypingMindに接続するにはどうすればよいですか?

AzurePricingMCPはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAzurePricingMCP MCPのどのようなツールを利用できますか?

AzurePricingMCPはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

AzurePricingMCP MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。AzurePricingMCPで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇