azure-pricing-mcp

azure-pricing-mcp

Enables LLMs to query Azure service pricing via the public Azure Retail Prices API, with tools for searching prices, estimating costs, comparing regions, and listing services.

Category
Visit Server

README

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-mcp

Or install and run:

uv pip install azure-pricing-mcp
azure-pricing-mcp

Tools

Tool Description
search_prices Search Azure retail prices by service, region, SKU, or product name
estimate_cost Estimate monthly cost for a service given quantity and usage hours
compare_regions Compare prices for a service/SKU across Azure regions (sorted cheapest first)
list_services Discover available Azure services (with optional text search)
list_regions 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-mcp

Cursor

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-mcp

How 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

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured