Skip to main content
Glama

Azure Usage MCP Server

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

  1. Install the required dependencies:
    pip install -r requirements.txt
  2. Place your Azure usage CSV file in the data directory (the default file is BCAzureUsage 1.csv).
  3. 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 client
  • search: 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?"
-
security - not tested
-
license - not tested
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

Enables natural language analysis of Azure usage data from CSV files, providing cost summaries, visualizations, and insights about service and regional spending patterns.

  1. Features
    1. Setup
      1. Configuration for Claude or other AI assistants
        1. MCP Protocol Support
          1. API Endpoints
            1. GET /
            2. POST /context
            3. POST /search
          2. Example Queries

            Related MCP Servers

            • A
              security
              A
              license
              A
              quality
              Enables natural language interaction with Azure services through Claude Desktop, supporting resource management, subscription handling, and tenant selection with secure authentication.
              Last updated -
              3
              4
              13
              TypeScript
              MIT License
            • -
              security
              A
              license
              -
              quality
              A command-line interface and API that allows users to analyze and visualize AWS cloud spending data by enabling Claude to query AWS Cost Explorer through natural language conversations.
              Last updated -
              80
              Python
              MIT License
              • Linux
              • Apple
            • -
              security
              A
              license
              -
              quality
              A server that allows users to query and analyze cloud cost data from Cloudzero using natural language through Large Language Models.
              Last updated -
              1
              Python
              MIT License
              • Apple
            • -
              security
              F
              license
              -
              quality
              Provides tools for listing and querying Azure resources directly from any MCP client, allowing you to efficiently browse your Azure infrastructure and analyze costs without leaving your workflow.
              Last updated -
              Python
              • Apple
              • Linux

            View all related MCP servers

            MCP directory API

            We provide all the information about MCP servers via our MCP API.

            curl -X GET 'https://glama.ai/api/mcp/v1/servers/rithik-perera/CodeCrunchMCP'

            If you have feedback or need assistance with the MCP directory API, please join our Discord server