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

@mukundakatta/secretsniff-mcp

v0.1.1

Published

MCP server: scan text/code for accidentally-committed secrets — AWS/GitHub/Slack/Stripe keys, JWTs, RSA private keys, and high-entropy strings. Built for Claude Desktop, Cursor, Cline, Windsurf, and Zed.

Readme

secretsniff-mcp

npm mcp license

An MCP server that gives AI assistants the ability to scan text or code for accidentally-committed secrets before they ship.

Works with Claude Desktop, Cursor, Cline, Windsurf, Zed, and any other MCP client.

What it catches

| Detector | Pattern | |---|---| | AWS_ACCESS_KEY | AKIA… 20-char keys | | GITHUB_TOKEN | ghp_/gho_/ghu_/ghr_/ghs_… | | SLACK_TOKEN | xox[baprs]-… | | STRIPE_KEY | sk_live_/sk_test_/pk_live_/pk_test_… | | JWT | three url-safe base64 segments | | RSA_PRIVATE_KEY | -----BEGIN RSA PRIVATE KEY----- marker | | SSH_PRIVATE_KEY | -----BEGIN OPENSSH PRIVATE KEY----- marker | | GENERIC_API_KEY | api[_-]?key\s*[=:]\s*"…" style assignments | | HIGH_ENTROPY | strings ≥ 32 chars with Shannon entropy ≥ 4.5 bits/char |

Tools exposed

scan_text

Scan a string for secrets. Returns one entry per finding with line/column, the matched substring, and Shannon entropy.

{ "text": "const KEY = 'AKIAIOSFODNN7EXAMPLE';" }

{
  "findings": [
    {
      "kind": "AWS_ACCESS_KEY",
      "line": 1,
      "column": 14,
      "start": 13,
      "end": 33,
      "matched": "AKIAIOSFODNN7EXAMPLE",
      "entropy": 3.78
    }
  ]
}

scan_file

Read a file from disk and scan it. Same return shape as scan_text plus the file path. Useful when an agent has just written a file and wants to double-check it before committing.

Configure your MCP client

Claude Desktop's claude_desktop_config.json:

{
  "mcpServers": {
    "secretsniff": {
      "command": "npx",
      "args": ["-y", "@mukundakatta/secretsniff-mcp"]
    }
  }
}

Cursor / Cline / Windsurf / Zed configs follow the same command + args pattern.

Why this is not a --lint flag

This is meant for the agentic loop: an LLM that just wrote a config or edited a file calls scan_text on its own output before declaring success. Existing CLI scanners (gitleaks, trufflehog) target the human-driven pre-commit workflow; they're great at that and I'd still run them in CI. secretsniff-mcp covers the gap during the LLM's editing turn.

License

MIT.