Azure Log Analytics MCP Server

An MCP (Model Context Protocol) server for querying Azure Log Analytics using natural language. This server allows large language models to convert natural language queries into KQL (Kusto Query…

Local serverstdio

What is the Azure Log Analytics MCP Server?

Azure Log Analytics MCP Server is an MCP project maintained in the mananshahtr/azure-log-analytics-mcp repository. The maintainer describes its purpose as “An MCP (Model Context Protocol) server for querying Azure Log Analytics using natural language. This server allows large language models to convert natural language queries…”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using node. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares ANTHROPIC_API_KEY. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
query_logsQuery Azure Log Analytics using natural language
Parameters:query: Natural language query about trace logs (required)
timeRangeOptional time range (e.g., "last 24 hours", "past week")
limitMaximum number of results to return

How to install the Azure Log Analytics MCP Server

{
  "mcpServers": {
    "azure-log-analytics": {
      "command": "node",
      "args": [
        "path/to/azure-log-analytics-mcp/build/mcp-server.js"
      ],
      "env": {
        "ANTHROPIC_API_KEY": "YOUR_ANTHROPIC_API_KEY"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
ANTHROPIC_API_KEYDeclared in the maintainer’s client configuration.Check documentation