SigmaLineage MCP
Click on "Deploy 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., "@SigmaLineage MCPrun sigma hunt on last night's evtx and trace lineage"
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.
βοΈ SigmaLineage MCP
Context-Aware EVTX Hunting Β· Lineage-First Triage Β· Zero Noise Tolerance
"A Sigma hit means nothing without its story. The process lineage chain is the story."
π― Why SigmaLineage?
EVTX triage in modern SOCs is a race against noise. You have millions of events, hundreds of alerts, and seconds to decide what's real.
π For the SOC Analyst
Generic alerts drown true incidents in false positives. You don't need more alerts β you need signal from noise.
SigmaLineage's rarity baseline engine automatically surfaces:
π¨ Anomalous process-to-port connections
π€ Suspicious user-log event signatures
π Weird URL lookups no one else made
Find the real threat. Fast.
𧬠For the Detection Engineer
A Sigma rule fires. But is it a sysadmin doing their job, or an attacker moving laterally?
The process lineage chain is our core moat.
SigmaLineage traces the full parentβchild execution tree β up to 5+ generations β turning isolated alerts into a visual kill chain. You instantly see:
Was this cmd.exe spawned by
services.exeorw3wp.exe?Is
rundll32being launched fromProgramData?Did
WmiPrvSE.exejust spawn a reverse shell?
Stop chasing ghosts. Confirm the kill chain.
π§ By combining rapid Sigma matching, automated lineage graphing, and multi-dimensional rarity baselining, SigmaLineage MCP transforms raw EVTX logs into actionable, context-rich intelligence β for AI agents and human analysts alike.
Related MCP server: EventWhisper
π§ Built On
Component | Role |
| Chainsaw field-mapping definition |
| Process lineage runner script |
| FastMCP server orchestration |
Tool Overview
1) run_sigma
Runs the Chainsaw Sigma hunt command and returns a summary of rule hits.
Inputs:
evtx_path(file or folder of logs to scan)sigma_rules_path(directory containing Sigma rules)mapping_path(Chainsaw mapping yaml, defaults tosrc/sigmalineage_mcp/mappings/sigma-event-logs-all.yml)output_dir(directory wherehunt.jsonis written)
Output Highlights:
hunt_json_pathhit_counttop_rulestop_source_files
2) run_sigma_lineage
Runs the Sigma hunt (or loads existing results) and traces the parent/child process lineage for hit processes.
Inputs:
All
run_sigmainputslevels(number of ancestor levels to trace, default5)skip_hunt(skip running Chainsaw hunt, loading existinghunt.jsoninstead, defaultfalse)
Output Highlights:
hunt_json_pathprocess_lineage_json_pathprocess_lineage_md_pathsigma_hit_countindexed_evtx_filesindexed_events
Example Lineage Highlights Output:

3) rare_events_baseline
Computes rare tuple combinations from parsed CSV event logs with baseline comparison to highlight anomalies.
Inputs:
target_csv_path(CSV file or folder to analyze)baseline_csv_path(optional, defaults to target scope itself)max_results(default25)max_baseline_count(filter threshold for baseline occurrence, default2)
Tuple Families Analyzed:
process_dst_port_protocol: Maps unique combinations of process name, destination port, and protocol.user_channel_event_id: Maps unique combinations of user, log channel, and event ID.url_host_process: Maps unique combinations of accessed URL/domain, host computer, and initiating process name.
Example Rarity Baseline Analysis Output:

Folder Structure
sigmalineage-mcp/
sigma_lineage.py # Lineage tracer CLI script
pyproject.toml # Project configuration & dependencies
README.md # This file
src/
sigmalineage_mcp/
__init__.py
__main__.py # Standard script entrypoint
config.py # Paths configuration
server.py # FastMCP server orchestration
mappings/
sigma-event-logs-all.yml # Chainsaw mapping file
services/
chainsaw_runner.py # Subprocess runner for Chainsaw
lineage_runner.py # Subprocess runner for lineage tracer
rarity.py # Pure Python CSV rarity baseline engineInstallation
Prerequisites
Chainsaw CLI: Ensure
chainsawis installed and available in yourPATH(e.g. at~/.local/bin/chainsaw).Python: Python 3.10+ is required.
Setup
From the repository root:
uv syncRunning the Server
Direct Execution
Start the FastMCP stdio server:
uv run sigmalineage-mcpMCP Client Configurations
To wire this MCP server into different AI clients, use the standard JSON configuration snippet below, placing it in the tool-specific configuration file location.
Standard JSON Snippet
{
"mcpServers": {
"sigmalineage-mcp": {
"command": "uv",
"args": [
"run",
"--project",
"/absolute/path/to/sigmalineage_mcp",
"sigmalineage-mcp"
],
"env": {
"SIGMALINEAGE_PROJECT_ROOT": "/absolute/path/to/sigmalineage_mcp"
}
}
}
}Note: Replace /absolute/path/to/sigmalineage_mcp with the actual path where this repository is cloned on your system.
Client Configuration File Paths
Cursor: Add to the Cursor GUI settings panel (
Settings -> Features -> MCP) or edit~/.cursor/mcp.json(Linux/macOS) or%USERPROFILE%\.cursor\config\mcp.json(Windows).Antigravity: Add to the
mcp_config.jsonconfiguration file located at~/.gemini/antigravity/mcp_config.json.OpenCode: Add to
~/.config/opencode/opencode.json(Linux/macOS) or a project-levelopencode.jsonfile in the root of the repository.Claude Desktop: Add to the global configuration file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Available Tools
3 toolsrare_events_baselineC
Return rare tuple events with baseline frequencies from parsed CSV data.
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | ||
| target_csv_path | Yes | ||
| baseline_csv_path | No | ||
| max_baseline_count | No |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description must disclose behavioral traits. However, it only mentions reading CSV data and returning results, without stating whether the tool is read-only, what happens on errors, or any side effects. The agent cannot assess safety or side effects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, concise and to the point. However, it sacrifices necessary detail for brevity. It could be more informative without becoming wordy.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Despite having an output schema, the description does not explain what 'rare tuple events' are, how baseline frequencies are computed, or the output structure. The tool has 4 parameters and an output schema, yet the description omits crucial context.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain parameters. It hints at CSV paths but does not describe max_results, max_baseline_count, or their defaults. The agent cannot deduce the meaning of these parameters from the description alone.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool returns rare tuple events with baseline frequencies from parsed CSV data. This is a specific verb-resource combination, but it does not differentiate from sibling tools run_sigma and run_sigma_lineage, which likely have overlapping purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives, nor does it specify prerequisites or context. The agent is left without criteria for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_sigmaC
Run Chainsaw Sigma hunt and return hunt.json summary.
| Name | Required | Description | Default |
|---|---|---|---|
| evtx_path | Yes | ||
| output_dir | Yes | ||
| mapping_path | Yes | ||
| sigma_rules_path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description must disclose behavioral traits. It only mentions returning a summary, but does not explain side effects (e.g., creating output files, deleting anything, required permissions). No mention of whether it modifies input files or requires network access.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is concise (one sentence) but at the expense of necessary detail. It is not verbose, but the minimalism leaves gaps that reduce its overall utility.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given four required string parameters, a tool name implying a security workflow, and the existence of an output schema (though not detailed), the description is insufficient. It does not explain the workflow, prerequisites, or what the output contains, leaving the agent underinformed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must explain parameters. It does not describe any of the four parameters (evtx_path, sigma_rules_path, mapping_path, output_dir) beyond their names, providing no added meaning for an AI agent.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool runs a Chainsaw Sigma hunt and returns a summary, using a specific verb ('Run') and resource ('Chainsaw Sigma hunt'). It distinguishes itself from siblings like 'rare_events_baseline' and 'run_sigma_lineage' by focusing on a general Sigma hunt, implying a different scope or output.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool over alternatives, no prerequisites, no exclusions. It simply states what it does without context about when it's appropriate, leaving the agent to guess.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
run_sigma_lineageC
Run Sigma hunt + process lineage tracing and return process_lineage paths/summary.
| Name | Required | Description | Default |
|---|---|---|---|
| levels | No | ||
| evtx_path | Yes | ||
| skip_hunt | No | ||
| output_dir | Yes | ||
| mapping_path | Yes | ||
| sigma_rules_path | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
No output parameters | ||
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description must carry the full burden. It mentions running a hunt and lineage tracing, and returning results, but does not disclose side effects like file writes to output_dir, required permissions, or whether it modifies input data. The read-only or destructive nature is unclear.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single sentence, which is concise but at the cost of clarity. It front-loads the core action but omits necessary details. It is not verbose, but brevity reduces utility.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 6 parameters (4 required) and a complex workflow (hunt + lineage), the description is severely incomplete. It does not explain prerequisites, output format (despite having an output schema), or typical use cases. The description fails to provide a minimal operational context for the agent.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
With 0% schema description coverage, the description adds no meaning to parameters. It mentions evtx_path, sigma_rules_path, mapping_path, and output_dir implicitly, but does not define them, their formats, or relationships. Parameters 'levels' and 'skip_hunt' are completely ignored, offering no guidance on usage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states it runs a Sigma hunt with lineage tracing, returning paths/summary. It implies a combination of hunt and lineage steps, distinguishing it from 'run_sigma' sibling which likely does only the hunt. However, it could be more explicit about what 'process_lineage paths/summary' entails.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus siblings. Sibling 'run_sigma' suggests a simpler hunt-only option, but the description does not explain the trade-offs (e.g., when lineage is needed). No when-not or alternative context provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v0.1.0- First observed
rare_events_baseline - First observed
run_sigma - First observed
run_sigma_lineage
TDQS
Scored across 3 tools
Each tool has a distinct purpose: one focuses on rare event baselines, another on Sigma hunts, and the third on Sigma hunts with lineage tracing. There is no overlap or ambiguity.
The first tool uses a noun phrase pattern (rare_events_baseline), while the other two use a verb-noun pattern (run_sigma, run_sigma_lineage). This inconsistency in naming style may cause confusion for an agent.
With 3 tools, the set is slightly small but well-scoped for the domain. Each tool serves a clear function without unnecessary bloat, fitting within the typical 3-15 range.
The tools cover the core workflows: baseline analysis, sigma hunts, and lineage tracing. There are minor gaps (e.g., no tool for managing rules or results), but the surface is complete for intended use.
Maintenance
Related MCP Connectors
55 tools, 7 Resources, Sigma rules, email SPF/DMARC, MITRE, CVE/KEV, risk_score. No key.
AI-powered threat intelligence, smart contract auditing, and cybersecurity OSINT.
Enrich, search, assess, and manage threat intelligence through 80+ typed MCP tools.
CVE intelligence: exploitation (KEV/EPSS), detection coverage, fixed versions. All tools keyless.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides programmatic access to ingest and query Windows event logs (especially Sysmon logs), enabling security monitoring, incident response, and log analysis automation.5MIT
- AlicenseNot gradedqualityDmaintenanceEnables fast, scriptable access to Windows .evtx event logs for incident response and digital forensics. Supports filtering events by time windows, Event IDs, and keywords with field projection to reduce output size.49GPL 3.0
- AlicenseBqualityAmaintenanceEnables AI-assisted Windows digital forensics analysis including parsing Windows Event Logs (EVTX), analyzing registry hives (SAM, SYSTEM, SOFTWARE), and remotely collecting artifacts via WinRM with built-in security queries and forensic reference data.4321MIT
- AlicenseNot gradedqualityAmaintenanceEnables natural language threat hunting and incident response by connecting LLMs to enterprise security data sources like Elasticsearch, EVTX logs, PCAP files, and Velociraptor.206GPL 3.0