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

@vaultcompass/vault-guard-mcp

v1.1.0

Published

Let Cursor and Claude scan AI-proposed edits for secrets before applying. Local MCP server.

Readme

@vaultcompass/vault-guard-mcp

MCP server for Vault Guard. Gives Cursor and Claude the ability to scan a proposed edit before it lands, at edit time instead of commit time. One config line, fully local.

Install

npm install -g @vaultcompass/vault-guard-mcp

Requires Node.js 22+.

Quickstart (Cursor / Claude Desktop)

Add to your MCP config (~/.cursor/mcp.json, claude_desktop_config.json, etc.):

{
  "mcpServers": {
    "vault-guard": {
      "command": "npx",
      "args": ["-y", "@vaultcompass/vault-guard-mcp"]
    }
  }
}

Restart the editor. Vault Guard tools are now available to your AI agent.

Tools

| Tool | Purpose | |------|---------| | scan_workspace | Scan a directory (.gitignore-aware). Returns JSON, SARIF, and summary. | | scan_file | Scan a single file on disk. | | scan_text | Scan arbitrary UTF-8 text (e.g. a proposed edit). Optional virtual_path for SARIF URIs. | | report_token_usage | Rough on-disk token estimate for paths (no network calls). | | record_session_event | Append an opt-in local row to ~/.vault-guard/usage.sqlite (e.g. secret_blocked, revert). |

Example agent workflow

  1. Before applying an edit, the agent calls scan_text with the proposed content.
  2. If secrets are found, the agent warns the user or refuses to apply the change.
  3. For repo-wide checks, use scan_workspace on the project root.

All scanning runs locally. No secrets or file contents are sent to external servers.

Development (from a clone)

git clone https://github.com/vaultcompasshq/vault-guard.git
cd vault-guard
pnpm install && pnpm --filter @vaultcompass/vault-guard-mcp build

Point MCP config at the local binary:

{
  "mcpServers": {
    "vault-guard": {
      "command": "pnpm",
      "args": ["exec", "vault-guard-mcp"],
      "cwd": "/path/to/vault-guard"
    }
  }
}

Privacy

Telemetry written by record_session_event stays on disk under ~/.vault-guard/ only. See docs/PRIVACY.md.

Related packages

| Package | Purpose | |---------|---------| | @vaultcompass/vault-guard | CLI (vault-guard scan, pre-commit hooks, proxy) | | @vaultcompass/vault-guard-core | Scanning engine used by this server |

Documentation

License

MIT. Vault & Compass LLC