Skip to main content
Glama
TregardLabs-Dana

mcp-hayabusa

mcp-hayabusa

An MCP server that wraps Hayabusa for EVTX (Windows event log) analysis, exposing a scan_evtx tool to Claude.

Setup

  1. Install dependencies:

    pip install -r requirements.txt
  2. Download the Hayabusa binary and Sigma rules into ./hayabusa/:

    python download_hayabusa.py

    This fetches the latest release for your OS/architecture and extracts it to ./hayabusa/ (binary at ./hayabusa/hayabusa.exe on Windows or ./hayabusa/hayabusa elsewhere, plus rules/ and rules/config/).

  3. Keep the ruleset current (recommended before each scanning session):

    ./hayabusa/hayabusa.exe update-rules      # Windows
    ./hayabusa/hayabusa update-rules          # Linux/macOS

Related MCP server: EventWhisper

Running the server

python server.py

This starts the MCP server over stdio. Point an MCP client at it, e.g. in Claude Desktop's config:

{
  "mcpServers": {
    "hayabusa": {
      "command": "python",
      "args": ["C:\\path\\to\\mcp-hayabusa\\server.py"]
    }
  }
}

Tool: scan_evtx

Scans an EVTX file (or a directory of EVTX files) with Hayabusa and returns detections as structured JSON.

Parameters:

  • evtx_path (string, required) — path to a .evtx file or a directory containing them

  • min_severity (string, optional, default "informational") — minimum severity to include: informational, low, medium, high, critical

Returns:

{
  "evtx_path": "...",
  "min_severity": "...",
  "count": 42,
  "detections": [ { "Timestamp": "...", "RuleTitle": "...", "Level": "...", "...": "..." } ]
}

On failure (missing file, missing Hayabusa binary, invalid min_severity, scan timeout, or a Hayabusa scan error), it returns {"error": "..."} instead of raising.

Requirements

  • Python with the mcp library (see requirements.txt)

  • The Hayabusa CLI, installed via download_hayabusa.py

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

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/TregardLabs-Dana/mcp-hayabusa'

If you have feedback or need assistance with the MCP directory API, please join our Discord server