Security Detections
16 Nov 2026 · Re-tested every Monday
io.github.MHaggis/security-detections-mcp
Security Detections 3.3.4 is Audited (re-tested 16 Nov 2026). In our sandbox, with the network off, it completed the MCP handshake in 181 ms and listed 81 tools, including search, get_by_id and get_raw_yaml. All 8 checks passed: 0 known advisories across 133 scanned packages, no install scripts, no credential patterns in the package, Apache-2.0 license. Context cost: about 10,800 tokens.
Search security detections across Sigma, Splunk, Elastic, KQL, Sublime, CQL and Jamf with ATT&CK.
What it does
This server lets LLMs query one database of detection rules from Sigma, Splunk ESCU, Elastic, KQL, Sublime and CrowdStrike CQL. Tools search rules and list them by source, MITRE ATT&CK technique, log source, severity or CVE. You point it at your detection repositories through environment variables, or use the hosted setup.
Summary from the project's README and tool list.
Tools (81)
Context cost: ~10,800 tokens (81 tools) how measured
First 80 of 81 shown.
- search Full-text search across all detection fields (name, description, query, MITRE IDs, tags, CVEs, analytic stories, process names, file paths, registry paths)
- get_by_id Get a single detection by its ID
- get_raw_yaml Get the original YAML content for a detection
- list_all List all detections with pagination. Use for browsing the detection index.
- list_by_source List detections filtered by source type
- list_by_mitre List detections that map to a specific MITRE ATT&CK technique
- list_by_logsource List Sigma detections filtered by logsource (category, product, or service)
- list_by_severity List detections filtered by severity level
- list_by_cve List detections that cover a specific CVE vulnerability
- list_by_analytic_story List Splunk detections that belong to a specific analytic story (e.g., "Ransomware", "Data Destruction")
- list_by_process_name List detections that reference a specific process name (e.g., "powershell.exe", "w3wp.exe", "cmd.exe")
- list_by_detection_type List detections by type (TTP, Anomaly, Hunting, Correlation)
- list_by_data_source List detections that use a specific data source (e.g., "Sysmon", "Windows Security", "process_creation")
- list_by_mitre_tactic List detections by MITRE ATT&CK tactic (e.g., "execution", "persistence", "credential-access")
- list_by_kql_category List KQL detections filtered by category (e.g., "Defender For Endpoint", "Azure Active Directory", "Threat Hunting")
- list_by_kql_tag List KQL detections filtered by tag (e.g., "ransomware", "hunting", "ti-feed")
- list_by_kql_datasource List KQL detections that use a specific Microsoft data source (e.g., "DeviceProcessEvents", "SigninLogs", "EmailEvents")
- get_stats Get statistics about the indexed detections and stories
- get_technique_ids Get ONLY unique MITRE technique IDs (lightweight - no full detection data). Use this for Navigator layer generation or coverage analysis.
- analyze_coverage Get coverage analysis with stats by tactic, top covered techniques, and weak spots. Returns summary data, not raw detections. Use this instead of listing detections and processing manually.
- identify_gaps Identify detection gaps based on a threat profile (ransomware, apt, initial-access, persistence, credential-access, defense-evasion). Returns prioritized gaps with recommendations.
- suggest_detections Get detection suggestions for a specific technique. Returns existing detections, required data sources, and detection ideas.
- generate_navigator_layer Generate a MITRE ATT&CK Navigator layer JSON from detection coverage. Returns valid Navigator JSON ready for import at https://mitre-attack.github.io/attack-navigator/. Filter by source, tactic, or severity.
- analyze_procedure_coverage Analyze procedure-level coverage for a MITRE technique. Goes beyond "we cover T1059.001" to show WHICH specific behaviors/procedures your detections actually catch (e.g., encoded commands, download cradles, AMSI bypass). Shows covered and u
- compare_procedure_coverage Compare procedure-level detection coverage across sources for a technique. Shows which source catches which specific behaviors — two orgs can both tag T1059.001 but detect completely different procedures. Returns a matrix of source × proced
- get_detection_list Get a lightweight list of detection names and IDs matching a search query. Returns ONLY name, id, source, mitre_ids - no queries or raw yaml. Use this when you need a simple list.
- compare_sources Compare detection coverage between sources (Sigma vs Splunk vs Elastic vs KQL) for a topic. Returns a clean breakdown with counts and names per source.
- count_by_source Get quick counts of detections by source for a topic. Returns just the numbers, no detection details.
- list_by_name_pattern List detections whose NAME matches a pattern, grouped by source. Returns just name + ID pairs.
- smart_compare Compare detections across sources, tactics, or techniques for a given topic. Returns breakdown by source, tactic, and severity.
- get_coverage_summary Get a lightweight coverage summary (~200 bytes) with tactic percentages. Use this for quick overviews instead of full analyze_coverage.
- get_top_gaps Get just the top 5 gaps (~300 bytes) for a threat profile. Use this for quick gap checks.
- get_technique_count Get just the detection count for a technique (~50 bytes). Use this for quick coverage checks.
- analyze_actor_coverage Analyze detection coverage against a specific threat actor. Shows which of the actor's known MITRE ATT&CK techniques have detections, coverage percentage, and prioritized gaps. Requires STIX data (ATTACK_STIX_PATH env var).
- list_actors List all known MITRE ATT&CK threat actors with aliases and technique counts. Requires STIX data (ATTACK_STIX_PATH env var).
- compare_actor_coverage Compare detection coverage across multiple threat actors. Shows shared technique gaps and unique risks per actor. Requires STIX data (ATTACK_STIX_PATH env var).
- get_actor_profile Get full threat actor dossier: description, aliases, known techniques, software employed, and detection coverage status. Requires STIX data (ATTACK_STIX_PATH env var).
- search_stories Search analytic stories by narrative, description, or name. Stories provide rich context about threat campaigns and detection strategies.
- get_story Get detailed information about a specific analytic story by name
- list_stories List all analytic stories with pagination
- list_stories_by_category List analytic stories by category (e.g., "Malware", "Adversary Tactics", "Abuse")
- save_query Save a query result for quick retrieval later. Useful for caching frequently needed data.
- get_saved_query Retrieve a previously saved query result by name.
- list_saved_queries List all saved queries, optionally filtered by type.
- rebuild_index Force re-index all detections and stories from configured paths. WARNING: This is a destructive operation that deletes the current index.
- save_template Save a reusable query template with {{placeholders}}. Templates can contain SQL queries or tool-chain definitions for future execution.
- run_template Execute a saved query template with the provided parameters. Returns the query results.
- list_templates List all saved query templates with their names, descriptions, and usage statistics.
- get_template Get the full details of a saved query template including the template string and parameters.
- delete_template Delete a saved query template by name.
- create_table Create a new custom table to store analysis data. Use this to persist findings, research results, or any structured data you want to retrieve later. Pre-built tables available: gap_analyses, source_comparisons, threat_actor_profiles, detec
- insert_row Insert a row of data into a dynamic table. Data is validated against the table schema.
- query_table Query data from a dynamic table with optional filtering, sorting, and pagination. Filter examples: - Exact match: {"status": "completed"} - LIKE match: {"name": "%ransomware%"} - Multiple conditions: {"status": "pending", "priority": "high
- list_tables List all dynamic tables created by the LLM, including pre-built analysis tables and their statistics.
- drop_table Remove a dynamic table and all its data. Use with caution - this is irreversible.
- describe_table Get detailed schema information and statistics for a dynamic table.
- create_entity Create a knowledge entity representing a security concept. Use this to build the knowledge graph with threat actors, techniques, detections, campaigns, tools, vulnerabilities, and data sources. Entity types: - threat_actor: APT groups, cri
- create_relation Create a relationship between two entities WITH reasoning explaining WHY they're connected. This is the core of tribal knowledge - capturing not just the connection but the insight behind it. Relation types: - uses: Threat actor uses techn
- add_observation Add a fact or observation about an entity. Observations capture point-in-time knowledge that can be queried later. Examples: - "APT29 has been active since at least 2008" - "This detection has high false positives in development environmen
- delete_entity Remove an entity from the knowledge graph. This also removes all relations and observations associated with the entity.
- delete_observation Remove a specific observation by its ID. Use open_entity first to find observation IDs.
- search_knowledge Search across all knowledge types: entities, relations, observations, decisions, and learnings. Uses full-text search to find relevant tribal knowledge. Search examples: - "PowerShell execution" - Find everything related to PowerShell - "c
- read_graph Read the entire knowledge graph or a filtered subgraph. Returns entities, relations, and observations. Use this to: - Get an overview of all stored knowledge - Filter by entity type to focus on specific concepts - Understand the structure
- open_entity Get complete information about a specific entity including all its relations and observations. This is the detailed view of a single knowledge node.
- log_decision Record WHY a significant decision was made. This is the gold of tribal knowledge - capturing the reasoning process so future agents can understand past decisions. Decision types: - gap_identified: A detection gap was found - detection_reco
- add_learning Store a pattern or insight derived from analysis for future reference. Learnings are reusable knowledge that can help future sessions. Learning types: - detection_pattern: A pattern for writing effective detections - gap_pattern: A recurri
- get_relevant_decisions Get past decisions relevant to the current context. Uses full-text search to find tribal knowledge that applies to your current analysis. Use this to: - See how similar situations were handled before - Understand reasoning behind past reco
- get_learnings Get applicable learnings for the current task. Returns patterns and insights that may help with the current analysis. Use this to: - Apply proven patterns to new situations - Remember user preferences - Avoid known pitfalls
- auto_analyze_coverage Automatically analyze detection coverage, identify gaps across threat profiles, and store findings for future reference. This tool: 1. Runs coverage analysis across all detections 2. Identifies gaps for specified threat profiles (ransomwar
- auto_gap_report Generate a comprehensive gap report comparing detection coverage across sources (Sigma, Splunk ESCU, Elastic, KQL) and threat profiles. This tool: 1. Analyzes all threat profiles for gaps 2. Compares detection coverage across different sou
- auto_compare_sources Autonomously compare detection coverage across different sources (Sigma, Splunk ESCU, Elastic, KQL) with detailed reasoning and analysis. This tool: 1. Compares detection counts and coverage across all available sources 2. Analyzes techniq
- llm_enhanced_analysis Request LLM-enhanced analysis of security detection data using MCP sampling. This tool leverages MCP sampling to request the client's LLM to analyze security data with expert reasoning. Unlike the auto_* tools that perform direct analysis,
- check_sampling_status Check if MCP sampling is available for LLM-enhanced analysis. Sampling allows the server to request LLM completions from the client, enabling richer autonomous analysis. Not all MCP clients support this feature. Use this tool to check cap
- get_query_patterns Get common query patterns for a MITRE technique based on existing detections. Returns SPL structure, common fields, macros used, and example queries. Use this before writing a detection to learn the conventions.
- get_field_reference Get available fields for a Splunk data model with usage examples. Use this to understand what fields are available when writing a detection query.
- get_macro_reference Get common Splunk macros and their usage patterns. Essential for writing detections that follow repository conventions.
- find_similar_detections Find existing detections similar to what you want to create. Use this to learn from existing detection logic and structure.
- suggest_detection_template Generate a detection template based on technique, learned patterns, and conventions. Returns YAML structure ready for customization.
- generate_rba_structure Generate RBA (Risk-Based Alerting) structure for a detection based on learned patterns and best practices.
- extract_patterns Extract and store patterns from all indexed detections. Run this to populate the pattern database for template generation.
Install
npx -y security-detections-mcp@3.3.4
Version history
- : first listed at version 3.3.4, Audited
Audit report
Automated checks, not a security guarantee or a certification by any client. Payment never changes a score or a tier. How listings are checked.
- Version
- 3.3.4
- Audited
- 16 Nov 2026 · Re-tested every Monday
- Package
- npm security-detections-mcp
- Advisories
- 0 critical, 0 high, 0 medium, 0 low
- Network
- Disabled
- Pass Version. Pinned npm security-detections-mcp@3.3.4
- Pass Known vulnerabilities
- Pass License. Apache-2.0
- Pass Install scripts
- Pass Credential patterns
- Pass Package size. 2.3 MB
- Pass Maintainer activity. Active 12 days ago.
- Pass Sandbox. MCP handshake completed. 81 tools listed.
Sandbox log excerpt
[tools] Registry initialized with 81 tools [tools] - Detections: 37 [tools] - Stories: 4 [tools] - Cache: 4 [tools] - Meta: 5 [tools] - Dynamic: 6 [tools] - Knowledge: 12 [tools] - Autonomous: 5 [tools] - Engineering: 8 [security-detections-mcp] 81 tools registered [security-detections-mcp] Modules: detections(37), stories(4), cache(4), meta(5), dynamic(6), knowledge(12), autonomous(5), engineering(8) [security-detections-mcp] Server started (v3.3.4 - Advanced MCP Features)
Built for
Any MCP client.
Transports: stdio.
Links
Metadata checks
- Repository activity: Active in the last 180 days
- License: Recognized SPDX id
- Metadata quality: High
Audited by AddonAudit · 16 Nov 2026
Free to use; updates after each weekly re-test. Dark, HTML and self-hosted formats.
Badge
[](https://addonaudit.com/addon/io-github-mhaggis-security-detections-mcp/)
Seal
[](https://addonaudit.com/addon/io-github-mhaggis-security-detections-mcp/)