HackTricks

Provides an MCP interface to search and query HackTricks pentesting documentation from Claude.
  • javascript

0

GitHub Stars

javascript

Language

4 months ago

First Indexed

2 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "xplo8e-hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "hacktricks-mcp-server"
      ]
    }
  }
}

You can run the HackTricks MCP Server to search and query HackTricks pentesting documentation directly from Claude. This MCP server exposes focused lookup, organized results, and quick access to relevant sections and code blocks, helping you get actionable information fast while keeping token usage efficient.

How to use

Use an MCP client to connect to the HackTricks MCP Server. You can perform quick lookups for common techniques, browse results grouped by file, and read specific sections or code blocks. Practical usage patterns include starting with a category-filtered search, inspecting the page outline to identify relevant sections, extracting a targeted section to minimize tokens, and pulling a cheatsheet with only commands or code.

Typical workflows you can perform:

  • Search for SQL injection techniques and review the top results to identify exploitable patterns.
  • Look for SUID or privilege escalation topics and identify practical commands from the relevant pages.

Available tools

hacktricks_quick_lookup

Performs a one-shot exploitation lookup by searching for an attack or technique, returning the best page with exploitation sections and code blocks in a single call.

search_hacktricks

Searches HackTricks documentation and returns results grouped by file, including match counts, page titles, and relevant section headers.

get_hacktricks_outline

Retrieves the table of contents (all section headers) for a page to understand its structure before reading full content.

get_hacktricks_section

Extracts a specific section from a page by header name, enabling reading just the needed portion.

get_hacktricks_cheatsheet

Extracts only code blocks from a page, providing quick commands or payloads.

get_hacktricks_page

Fetches the full content of a HackTricks page for complete reading.

list_hacktricks_categories

Lists available categories or expands a category to show contained files.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational