# Ghidralens

> Ghidralens is an open-source MCP server. Interactive Ghidra views in your AI client: decompile, rename, and navigate a binary. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/hellosverre/ghidralens
- **MCP Registry name:** io.github.hellosverre/ghidralens
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

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

### Claude Desktop (claude_desktop_config.json)

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

### Cursor (~/.cursor/mcp.json)

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

### VS Code (.vscode/mcp.json)

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

### Windsurf (~/.codeium/windsurf/mcp_config.json)

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

### Other clients (your client's MCP settings (most use this shape))

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

## 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

---
Source: https://ai-powered.com/mcp/ghidralens
