LocalFree server, account needed

Ghosthunt MCP server

78degrees/ghosthunt

Find every leaked secret on your machine — API keys in .env files, shell history, and configs.

0 GitHub stars146 npm downloads / month

Install Ghosthunt in Claude Code

Claude Code
claude mcp add ghosthunt -e YOUR_API_KEY=... -- npx -y ghosthunt
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "ghosthunt": {
      "command": "npx",
      "args": [
        "-y",
        "ghosthunt"
      ],
      "env": {
        "YOUR_API_KEY": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Ghosthunt MCP server do?

Find every leaked secret on your machine — API keys in .env files, shell history, and configs.

Is the Ghosthunt MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Ghosthunt run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Ghosthunt to Claude Code?

Run: claude mcp add ghosthunt -e YOUR_API_KEY=... -- npx -y ghosthunt

More security & identity MCP servers

View all