# Security Detections

> Security Detections is a freemium MCP server for security. Search 8,200+ detection rules across Sigma, Splunk, Elastic, KQL and more, via ATT&CK. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Freemium
- **Platforms:** CLI, API
- **Repository:** https://github.com/mhaggis/security-detections-mcp
- **MCP Registry name:** io.github.MHaggis/security-detections-mcp
- **Categories:** [security](https://ai-powered.com/categories/security)
- **Listing updated:** 2026-11-18

## About

Detection engineers usually keep rules in several incompatible repositories. This server indexes your own checkouts of those repos into one local database, so an assistant can search them together and tie results to MITRE ATT&CK. Point SIGMA_PATHS, SPLUNK_PATHS, ELASTIC_PATHS, KQL_PATHS, SUBLIME_PATHS, CQL_HUB_PATHS, JAMF_PROTECT_PATHS and optional STORY_PATHS at the folders.

The local package exposes 81 tools, with ATT&CK data on 172 threat actors and 784 software entries, procedure-level coverage clusters, Navigator layer export and 11 MCP prompts for jobs like ransomware assessment and purple-team planning. A hosted option trims this to around 25 read-only tools for 200 calls a day on a free tier, with a token from the maintainer's site.

The repo also describes an autonomous pipeline that goes from threat intel to gap analysis, rule drafting and a draft pull request, plus a web chat with free and bring-your-own-key model routing.

## Features

- **Unified rule search:** Query Sigma, Splunk ESCU, Elastic, KQL, Sublime, CQL and Jamf Protect rules in one place.
- **ATT&CK mapping:** Includes STIX data on threat actors, software and actor-technique links.
- **Coverage and gaps:** Export ATT&CK Navigator layers filtered by source, tactic, severity or actor.
- **Local or hosted:** Run all 81 tools locally, or use a hosted server with about 25 read-only tools.
- **Prompts and resources:** 11 prompts plus readable resources and technique-ID autocomplete.
- **Autonomous pipeline:** Optional flow from CTI to a draft pull request, documented in the repo.

## Good for

- Find existing detections for a given ATT&CK technique before writing a new one
- Spot coverage gaps against a specific threat actor
- Compare how Sigma and Splunk express the same behaviour
- Prepare an executive or purple-team briefing from rule data

## Install

### Claude Code (Terminal)

```sh
claude mcp add security-detections-mcp -- npx -y security-detections-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "security-detections-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "security-detections-mcp"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "security-detections-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "security-detections-mcp"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "security-detections-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "security-detections-mcp"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "security-detections-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "security-detections-mcp"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "security-detections-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "security-detections-mcp"
      ]
    }
  }
}
```

## FAQ

### What does the hosted version cost?

Its README lists a free tier of 200 calls a day with all read-only tools; other pricing is not published.

### Do I need to supply the rules?

For the local server yes, via the path variables; the hosted one is kept current for you.

### How many tools are there?

81 locally and roughly 25 hosted.

### Which clients are covered?

Install snippets are given for Cursor, VS Code, Claude Code, Claude Desktop and OpenAI Codex.

### Is Security Detections free?

Security Detections has a free plan, with paid plans for more usage or features.

### How do I add Security Detections to Claude Code?

Run this command in your terminal: claude mcp add security-detections-mcp -- npx -y security-detections-mcp

### What are the best alternatives to Security Detections?

The closest alternatives to Security Detections are REA, AiSOC, redamon, x64dbg-mcp-server and Agent Roast.

## Where this comes from

- Description: written from the project's README.
- Install steps: from the official MCP Registry entry.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [AiSOC](https://ai-powered.com/mcp/aisoc): AiSOC is an open-source MCP server for ai models and llm tooling.
- [redamon](https://ai-powered.com/mcp/redamon): redamon is an open-source MCP server for ai models and llm tooling.
- [x64dbg-mcp-server](https://ai-powered.com/mcp/x64dbg-mcp-server): x64dbg-mcp-server is an open-source MCP server for ai models and llm tooling.
- [Agent Roast](https://ai-powered.com/mcp/agent-roast): Agent Roast is an open-source MCP server for developer tools.
- [Midplane](https://ai-powered.com/mcp/midplane): Midplane is an open-source MCP server for databases.
- [Leash](https://ai-powered.com/mcp/leash): Leash is a free MCP server for security.
- [Cisa Kev](https://ai-powered.com/mcp/cisa-kev): Cisa Kev is a freemium MCP server for security.

---
Source: https://ai-powered.com/mcp/security-detections
