npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@leakferret/mcp

v0.1.13

Published

MCP (Model Context Protocol) server for leakferret. Stops AI agents from committing live secrets.

Readme

@leakferret/mcp

An MCP server that lets a coding agent scan, verify, and rewrite secrets before it writes a commit.

npm MCP Registry MIT

A Model Context Protocol server for leakferret. The pitch: agents hardcode secrets too, and nobody reviews their diffs line by line the way they review a human pull request. This gives the agent tools to self-check — scan, classify, verify against the provider, and rewrite — so a live key never makes it into the commit. Works with Claude Code, Cursor, Continue, and Claude Desktop.

Listed in the official MCP Registry as io.github.leakferrethq/leakferret, so registry-aware clients can discover it.

Install and run

npm install @leakferret/mcp     # pulls in @leakferret/cli + the native binary
npx @leakferret/mcp             # JSON-RPC 2.0 over stdio

Running it in a terminal looks like a hang — that's correct. It's a stdio JSON-RPC server waiting for an editor or agent to connect.

Hook it up

Claude Code — one line:

claude mcp add leakferret -- npx -y @leakferret/mcp

Any MCP client (Cursor, Continue, Claude Desktop) — add to .mcp.json / claude_desktop_config.json:

{
  "mcpServers": {
    "leakferret": {
      "command": "npx",
      "args": ["@leakferret/mcp"]
    }
  }
}

Cursor: Settings → MCP Servers → add command npx @leakferret/mcp.

Tools and prompt exposed

| Tool | Purpose | |---|---| | scan_repository | Walk a path, return regex pre-filter candidates | | classify_candidates | Apply offline heuristic REAL/FIXTURE/UNKNOWN verdicts | | verify_finding | Live HTTP verification against the provider | | propose_rewrite | Propose an env-var replacement for a real finding | | baseline_diff | Diff a scan against the repo baseline |

Plus a classify prompt — the system prompt the host model uses to classify candidates inline using the model the agent already has, with no extra API key.

What leakferret does

Finds hardcoded secrets and API keys and confirms which are live: it regex-scans files (respecting .gitignore), marks documented public examples as FIXTURE via a signed catalog, classifies each candidate, and verifies real findings with a harmless API call to the provider (AWS SigV4, GitHub, GitLab, Stripe, OpenAI, Anthropic, Slack, Twilio, SendGrid, Mailgun, Datadog, Heroku, npm, PyPI, DigitalOcean), with a trufflehog fallback.

Privacy invariant: the full secret value never leaves your machine. Only a redacted first-4-plus-last-4 preview (e.g. AKIA...4XYZ) is ever written to a report, log, network message, or model prompt. Verification calls go straight from your machine to the provider — leakferret has no servers.

Also a CLI

The same engine is a CLI: @leakferret/cli (npx @leakferret/cli scan .), plus a GitHub Action and a VS Code extension.

License

MIT for this package and the bundled binary. The fixture catalog data is CC-BY-SA-4.0 — see leakferret-catalog.


Part of leakferret · leakferret.com · maintained by Maria Khan.