VeriKQL by Kaushik Saha
Free · works with Claude, ChatGPT and any MCP client

Accurate KQL from the AI you already use.

Claude and ChatGPT write KQL that looks right, but too often uses a column that doesn't exist or a table from the wrong product. Connect VeriKQL, and your assistant checks every query with Microsoft's own parser against the real Sentinel and Defender XDR schemas, reads the exact error, fixes it and checks again, before the query reaches your workspace.

Freeno sign-in · queries never stored
A KQL query with a mistyped column is caught by Microsoft's parser at line 2, the assistant fixes it, and it passes with a proof record. The benchmark follows: queries that compile go from 83.7% to 99.6%, invented names from 9.9% to 0.0%.
failed-signins.kql
1SigninLogs✓
2| where ResultType != "0"✓
3| summarize Failures = count() by UserPrincipalName✓
4| where Failures > 10✓
Kusto.Language 12.4.1 · bundle 2026.10.290 diagnostics
verikql.proof/v1● PASS
parse_bind
pass
tables
2,409 in bundle
sha256
3f93a657c313f13d2b5159c5148b0203e8748f1e772c7ef5f5daf4e3cd76edfc
run
never: parse and bind only

The result

The same assistant, with far fewer broken queries.

Queries that compile against the real schema83.7% → 99.6%Claude alone → Claude with VeriKQL
Queries that invent a table, column or function9.9% → 0.0%Claude alone → Claude with VeriKQL
Detections in the benchmark504method fixed before it ran; every query scored by Microsoft's parser

From a pre-registered benchmark: the same model wrote the same real detection requests, once alone and once with VeriKQL connected. The method, the verdict and every case.

How it works

Your assistant writes the KQL. VeriKQL checks it.

  1. Ask as you do todayAsk Claude, ChatGPT or any MCP client for a detection or a hunting query.
  2. It checks with VeriKQLYour assistant looks up the real tables, then sends its draft. Microsoft's own parser binds it against 2,409 tables, without running it.
  3. It fixes what's wrongVeriKQL names the exact error and line. The assistant fixes it and checks again, then gives you KQL that compiles, with a proof record.
How VeriKQL checks a queryYour assistant sends the KQL to VeriKQL. A guard checks it is a single read-only statement. Microsoft's own parser parses it and binds it against a pinned schema bundle of 2,409 tables, the ASIM parsers and Defender XDR, without running it. VeriKQL returns a proof record: the verdict, the query's SHA-256, the parser and bundle versions, signed. The query never reaches a workspace and is never stored.verdict and receipt, back in the chatKQLYour assistantClaude · ChatGPT · Cursoror the CLI and CIGuardone statement, read-onlysize and shape checkedMicrosoft's parserKusto.Languageparse and bind, never runProof recordpass · fail · refusedSHA-256 · versions · signedSchema bundle2,409 tables · ASIM · XDR✕ no workspace, no log data✕ nothing is storedHow VeriKQL checks a queryThe same steps, top to bottom: your assistant, the guard, Microsoft's parser binding against the schema bundle, and the proof record coming back. No workspace, nothing stored.Your assistantClaude · ChatGPT · Cursoror the CLI and CIGuardone statement, read-onlysize and shape checkedMicrosoft's parserKusto.Languageparse and bind, never runagainst 2,409 tablesProof recordpass · fail · refusedSHA-256 · versions · signed✕ no workspace, no log data✕ nothing is stored
Every check takes this path. Only the verdict and the receipt come back.

What a catch looks like

SigninLogs
| where ResultTyp == "50126"
| project UserPrincipalName
verdict: fail
KS142  line 2, column 9
The name 'ResultTyp' does not refer to any
known column, table, variable or function.

Microsoft's own rules are not exempt: the Content Hub health report checks every analytic rule and hunting query in Microsoft's Azure-Sentinel repository (3,842 on 2026-10-06) and lists each one that doesn't parse or bind, and why.

Why this beats asking the AI on its own, what a pass proves and what it doesn't: how it works, in full.

What it checks

Ten tools, one connector.

All free. The query is parsed and bound, never run, and never stored.

verify_kql

Verify KQL

Microsoft's parser binds the query against a pinned schema bundle and returns a proof record: pass, fail, refused or error, with exact diagnostics.

get_table_schema

Table schema

The real columns and types of any Sentinel, Log Analytics or Defender XDR table, or the parameters of an ASIM parser.

search_tables

Search tables

Find which tables and parsers hold the field you need, by name or column.

validate_attack_id

ATT&CK ids

Check technique ids against MITRE ATT&CK Enterprise 20.0: valid, unknown, deprecated, or revoked with its replacement.

nearest_content_hub_rule

Already exists?

See the closest of 3,555 Microsoft Sentinel Content Hub rules before you write a new one. Names and links only.

attack_technique

Technique, in Sentinel terms

How MITRE detects a technique, which Sentinel connectors and tables carry those logs, the Content Hub rules tagged with it and its mitigations. Browse them all under MITRE coverage.

log_event

One event, explained

397 Windows events (Security auditing, Sysmon, PowerShell), each checked by code against Microsoft's documentation: its official name, audit category, where it lands in Sentinel with a verified starter query, and the ATT&CK techniques MITRE cites it for. Browse under Log sources.

column_values

What do the rules filter on?

The values 3,822 Microsoft Sentinel Content Hub rules filter a column on, read by Microsoft's own KQL parser: SecurityEvent.EventID 4688 in 66 rules, 4625 in 14. Every count lists its rules. Browse under Rule patterns.

join_patterns

How is it joined?

Which tables the rules join a table with, on which keys and with which join kinds, each with every rule behind it, before you write a correlation.

rule_patterns

How are rules for it built?

For a table or an ATT&CK technique: the columns and values the rules filter, their joins and time conditions, severities, schedules and look-back windows, then every rule. Browse T1110.

Never runs your queryParsing and binding only. No workspace, no log data.
Never stores itThe query lives in memory for the check, then it's gone.
Public schemas onlyTables come from Microsoft's public documentation.

Learn KQL

Learn KQL on a real SOC incident.

The KQL Mastery Path starts with nine short command cards, then puts you on a SOC shift: six alerts on the real SigninLogs table that turn out to be one attack. Every query is checked by VeriKQL and shows its result on sample data, so you need no workspace.

Start the KQL Mastery Path

Connect

Add VeriKQL to Claude in a minute.

VeriKQL is a remote MCP server. Your own assistant writes the KQL; VeriKQL checks it.

Claude

  1. Settings → Connectors → Add custom connector
  2. URL: https://verikql.kaushiksaha.com/mcp
  3. Authentication: No sign-in (for now)
  4. Ask Claude to write a detection and verify it with VeriKQL.

ChatGPT and other MCP clients

Any assistant that supports remote MCP servers over Streamable HTTP can use the same URL, including ChatGPT where your plan allows custom connectors. The CLI and a GitHub Action that posts SARIF to code scanning come with the public release.

Coming next

Free accounts, then premium checks.

Trial credits for the premium tools: a live check against a real Log Analytics engine (compile-only: no row or value ever comes back), and detection generation with expert review. Paid plans follow once there is demand.

Ask for early access

Write custom detections for your team? See what VeriKQL does for them and what's coming next, including your own tables and watchlists.