Skip to content
MCP server

Ghidralens

Interactive Ghidra views in your AI client: decompile, rename, and navigate a binary.

Runs locallyStatus and history
Install
Pricing
Open source
Runs
Locally
Version
0.1.1
Listing updated
4 days ago

About Ghidralens

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

Install

Run in a terminal

claude mcp add ghidralens --env GHIDRALENS_TOKEN='<GHIDRALENS_TOKEN>' -- npx -y ghidralens

Add to claude_desktop_config.json

{
  "mcpServers": {
    "ghidralens": {
      "command": "npx",
      "args": [
        "-y",
        "ghidralens"
      ],
      "env": {
        "GHIDRALENS_TOKEN": "<GHIDRALENS_TOKEN>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "ghidralens": {
      "command": "npx",
      "args": [
        "-y",
        "ghidralens"
      ],
      "env": {
        "GHIDRALENS_TOKEN": "<GHIDRALENS_TOKEN>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "ghidralens": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ghidralens"
      ],
      "env": {
        "GHIDRALENS_TOKEN": "<GHIDRALENS_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "ghidralens": {
      "command": "npx",
      "args": [
        "-y",
        "ghidralens"
      ],
      "env": {
        "GHIDRALENS_TOKEN": "<GHIDRALENS_TOKEN>"
      }
    }
  }
}

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

{
  "mcpServers": {
    "ghidralens": {
      "command": "npx",
      "args": [
        "-y",
        "ghidralens"
      ],
      "env": {
        "GHIDRALENS_TOKEN": "<GHIDRALENS_TOKEN>"
      }
    }
  }
}

Configuration

  • GHIDRALENS_TOKENShared secret printed by the PyGhidra bridge on startup. Start the bridge first: python bridge/serve.py --binary <path>Required
  • GHIDRALENS_BRIDGE_URLWhere the PyGhidra bridge is listening. Defaults to http://127.0.0.1:8799

Pricing

Open source

Ghidralens FAQ

Is Ghidralens free?

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

How do I add Ghidralens to Claude Code?

Run this command in your terminal: claude mcp add ghidralens --env GHIDRALENS_TOKEN='<GHIDRALENS_TOKEN>' -- npx -y ghidralens