Azure Usage MCP Server
Click on "Deploy 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 Usage MCP Servershow me the top 5 services by cost this month"
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 Usage MCP Server
This is a Model Context Protocol (MCP) server for analyzing Azure usage data from CSV files. It provides insights, summaries, and visualizations of Azure cost and usage patterns.
Features
Analyze Azure usage data from CSV files
Generate cost summaries and visualizations
Identify top services and regions by cost
Respond to natural language queries about Azure usage
Fully compatible with the Model Context Protocol (MCP)
Related MCP server: AWS FinOps MCP Server
Setup
Install the required dependencies:
pip install -r requirements.txtPlace your Azure usage CSV file in the
datadirectory (the default file isBCAzureUsage 1.csv).Run the server:
python claude_mcp.py
Configuration for Claude or other AI assistants
You can configure this MCP server in your AI assistant configuration using the following format:
{
"mcpServers": {
"azure-usage-analyzer": {
"command": "python",
"args": ["claude_mcp.py"],
"cwd": "path/to/mcp-server",
"env": {}
}
}
}MCP Protocol Support
This server implements the Model Context Protocol (MCP) version 2024-11-05. It supports the following MCP methods:
initialize: Establishes a connection with the MCP clientsearch: Processes natural language queries about Azure usage data
API Endpoints
GET /
Returns basic server information and available endpoints.
POST /context
Processes Azure usage data and provides insights based on a specific query.
Request format:
{
"query": "Show me Azure usage by region",
"params": {
"dataset": "BCAzureUsage 1.csv"
}
}POST /search
General-purpose search endpoint for querying Azure usage data.
Request format:
{
"query": "What are my top costs by region?"
}Example Queries
"Show me Azure usage by region"
"What are my top costs?"
"Analyze service type usage"
"Which services cost the most?"
This server cannot be deployed
Maintenance
Related MCP Connectors
Ask questions about a CSV in plain English and get answers, charts and cleaned data back.
Query OneLens cloud-cost data in natural language: breakdowns, trends, cost centers. Read-only.
Ask about AWS, Azure, GCP, OpenAI, Anthropic and Snowflake costs, budgets, and anomalies.
OpenAI organization usage and cost reporting through an admin API key connected by the user.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAnalyzes Azure cloud costs, audits for waste, and provides budget insights via natural language through a secure local MCP server.29 PyPI2MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language analysis of AWS cloud costs, waste audits, and budget insights across multiple profiles and regions.MIT
- FlicenseNot gradedqualityAmaintenanceEnables natural-language querying and analysis of AWS spending and model-invocation usage, including detailed breakdowns by service, region, account, day, and instance type.-
- FlicenseNot gradedqualityAmaintenanceEnables natural-language querying of AWS spending and Amazon Bedrock usage data, with breakdowns by day, region, service, instance type, user, and model, including optional cross-account analysis.-