Basic information
About Azure Log Analytics MCP Server
MCP server for querying Azure Log Analytics using natural language
Azure Log Analytics MCP Server is a MCP server in the Data & Analytics category listed in the AddMCP.net directory, published by MananShahTR. Supported transport: stdio. Runtime: node. The repository has 3 GitHub stars. Source code is hosted on github.com. Related topics: azure-log-analytics, mcp-server, natural-language-query.
Setup
{
"mcpServers": {
"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"
}
}
}
}
{
"servers": {
"azure-log-analytics-mcp": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"ANTHROPIC_API_KEY": "your_key_here"
}
}
}
}
Azure Log Analytics MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"azure-log-analytics-mcp": {
"command": "node",
"args": [
"build/index.js"
],
"env": {
"ANTHROPIC_API_KEY": "your_key_here"
}
}
}
}
Azure Log Analytics MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Azure Log Analytics MCP Server?
An MCP (Model Context Protocol) server that lets large language models convert natural language queries into KQL (Kusto Query Language) and execute them against Azure Log Analytics workspaces.
How to use Azure Log Analytics MCP Server?
Install Node.js 18+, clone the repo, install dependencies, build, and set ANTHROPIC_API_KEY and Azure CLI credentials. Run node build/index.js for CLI mode or node build/mcp-server.js for MCP server mode. Then configure MCP settings to add the azure-log-analytics server and use the query_logs tool.
Key features of Azure Log Analytics MCP Server
- Converts natural language to KQL using Claude AI
- Executes KQL queries against Azure Log Analytics
- Formats results for easy consumption by LLMs
- Supports both CLI and MCP server modes
- Provides optional time range and result limit parameters
Use cases of Azure Log Analytics MCP Server
- Query Azure trace logs using plain English instead of KQL
- Diagnose errors or service issues via natural language conversation
- Generate quick reports from Application Insights data with minimal syntax
Frequently asked questions
1 What dependencies does it require?
Node.js 18.x or higher, an Azure subscription with a Log Analytics workspace, an Anthropic API key, and Azure CLI configured with appropriate credentials.
2 How do I configure Azure credentials?
Azure credentials are obtained through the Azure CLI. You must run az login before using the server, and set the subscription ID, resource group, and Application Insights resource name in the azure-service.ts file.
3 What transport or authentication does it use?
The server uses standard MCP transport (command/args via JSON config) and authenticates to Azure via Azure CLI credentials.
4 What is the main tool it provides?
The server exposes one tool: query_logs, which accepts a natural language query (required), an optional timeRange (e.g., "last 24 hours"), and an optional limit (max results).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In