# Threatkb

> Threatkb is an open-source MCP server. Local MITRE ATT&CK queries: techniques, tactics, mitigations, and detections from a STIX file. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/cloudcorprecords/threatkb
- **MCP Registry name:** io.github.CloudCorpRecords/threatkb
- **Listing updated:** 2026-11-13

## About

Local MITRE ATT&CK queries: techniques, tactics, mitigations, and detections from a STIX file.

## Install

### Claude Code (Terminal)

```sh
claude mcp add threatkb -- npx -y @reneturcios/threatkb
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "threatkb": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/threatkb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "threatkb": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/threatkb"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "threatkb": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/threatkb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "threatkb": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/threatkb"
      ]
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "threatkb": {
      "command": "npx",
      "args": [
        "-y",
        "@reneturcios/threatkb"
      ]
    }
  }
}
```

## FAQ

### Is Threatkb free?

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

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

Run this command in your terminal: claude mcp add threatkb -- npx -y @reneturcios/threatkb

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