azure-query

azure-query is a skill for Claude Code from kapetanios55/azure-query-mcp. It costs 95 tokens per session (2,196 once invoked), scanned A, original, MIT.

A skill for investigating Azure Log Analytics, Microsoft Sentinel, and Azure Resource Graph through read-only queries. It helps choose the right service for logs and events, security data, or Azure resource information.

In plain words
What is it for?
Use it to examine sign-ins, audit events, Sentinel incidents, alerts, entity timelines, threats, workspace data, resource configuration, and log arrival.
Why use it?
It lets an agent inspect Azure environments without making changes. It also provides guidance for writing or correcting KQL, the query language used by several Azure services.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: mentions Claude Code.

Part of the azure-query plugin — 1 skill shipped together

Good fit Use it to examine sign-ins, audit events, Sentinel incidents, alerts, entity timelines, threats, workspace data, resource configuration, and log arrival.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kapetanios55/azure-query-mcp/azure-query
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add kapetanios55/azure-query-mcp --skill azure-query
Clone the repo
git clone --depth 1 https://github.com/kapetanios55/azure-query-mcp

Made for: Claude Code.

Or install azure-query, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for azure-query

README.md
[![agentmods](https://agentmods.dev/badge/skills/kapetanios55/azure-query-mcp/azure-query/github.svg)](https://agentmods.dev/skills/kapetanios55/azure-query-mcp/azure-query)
Your own site
<a href="https://agentmods.dev/skills/kapetanios55/azure-query-mcp/azure-query"><img src="https://agentmods.dev/badge/skills/kapetanios55/azure-query-mcp/azure-query/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for azure-query

Your own site · 80×15
<a href="https://agentmods.dev/skills/kapetanios55/azure-query-mcp/azure-query"><img src="https://agentmods.dev/badge/skills/kapetanios55/azure-query-mcp/azure-query.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,196 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00095 $0.02196
Opus 5.5 $0.00038 $0.00878
Sonnet 5.5 $0.00019 $0.00439
Haiku 4.5 $0.00010 $0.00220

Measured 10d ago against content hash e0ca956afd78, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

azure-query scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugin/skills/azure-query/SKILL.md · 87 lines

How it starts

The opening of the file, as written. The whole thing — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Azure query

The azure-query MCP server gives you read-only access to Azure Log Analytics (including Microsoft Sentinel data) and Azure Resource Graph (ARG), under the signed-in user's own Azure RBAC. Nothing you run can change Azure, but results can contain sensitive security and personal data.

Some clients show the tools with a prefix, for example mcp__azure-query__query_workspace, or mcp__plugin_azure-query_azure-query__query_workspace when the Claude Code plugin installed them. If none of the tools below are available, the server is not connected: tell the user to add it (Claude Code: /plugin install azure-query --marketplace kapetanios55/azure-query-mcp, other clients in the project README) and to sign in with az login --tenant <tenant-id>. Do not run those commands for them without asking.

Pick the tool

Question is about Tool Notes
Logs, events, telemetry, time series in a workspace query_workspace Your own KQL. Rules below.
Resource inventory, configuration, tags, RBAC, policy, changes query_azure_resources ARG KQL over explicit subscriptions.
Which workspaces exist list_workspaces Returns both workspace IDs (see Identifiers).
Which tables a workspace has, and their columns search_tables, describe_table Check before writing KQL against an unfamiliar table.
Sentinel incidents list_incidents, then get_incident get_incident returns pivotEntities for entity_timeline.
Everything one account, IP or host did entity_timeline Sign-in, audit, Office, endpoint, firewall and alert tables in one call.
Is security data still arriving check_ingestion_health Stale tables, volume drops and spikes, ingestion latency.
Known attack patterns list_hunting_queries, then run_hunting_query Built-in hunts mapped to MITRE ATT&CK, plus the user's own.

Prefer the purpose-built tools over hand-written KQL: they handle schema differences, missing tables and input validation for you. Workflows for incident triage, entity investigation, ingestion health and hunting are in references/soc-workflows.md.

Read the full file on GitHub · 87 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 87 lines · 95 tokens per session scan A e0ca956afd78

Subscribe to this mod's changes

azure-query is a skill published in the GitHub repository kapetanios55/azure-query-mcp (2 stars, last pushed 2d ago), licensed MIT. It adds 95 tokens to every session and 2,196 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-29.

Related

azure-query compared with skills from other repositories

azure-query next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
azure-querykapetanios55/azure-query-mcpSkill22d agoMITA95Claude Code
imagegenopenai/codexSkill134ktodayApache-2.0A113Codex
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79kyesterdayMITA200Claude Code, Codex
playwright-climicrosoft/playwrightSkill100kyesterdayApache-2.0A19Claude Code
browser-automationopenclaw/openclawSkill394ktodayMITA36Claude Code
systematic-debuggingobra/superpowersSkill314k4d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code