Azure Log Analytics MCP Server
About
MCP server for querying Azure Log Analytics using natural language
Explore
- Convert natural language queries to KQL using Claude AI
- Execute KQL queries against Azure Log Analytics
- Format results for easy consumption by LLMs
- CLI mode for direct interactions and MCP server mode for LLM integrations
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Azure Log Analytics MCP ServerCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
Prerequisites
- Node.js 18.x or higher
- An Azure subscription with Log Analytics workspace
- An Anthropic API key for Claude AI
- Azure CLI configured with appropriate credentials
query_logs
Query Azure Log Analytics using natural language
query
Natural language query about trace logs (required)
timeRange
Optional time range (e.g., "last 24 hours", "past week")
limit
Maximum number of results to return
ANTHROPIC_API_KEY=your_key_here node build/index.js
``
Once connected, the MCP server provides the following tool:
- query_logs: Query Azure Log Analytics using natural languagequery
- Parameters:
- : Natural language query about trace logs (required)timeRange
- : Optional time range (e.g., "last 24 hours", "past week")limit`: Maximum number of results to return
-
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"azure log analytics mcp server": {
"azure-log-analytics-mcp": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"ANTHROPIC_API_KEY": "your_key_here"
}
}
}
}
}
McpServers
{
"azure-log-analytics-mcp": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"ANTHROPIC_API_KEY": "your_key_here"
}
}
}
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 Language) and execute them against Azure Log Analytics.
Features
- Convert natural language queries to KQL using Claude AI
- Execute KQL queries against Azure Log Analytics
- Format results for easy consumption by LLMs
- CLI mode for direct interactions and MCP server mode for LLM integrations
Prerequisites
- Node.js 18.x or higher
- An Azure subscription with Log Analytics workspace
- An Anthropic API key for Claude AI
- Azure CLI configured with appropriate credentials
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


