security-detections-mcp

Query 8,200+ security detection rules across six formats with MITRE ATT&CK coverage analysis.

7|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/mcp-skills --skill security-detections-mcp-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: security-detections-mcp
Source: https://github.com/reason-machines/mcp-skills/tree/main/skills/security-detections-mcp
Command: npx skills add https://github.com/reason-machines/mcp-skills --skill security-detections-mcp-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security teams struggle to search, compare, and measure coverage across thousands of detection rules scattered across Sigma, Splunk, Elastic, KQL, Sublime, and CrowdStrike repositories, making gap analysis against MITRE ATT&CK slow and manual. ## Core Features & Use Cases - Unified Detection Search: Query 8,200+ rules across six detection formats through a single MCP interface with filters for technique, tactic, CVE, severity, and process name. - Coverage & Gap Analysis: Analyze detection coverage by tactic, technique, or threat actor, identify weak spots, and export ATT&CK Navigator layers for visualization. - Detection Engineering Workflows: Generate new detection rules from descriptions or templates, learn patterns from existing rules, and plan detection sprints. - Use Case: A detection engineer assessing ransomware readiness runs the ransomware-readiness-assessment prompt, identifies missing techniques in the kill chain, generates a gap Navigator layer, and drafts new Sigma rules for uncovered techniques. ## Quick Start Ask the AI to search for security detections covering ransomware and analyze your detection coverage gaps against MITRE ATT&CK.

Frequently Asked Questions about security-detections-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I search Sigma and Splunk detection rules with MCP?▼

Use the search tool for full-text queries across all loaded detection sources, or list_by_source to filter by a specific format like sigma or splunk_escu. You can also filter by MITRE technique, CVE, severity, or process name using dedicated tools.

How to analyze MITRE ATT&CK detection coverage gaps?▼

Run analyze_coverage for overall tactic and technique statistics, then identify_gaps with a threat profile such as ransomware or apt to find missing techniques. Export the results as an ATT&CK Navigator JSON layer for visual coverage review.

Can I use security-detections-mcp without downloading rule repositories?▼

Yes, a hosted MCP endpoint at detect.michaelhaag.org requires only a free API token with 200 calls per day. Local installation via npx offers full functionality but requires cloning the Sigma, Splunk, Elastic, and other detection repositories.

Does it support generating new detection rules?▼

Yes, the generate_detection tool drafts rules in Sigma, Splunk, KQL, or Elastic formats from a technique ID and description. You can also create rules from templates and learn common logic patterns from existing detections.

Why does the MCP server return no detections found?▼

This happens when environment variables like SIGMA_PATHS point to incorrect or empty directories. Verify the paths contain YAML, TOML, or JSON rule files, then run the rebuild_index tool to refresh the in-memory index.