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

xploitscan-mcp

v1.1.5

Published

Model Context Protocol (MCP) server exposing the XploitScan security scanner as a tool Claude, Cursor, and other MCP clients can call. Scan AI-generated code from inside your AI coding agent.

Readme

xploitscan-mcp

Model Context Protocol (MCP) server that exposes XploitScan as tools your AI coding agent can call. Scan AI-generated code for vulnerabilities from inside Claude Desktop, Cursor, Windsurf, or any other MCP client.

What this is

XploitScan is a static security scanner tuned for the kind of code AI coding tools (Cursor, Lovable, Bolt, Replit, Claude Code) produce by default — unprotected webhooks, hardcoded API keys, SQL injection via template literals, missing auth middleware, CORS misconfigurations. 210 rules, all documented at xploitscan.com/rules.

This package wraps the same scanner engine in the Model Context Protocol so an AI coding agent can check its own output before writing it to disk. Three tools:

  • scan_code — scan files, return findings with rule IDs, severity, and fix suggestions
  • explain_rule — look up what a specific rule means (e.g., VC005 = unprotected Stripe webhook)
  • grade_code — single-call "is this safe to ship" — returns a letter grade A+ through F plus summary

Runs locally over stdio. No network calls, no API key required, no telemetry.

Install

Claude Desktop

Edit your Claude Desktop config file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the xploitscan server under mcpServers:

{
  "mcpServers": {
    "xploitscan": {
      "command": "npx",
      "args": ["-y", "xploitscan-mcp"]
    }
  }
}

Restart Claude Desktop. The three tools show up in the tool picker.

Cursor

Cursor reads MCP config from ~/.cursor/mcp.json:

{
  "mcpServers": {
    "xploitscan": {
      "command": "npx",
      "args": ["-y", "xploitscan-mcp"]
    }
  }
}

Other MCP clients

Any client that supports the standard MCP stdio transport. Command: npx -y xploitscan-mcp. No flags.

Usage

Once wired up, just ask your agent to scan. Examples:

"Scan the code you just wrote for security issues."

"Is this safe to ship?" (agent will call grade_code)

"What does VC005 mean?" (agent will call explain_rule)

The agent decides when to call the tool. If you want explicit invocation, tools can usually be triggered directly from the client's tool picker.

Tool schemas

scan_code

Input:

{
  "files": [
    { "path": "src/api/login.ts", "content": "..." },
    { "path": "src/db/users.ts", "content": "..." }
  ]
}

Output: text summary + structured { findings, filesScanned, findingCount }.

explain_rule

Input:

{ "ruleId": "VC006" }

Output: rule title, severity, category, OWASP + CWE mapping, description.

grade_code

Input: same as scan_code.

Output: { grade, score, summary, findingCount, breakdown, findings }.

Relationship to the XploitScan CLI

The MCP server runs the same scanner engine as the XploitScan CLI (npm i -g xploitscan) and the web scanner at xploitscan.com/scan. Findings are identical across all three surfaces.

For CI, use the GitHub Action. For one-off local scans from the shell, use the CLI. Use this MCP server when you want your AI coding agent to self-check its output.

Privacy

All analysis runs locally in the subprocess started by your MCP client. Code never leaves your machine. No telemetry. No account required.

License

MIT.