Skip to content
MCP server

HackTricks MCP Server

Search and query HackTricks pentesting documentation with quick lookup and section…

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
1.3.4
Listing updated
5 days ago

About HackTricks MCP Server

HackTricks MCP Server is an open-source MCP server. It runs locally on your machine and is started by your AI client.

Search and query HackTricks pentesting documentation with quick lookup and section extraction

Install

Run in a terminal

claude mcp add hacktricks-mcp-server -- npx -y hacktricks-mcp-server

Add to claude_desktop_config.json

{
  "mcpServers": {
    "hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "hacktricks-mcp-server"
      ]
    }
  }
}
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "hacktricks-mcp-server"
      ]
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "hacktricks-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hacktricks-mcp-server"
      ]
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "hacktricks-mcp-server"
      ]
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "hacktricks-mcp-server"
      ]
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Pricing

Open source

HackTricks MCP Server FAQ

Is HackTricks MCP Server free?

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

How do I add HackTricks MCP Server to Claude Code?

Run this command in your terminal: claude mcp add hacktricks-mcp-server -- npx -y hacktricks-mcp-server

Where this comes from

  • Description: from the official MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers