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)
Setup
-
Install the required dependencies:
pip install -r requirements.txt -
Place 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?"
Recommend MCP Servers 💡
redis/mcp-redis-cloud
This MCP Server for Redis Cloud's API allows you to manage your Redis Cloud resources using natural language.
@mulesoft/mcp-server
A Model Context Protocol (MCP) implementation by MuleSoft that enables large language models (LLMs) to interact with the MuleSoft Anypoint Platform for tasks like application deployment, API management, asset search, and platform insights.
sentry-issues-mcp
An MCP server for Sentry issues, providing tools to retrieve single events or project events for LLM analysis
harness/mcp-server
The official Harness MCP server providing seamless integration with Harness APIs for advanced automation and tool interaction via the Model Context Protocol (MCP)
hyperbolic-gpu
Interact with Hyperbolic's GPU cloud, enabling agents and LLMs to view and rent available GPUs, SSH into them, and run GPU-powered workloads.
@johnneerdael/netskope-mcp
A Model Context Protocol (MCP) server for managing Netskope Network Private Access (NPA) infrastructure through Large Language Models (LLMs).