Hacktricks MCP server
io.github.zebbern/hacktricks-mcp·v0.1.5Offline full-text search over the HackTricks security wiki, synced every 3 days.
0 stars
Reviews
Write oneNobody has reviewed Hacktricks yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Hacktricks tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
hacktricks_get_pageRetrieve content of a HackTricks page found via hacktricks_search. By default returns the
hacktricks_get_tocGet the HackTricks wiki structure: categories and page tree. Call without arguments for the
hacktricks_searchFull-text search over the HackTricks offensive-security wiki (pentesting techniques,
Public scan report
scanner v0.1.10 · 2026-10-01 · same rubric, same numbers if you re-run it
- Code scan7 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitylocal package, no credentials required12/15
- Maintenancelast push 0 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Hacktricks compares
Against every graded Web search MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 92/100
- higher than 90% of 3,470 Web search servers
- Tools
- 3
- the typical Web search server has 5
- Tools that change things
- 0%
- typical: 0%. Fewer write tools means less an agent can break
What its tools let an agent do: 3 read
Install Hacktricks in Claude Code, Cursor or VS Code
Runs npx -y @zebbern/hacktricks-mcp on your machine. Read the scan report first; the gateway never runs local packages.
claude mcp add hacktricks-mcp -- npx -y @zebbern/hacktricks-mcp
What the publisher says
From the Hacktricks repository's README, as published. We do not edit it. Read it on GitHub
hacktricks-mcp
MCP server that gives AI agents fast, offline full-text search and section-level retrieval over the HackTricks offensive-security wiki.
Unlike grep-based alternatives, this server ships with a pre-built SQLite FTS5 search index (1,000+ pages) inside the package. No install-time clone, no ripgrep dependency, no network access at query time. A GitHub Action re-syncs the index with upstream every 3 days and commits it back to this repo.
Quick start
Requirements: Node.js 22.13 or newer (uses the built-in node:sqlite, zero native dependencies).
Claude Code:
claude mcp add hacktricks -- npx -y @zebbern/hacktricks-mcpCodex CLI:
codex mcp add hacktricks -- npx -y @zebbern/hacktricks-mcpAny MCP client (Claude Desktop, Cursor, Kimi, etc.), config JSON:
{
"mcpServers": {
"hacktricks": {
"command": "npx",
"args": ["-y", "@zebbern/hacktricks-mcp"]
}
}
}As a plugin (bundles the agent skill that teaches efficient usage): this repo is a valid plugin for Claude Code (.claude-plugin/), Codex (.codex-plugin/) and Kimi (kimi-plugin/). Add it from your client's plugin marketplace flow pointing at zebbern/hacktricks-mcp, or for Kimi Work use this plugin link.
Then ask things like:
- "Search HackTricks for kerberoast and give me the attack commands"
- "How do I escalate privileges from the lxd group?"
- "Show me the SSRF section of the pentesting-web pages"
Tools at a glance
All tools are strictly read-only. Full reference: docs/tools.md.
Documentation
- docs/tools.md: complete tool reference with parameters and examples
- docs/architecture.md: how the index and the 3-day sync work
- docs/development.md: local setup, tests, releasing
- docs/agents.md: agent skill, MCP registry and plugin packaging
Security and legal
- The server executes nothing from the wiki; it is a read-only search interface. All queries are parameterized, and user input is escaped before query construction.
- HackTricks content is offensive-security reference material. Use it only on systems you are authorized to test.
- Content belongs to HackTricks / Carlos Polop and contributors; this repo contains derived index data plus original server code (MIT).
Credits
- HackTricks by Carlos Polop and contributors
- Model Context Protocol SDK
Nothing above is checked by us. What we check is on the safety report.
Hacktricks: common questions
- Is Hacktricks MCP server safe?
- Yes, by our scan: it is graded A (92/100). Read the Hacktricks safety report
- How do I install Hacktricks?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Hacktricks need an API key?
- Not as far as the registry entry and our scan can tell: no credentials are declared or required.
- Is Hacktricks maintained?
- The last commit was 33 days ago (2026-10-01). The latest release is v0.1.5.
- What can I use instead of Hacktricks?
- Servers from other publishers that do the same job: Arxiv MCP server, Pubmed MCP server and Misakanet MCP server.
- How does Hacktricks compare with other Web search MCP servers?
- safety score 92/100 (higher than 90% of 3,470 Web search servers); tools 3 (the typical Web search server has 5); tools that change things 0% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Hacktricks
Same job from other publishers: the closest match first, then the best rated.
- ArxivSearch arXiv papers, download full text, semantic search, citation graphs, and alerts via MCP.not reviewedWidely usedA
- PubmedSearch PubMed/Europe PMC, fetch articles and full text (PMC/EPMC/Unpaywall), citations, MeSH terms.not reviewedEstablishedA
- MisakanetFailure-memory layer for coding agents: search evidence-rated failure lessons by error text.not reviewedEstablishedA
- Ref ToolsToken-efficient search for coding agents over public and private documentation.not reviewedEstablishedA
- Abap Adt RoRead-only MCP server for SAP ABAP ADT over HTTP, RFC or SNC: the readonly, system and search toolsnot reviewedEstablishedA