mcp-hayabusa
mcp-hayabusa is an MCP server that wraps the Hayabusa Windows event log forensics tool, enabling MCP clients to run detection scans over .evtx files and explore detection rules.
scan_evtx — Run Hayabusa detection scans on a single .evtx file or a directory of .evtx files.
Output format: CSV, JSON, or JSONL
Filter rules by keyword (e.g.,
"mimikatz","lateral")Set a minimum alert level (
informational,low,medium,high,critical)Toggle UTC timestamps and optional persistent output to disk
Choose a summary view (counts, top rules, condensed preview) or full view (all fields)
get_hayabusa_rules — List available Hayabusa/Sigma detection rules, optionally filtered by keyword.
Returns metadata: path, ID, title, level, status, description, author, tags, and logsource
Supports custom rule directories or bundled defaults
hayabusa://attack — Static resource listing every MITRE ATT&CK technique ID present in the rule set with rule counts.
hayabusa://attack/{technique_id} — Template resource showing all rules tagged with a specific ATT&CK technique ID (case-insensitive).
hayabusa://rules/{path} — Template resource returning the raw Sigma rule YAML for a given rule file path.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-hayabusaScan system.evtx for high-severity alerts"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-hayabusa
An MCP (Model Context Protocol) server that wraps Hayabusa,
the Windows event log fast forensics timeline and threat-hunting tool, so an
MCP client (e.g. Claude Code) can run detection scans over .evtx files.
Prerequisites
Python 3.10+
The
hayabusabinary, downloaded from the Hayabusa releases page (or built from source), available onPATH, or pointed to via theHAYABUSA_BINenvironment variable.scripts/download_hayabusa.pywill fetch the latest release for your platform and extract it to./hayabusa/:python scripts/download_hayabusa.py # then either add ./hayabusa to PATH, or: export HAYABUSA_BIN=./hayabusa/hayabusa # ./hayabusa/hayabusa.exe on WindowsPass
--version vX.Y.Zto pin a release,--muslfor a musl build on Linux, or--forceto re-download.
Related MCP server: mcp-hayabusa
Install
pip install -e .Run
mcp-hayabusaOr point an MCP client's config at the installed console script
(mcp-hayabusa) or at python -m mcp_hayabusa.server.
Configuration
Env var | Purpose |
| Full path (or PATH-resolvable name) of the hayabusa binary to invoke. |
Copy .env.example to .env and fill it in as a reference for what to set. Nothing auto-loads
.env: export the variables yourself (or use a tool like direnv) before running mcp-hayabusa/
mcp dev/mcp run, or, if installing into the Claude Desktop app, pass it straight to
mcp install src/mcp_hayabusa/server.py --env-file .env.
Tools
scan_evtx
Runs hayabusa csv-timeline or hayabusa json-timeline against a single
.evtx file or a directory of .evtx files, always non-interactively.
Parameters: target, is_file, output_format (csv/json/jsonl),
rules_dir, min_level, utc, output_path.
Returns the command that was run, exit code, a preview of up to 20 result
records, the total record count, and truncated stdout/stderr. Pass
output_path explicitly to keep the full result file on disk; otherwise a
temporary file is used and removed after the preview is extracted.
get_hayabusa_rules
Lists Hayabusa/Sigma detection rules, optionally filtered by keyword — useful
for browsing/searching what's available before running scan_evtx with a
rule_filter, since both use the same case-insensitive text match.
Parameters: keyword, rules_dir, max_results.
Returns total_matched (true count) and up to max_results rules, each with
path, id, title, level, status, description, author, tags, and
logsource.
Resources
A read-only, browsable detection knowledge base — Sigma rules and their ATT&CK mappings — for a client to navigate directly instead of only through tool calls.
URI | Kind | Description |
| static | Every ATT&CK technique ID present in the loaded rule set, with a rule count each. |
| template | Rules tagged with one technique, e.g. |
| template | Raw Sigma rule YAML (including its |
path in hayabusa://rules/{path} is a rule's path field from
get_hayabusa_rules or an ATT&CK resource, with every / percent-encoded
(%2F) — MCP resource URI templates only match a single path segment.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Related MCP Servers
- Flicense-qualityCmaintenanceEnables an LLM client to scan Windows event log files (EVTX) for suspicious activity using Hayabusa, and browse its detection rules directly in conversation.Last updated
- Flicense-qualityBmaintenanceEnables scanning Windows EVTX event log files with Hayabusa, returning structured detection results through an MCP tool.Last updated
- Flicense-qualityBmaintenanceAn MCP server that wraps the Hayabusa CLI, enabling analysis of Windows EVTX event log files and browsing of its detection rule set.Last updated
- Flicense-qualityCmaintenanceEnables EVTX (Windows Event Log) analysis via Hayabusa, providing tools to scan event logs and retrieve detection rules.Last updated
Related MCP Connectors
A paid remote MCP for developer endpoint scanner MCP, built to return verdicts, receipts, usage logs
A paid remote MCP for ClawManager, built to return verdicts, receipts, usage logs, and audit-ready J
VirusTotal MCP — file / URL / domain / IP reputation (BYO key)
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/msadigo/mcp-hayabusa'
If you have feedback or need assistance with the MCP directory API, please join our Discord server