HackTricks MCP Server vs Semgrep

A side-by-side look at the HackTricks MCP Server and Semgrep MCP servers: transport, auth, tools, quality signals, and the config to install either one in Claude, Cursor, Windsurf or VS Code.

HackTricks MCP Server logoHackTricks MCP ServerSecurity · Local subprocess (stdio)Search and query HackTricks pentesting documentation with quick lookup and section extraction52GoodAuth: not declaredSemgrep logoSemgrepSecurity · Local subprocess (stdio)Scan code for security vulnerabilities using Semgrep.48FairAuth: no auth required

Verdict: choose HackTricks MCP Server for security work as a local process; choose Semgrep for security as a local process. You can also run both side by side in one mcpServers block.

Which MCP server should you choose?

HackTricks MCP Server logoChoose HackTricks MCP Server when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • You want tools like hacktricks_quick_lookup, search_hacktricks, get_hacktricks_outline.
Explore HackTricks MCP Server

Semgrep logoChoose Semgrep when

  • You need dedicated capabilities in the Security domain.
  • You prefer a local stdio subprocess transport.
  • Its auth model fits you: No auth required.
Explore Semgrep

Feature & specification comparison

Rows where the two servers differ are marked.

SpecHackTricks MCP Server logoHackTricks MCP ServerSemgrep logoSemgrep
CategorySecuritySecurity
Quality signal52/100 · Good48/100 · Fair
Install commandConfirmedConfirmed
TransportLocal subprocess (stdio)Local subprocess (stdio)
AuthNot declaredNo auth required
PricingNot declaredFree
Required env varsNone listedNone listed
Verified ownerCommunity listingCommunity listing
GitHub stars1017,199
Directory activity 3 views 0 installs 0 upvotes 1 views 0 installs 0 upvotes
Tools3Not listed

Tools & capabilities

HackTricks MCP Server tools 3

  • hacktricks_quick_lookup⚡ **One-shot exploitation lookup**. Searches, finds best page, and returns exploitation sections + code blocks in one call.
  • search_hacktricksSearch through HackTricks documentation. **Returns results GROUPED BY FILE** with match count, page title, and relevant section headers.
  • get_hacktricks_outlineGet the **table of contents** of a page (all section headers). Use this BEFORE reading full pages to understand structure.

Semgrep tools

No tool names declared yet. Check the project README from the listing page.

Ready-to-paste client configs

Paste either block (or both) into your client config, e.g. claude_desktop_config.json or ~/.cursor/mcp.json. We only show a config when the install command is confirmed.

HackTricks MCP Server

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "hacktricks-mcp-server": {
      "command": "npx",
      "args": [
        "hacktricks-mcp-server"
      ]
    }
  }
}

Semgrep

mcpServers (Claude Desktop / Cursor)
{
  "mcpServers": {
    "semgrep-semgrep": {
      "command": "uvx",
      "args": [
        "semgrep"
      ]
    }
  }
}

Frequently asked questions

HackTricks MCP Server is categorized under Security and uses a local stdio subprocess. Semgrep belongs to Security and uses a local stdio subprocess. Pick HackTricks MCP Server for security work and Semgrep for security.

Copy the mcpServers block from the config section on this page into your client's config (for example claude_desktop_config.json or ~/.cursor/mcp.json), then fully restart the client.

HackTricks MCP Server has no declared pricing — check the project's own site. Semgrep is listed as free. Auth: no auth required. If a server needs environment variables such as API keys, define them under the env key in your client's MCP config.

Yes. MCP clients support multiple servers: add hacktricks-mcp-server and semgrep-semgrep as separate keys in the same mcpServers object, and your assistant will call tools from either one.

On AllMCPs, HackTricks MCP Server has a quality signal of 52/100 (Good) with 3 views, 0 installs and 10 GitHub stars. Semgrep has 48/100 (Fair) with 1 views, 0 installs and 17,199 GitHub stars.