mcpbeat Sign in

Ghosthunt MCP Server

local only

Ghosthunt runs on your own machine — the client starts it, so there is no endpoint to ping. 48 installs a week from npm. Last commit 31 May 2026.

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

Installs per day peak 23 · avg 7 · +21% w/w
a month agotoday
48
Installs / week
npm · ghosthunt
0
Stars
0 open issues
31 May 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 5 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

Touches key and credential files src/server.ts:142
    npm_config: "npm Config (.npmrc)",

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add ghosthunt -e 'YOUR_API_KEY=<YOUR_API_KEY>' -- npx -y ghosthunt
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "ghosthunt": {
      "command": "npx",
      "args": [
        "-y",
        "ghosthunt"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.ghosthunt]
command = "npx"
args = ["-y", "ghosthunt"]
env = { YOUR_API_KEY = "<YOUR_API_KEY>" }
.cursor/mcp.json
{
  "mcpServers": {
    "ghosthunt": {
      "command": "npx",
      "args": [
        "-y",
        "ghosthunt"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "ghosthunt": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "ghosthunt"
      ],
      "env": {
        "YOUR_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

Put your own value in place of <YOUR_API_KEY> (Your API key for the service). The author’s registry entry marks it as required.

Alternatives to Ghosthunt

same job, measured the same way
Secret Scanner
by guardbee

Scans files for leaked secrets and API keys

762 installs/wk local only
Secret Scanner
by 4hmetuyar

Scans files for leaked secrets and API keys

local only
Env Secret Exposure Analyzer MCP
by vola-trebla

Scans projects for secret exposure: leaked API keys, unprotected .env files, and secrets in logs.

57 installs/wk local only
Keyfold
by codewithkolin

Use API keys from your Keyfold vault in commands and .env files. No tool returns a secret value.

local only
Gitleaks Cloud - GitHub API Key Hunter & Secret Scanner
by anshumanatrey

GitHub Secret Scanner - Find Leaked API Keys | Gitleaks

answering
Conning
by eranyonai

Run commands on your remote test machines over SSH without the agent ever seeing a secret.

706 installs/wk local only
Secret Sentinel
by alebrito124356

Local secret guardrails: scan code, git changes and MCP configs for API keys; redact text

139 installs/wk local only
Trestle
by trestlescan

Detects leaked secrets (API keys, tokens, private keys) in source code.

46 installs/wk local only

Ghosthunt — questions

Answers built from our own checks of this server.

Why is there no uptime for Ghosthunt?
Ghosthunt runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package ghosthunt was installed 48 times last week.
How do I connect Ghosthunt?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls ghosthunt straight from npm; nothing to host, nothing to sign up for.
How many people use Ghosthunt?
The npm package ghosthunt was installed 48 times in the last week. Week over week that is +21%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Ghosthunt open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.