# Draugr

> Draugr is an open-source MCP server for security. Rank security scanner findings by exposure, criticality and exploitability. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, Linux, macOS, self-hosted
- **Website:** https://draugr.dev
- **Repository:** https://github.com/draugr-dev/draugr
- **MCP Registry name:** dev.draugr/draugr
- **Categories:** security, developer tools
- **Listing updated:** 2026-11-14

## About

Rather than adding another scanner, this runs open-source ones such as Trivy, Semgrep and Gitleaks, then orders their output. You describe the app once in a draugr.saga.yaml file: components, how exposed each is and how critical it is to the business. The same CVE can then rank P1 on a public payments API and P3 on an internal batch job.

Two signals adjust the order. A finding on CISA's known-exploited list becomes critical, and a high EPSS score raises it one band. On Go projects, govulncheck can show the vulnerable function is never called, which lowers the finding one band without deleting it.

Output is grouped into actions rather than raw findings. It runs in GitHub Actions, GitLab CI and Azure Pipelines and can fail a pull request on a new P1. The MCP server runs through the local draugr binary (draugr mcp), so that must be on your PATH.

## Features

- **Risk-ranked findings:** Orders by exposure, criticality, exploitability and reachability.
- **One config file:** draugr.saga.yaml describes components and exposure.
- **Bundled scanners:** Runs Trivy, Semgrep, Gitleaks and others.
- **KEV and EPSS:** Known-exploited status and exploit probability adjust priority.
- **CI gating:** Fail a build on a new P1 finding.
- **Action view:** Groups findings into things to fix.

## Good for

- Decide which vulnerabilities to fix before a release
- Gate pull requests on new critical findings
- Cut noise from multiple scanners
- Ask an assistant what to fix first in a repository

## Install

### Claude Code (Terminal)

```sh
claude mcp add draugr -- npx -y https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "draugr": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "draugr": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "draugr": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "draugr": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "draugr": {
      "command": "npx",
      "args": [
        "-y",
        "https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb"
      ]
    }
  }
}
```

## FAQ

### Is it open source?

The site describes it as open source.

### Does it delete low-priority findings?

No. Reachability lowers a finding by one band but never removes it.

### Which CI systems are supported?

GitHub Actions, GitLab CI and Azure Pipelines.

### Does the MCP server need installing?

Yes, the draugr binary must be on your PATH and the server starts with draugr mcp.

### Is Draugr free?

Yes. Draugr is open source, so you can use and self-host it for free.

### How do I add Draugr to Claude Code?

Run this command in your terminal: claude mcp add draugr -- npx -y https://github.com/draugr-dev/draugr/releases/download/v0.181.1/draugr-0.181.1.mcpb

### What are the best alternatives to Draugr?

The closest alternatives to Draugr are REA, Codebase Memory, GitHub, Serena MCP: the IDE for your agent and XERJ.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [Serena MCP: the IDE for your agent](https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent): Serena MCP: the IDE for your agent is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.

---
Source: https://ai-powered.com/mcp/draugr
