# LeakRank Guard

> LeakRank Guard is an MCP server. Scans code changes for leaked secrets and insecure config, with actionable fixes for AI agents. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Website:** https://leakrank.com/guard
- **MCP Registry name:** io.github.ProtoTeemo/leakrank-guard
- **Listing updated:** 2026-11-13

## About

Scans code changes for leaked secrets and insecure config, with actionable fixes for AI agents.

## Install

### Claude Code (Terminal)

```sh
claude mcp add leakrank-guard --env LEAKRANK_API_KEY='<LEAKRANK_API_KEY>' -- npx -y leakrank-guard
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "leakrank-guard": {
      "command": "npx",
      "args": [
        "-y",
        "leakrank-guard"
      ],
      "env": {
        "LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "leakrank-guard": {
      "command": "npx",
      "args": [
        "-y",
        "leakrank-guard"
      ],
      "env": {
        "LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
      }
    }
  }
}
```

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

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

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

```json
{
  "mcpServers": {
    "leakrank-guard": {
      "command": "npx",
      "args": [
        "-y",
        "leakrank-guard"
      ],
      "env": {
        "LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
      }
    }
  }
}
```

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

```json
{
  "mcpServers": {
    "leakrank-guard": {
      "command": "npx",
      "args": [
        "-y",
        "leakrank-guard"
      ],
      "env": {
        "LEAKRANK_API_KEY": "<LEAKRANK_API_KEY>"
      }
    }
  }
}
```

## FAQ

### How do I add LeakRank Guard to Claude Code?

Run this command in your terminal: claude mcp add leakrank-guard --env LEAKRANK_API_KEY='<LEAKRANK_API_KEY>' -- npx -y leakrank-guard

## Where this comes from

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

---
Source: https://ai-powered.com/mcp/leakrank-guard
