
Offline, full-text search tool for red team commands and techniques with MITRE ATT&CK mapping, fuzzy matching, and built-in MCP server for AI assistant integration.

red-tldr is a lightweight red team command lookup tool. It helps experienced red team operators quickly find the commands, techniques, and key points they need — like a man command built for offensive security.
Starting from v0.5.0, red-tldr also ships with a built-in MCP server, so AI assistants like Claude Desktop and Cursor can query your red team knowledge base directly.
In daily red team work, you need to memorize hundreds of commands — and usually you only remember the first few characters. Searching through documentation or search engines is slow and noisy. red-tldr gives you instant, offline, deterministic answers from a curated database you control.
text (colored terminal), json, markdown$ brew install red-tldr
# AUR: https://aur.archlinux.org/packages/red-tldr
$ sudo pacman -S red-tldr
$ git clone https://github.com/Rvn0xsy/red-tldr
$ cd red-tldr
$ go build
Download from Releases.
$ tar -zxvf red-tldr_latest_linux_amd64.tar.gz
$ ./red-tldr
It is recommended to add red-tldr to your PATH.
# Keyword search
$ red-tldr mimikatz

# Fuzzy matching — type a few characters
$ red-tldr mi

When multiple results are found, select by number:

# JSON output
$ red-tldr mimikatz -f json
# Markdown output
$ red-tldr mimikatz -f markdown
# Rebuild local index (JSON + Bleve)
$ red-tldr update
# Download latest database from GitHub
$ red-tldr upgrade
red-tldr includes a built-in MCP server that exposes your red team knowledge base to AI assistants.
| Tool | Description |
|---|---|
search_redteam_commands | Search commands by keyword, platform, category, tactic, or technique |
get_command_details | Get full details of a specific command entry |
list_techniques | List available MITRE ATT&CK techniques in the database |
$ red-tldr serve
Add to your Claude Desktop config (claude_desktop_config.json):
{
"mcpServers": {
"red-tldr": {
"command": "red-tldr",
"args": ["serve"]
}
}
}
$ red-tldr serve --http --addr localhost:8080 --endpoint /mcp
Default config path: ~/.red-tldr/config.toml
[red-tldr]
index-update = false
github-update = false
path = ""
color = true
Each entry is a YAML file in the red-tldr-db repository. The enhanced format (v0.5.0+) supports additional fields while remaining backward compatible:
name: mimikatz-sekurlsa
tags:
- mimikatz
- credentials
- lsass
data: |
# Mimikatz Sekurlsa
privilege::debug sekurlsa::logonpasswords
category: credential-access
platforms:
- windows
mitre_attack:
tactics:
- credential-access
techniques:
- T1003.001
metadata:
author: Rvn0xsy
confidence: high
related:
- mimikatz-dpapi
All new fields (category, platforms, mitre_attack, metadata, related) are optional — existing YAML files work without modification.
We welcome contributions!
| Item | Description | Type |
|---|
| index-update | Auto-rebuild index on search | Bool |
| github-update | Auto-download database from GitHub | Bool |
| path | Database storage path | String |
| color | Colored terminal output | Bool |