Azure Pricing MCP Serverのロゴ

Azure Pricing MCP Server

コミュニティ
charris-msft

Azure Pricing MCP Server - Model Context Protocol server for Azure pricing information

公開者charris-msft
リポジトリazure-pricing-mcp
言語Python
フォーク
22
スター
16
利用可能なツール
0
通信方式stdio
カテゴリ
リンク
  • ツールをAIワークフローに接続

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

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

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

  • コピーして使える設定

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

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

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

Azure Pricing MCP Server 💰

A Model Context Protocol (MCP) server that provides tools for querying Azure retail pricing information using the Azure Retail Prices API.

🚀 Quick Start

  1. Clone/Download this repository
  2. Run setup: setup.ps1 (Windows PowerShell) or python setup.py (Cross-platform)
  3. Configure Claude Desktop (see QUICK_START.md)
  4. Ask Claude: "What's the price of a Standard_D2s_v3 VM in East US?"

✨ Features

  • 🔍 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

🛠️ Tools Available

ToolDescriptionExample Use
azure_price_searchSearch Azure retail prices with filtersFind VM prices in specific regions
azure_price_compareCompare prices across regions/SKUsCompare storage costs across regions
azure_cost_estimateEstimate costs based on usageCalculate monthly costs for 8hr/day usage
azure_discover_skusDiscover available SKUs for a serviceFind all VM types for a service
azure_sku_discoveryIntelligent SKU discovery with fuzzy matching"Find app service plans" or "web app pricing"

📋 Installation

Automated Setup (Recommended)

bash
# Windows PowerShell
.\setup.ps1

# Cross-platform (Python)
python setup.py

Manual Setup

bash
# 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

🔧 Configuration

Add to your Claude Desktop config file:

json
{
  "mcpServers": {
    "azure-pricing": {
      "command": "python",
      "args": ["-m", "azure_pricing_server"],
      "cwd": "/path/to/azure_pricing"
    }
  }
}

💬 Example Queries

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"

🧪 Testing

Test setup and connectivity:

bash
# Windows PowerShell
.\test_setup.ps1

# Cross-platform test
python -m azure_pricing_server --test

📚 Documentation

🔌 API Integration

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

🌟 Key Features

Smart Filtering

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

Cost Optimization

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

Developer Friendly

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

🤝 Contributing

This project follows the Spec-Driven Development (SDD) methodology. Contributions are welcome!

  1. Fork the repository
  2. Create a feature branch
  3. Add tests for new functionality
  4. Submit a pull request

📄 License

MIT License - see LICENSE file for details

🙋‍♂️ Support


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

Azure Pricing MCP ServerのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Azure Pricing MCP Serverに接続すれば、モデルごとに個別に設定することなく、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

Azure Pricing MCP Serverをサーバーとして追加

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

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

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

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

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

よくある質問

Azure Pricing MCP Server MCPサーバーは何に使いますか?

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

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

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

TypingMindでAzure Pricing MCP Server MCPを使うメリットは何ですか?

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

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

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

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

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

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

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

関連するMCPサーバー

すべて見る

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

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