Offline HackTricks and HackTricks Cloud search, permissions check, payload and cheatsheet lookups.
MCPpedia last refreshed this data
io.github.zebbern/hacktricks-mcp is an MCP server that offline HackTricks and HackTricks Cloud search, permissions check, payload and cheatsheet lookups. Its tool list has not been published yet over stdio, requires no API key, and scores 90/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"hacktricks": {
"args": [
"-y",
"@zebbern/hacktricks-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Offline HackTricks and HackTricks Cloud search, permissions check, payload and cheatsheet lookups.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@zebbern/hacktricks-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @zebbern/hacktricks-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in search / education
The official MCP server implementation for the Perplexity API Platform
Unified real-time search engine skill for AI agents.
MCP server for enterprise local codebase indexing, semantic search, and code dependency graphs.
Open-source web scraper for AI agents with scrape, crawl, and map tools
MCP Security Weekly
Get CVE alerts and security updates for io.github.zebbern/hacktricks-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
MCP server that gives AI agents fast, offline full-text search and section-level retrieval over two HackTricks books: the HackTricks offensive-security wiki (network services, web, Linux, Windows and macOS hardening, Active Directory, mobile, reverse engineering, forensics, Wi-Fi) and HackTricks Cloud (AWS, GCP, Azure, Kubernetes, CI/CD). It also checks cloud permissions against HackTricks Cloud's rated lists and escalation catalog: how dangerous a permission is, what it lets a principal escalate to, and where to read about it.
Beside the books it holds two payload collections, with lookup tools of their own: Payloads All The Things (a topic per attack type, with its payload lists, bypass files and polyglots as ready-made files) and SecLists (wordlists by use, with sizes and download links). An agent that knows the technique's name asks for it by name and gets the topic's pages, files and folders in one call; nothing of the payload collections mixes into the HackTricks results.
A third collection sits beside them: Internal All The Things, 167 cheatsheets and playbooks (shells, PowerShell and Mimikatz, Active Directory with the certificate attacks ESC1 to ESC15, AWS and Azure checklists, C2 frameworks, red team playbooks, CI/CD attacks), with two tools of its own. An agent searches it with the name of a page or the words of the need, reads the titles, then reads the page whole, as its code blocks or in one section. Nothing of it mixes into the other results either.
Unlike grep-based alternatives, this server ships with a pre-built SQLite FTS5 search index (about 2,950 pages, plus the payload collections and the cheatsheets) inside the package. No install-time clone, no ripgrep dependency, and no network access at any query. A GitHub Action re-syncs the index with upstream every 3 days and publishes a patch release to npm, so an unpinned install picks up each new index on its next launch. A running server also checks for a newer index in the background and switches to it when there is one, falling back to the bundled index whenever that fails (offline included).
Pages are long, so the tools return the part that answers. Tokens are as the o200k_base tokenizer counts them (other tokenizers differ by a few percent), measured across the index and, for the search, on 89 questions:
| Read | Tokens | Characters |
|---|---|---|
| A search, five hits | about 545 | about 2,000 |
| A page's outline | about 180 | about 690 |
| One section of a page | about 300 | about 1,300 |
| A whole page | about 1,950 | about 8,400 |
A page is about six times that section. npm run cost prints the character counts for the current index; how these are measured is in docs/development.md.
The payload tools answer smaller: a topic by name is about 900 characters, a search of five hits about 900, and the map of both collections about 16,000. Measured on 68 needs, a lookup by the technique's name reached the file every time, and a search with the need in the agent's own words 67 times.
The internal tools answer small too: a search of five hits about 1,000 characters, where a page has a median of about 4,200. Measured on 92 needs, a search followed by the read of its best title reached the page every time.
Requirements: Node.js 22.13 or newer, also when a client starts servers with its own copy of Node.js (the server uses the built-in node:sqlite, zero native dependencies).
Claude Code:
claude mcp add hacktricks -- npx -y @zebbern/hacktricks-mcp@latest
Codex CLI:
codex mcp add hacktricks -- npx -y @zebbern/hacktricks-mcp@latest
Any MCP client (Claud