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/llm-output-sanitizer-mcp

v0.1.0

Published

MCP server exposing llm-output-sanitizer: strip dangerous HTML, SQL, and shell snippets from LLM output before rendering, executing, or persisting. Built for Claude Desktop, Cursor, Cline, Windsurf, and Zed.

Readme

llm-output-sanitizer-mcp

npm mcp registry

MCP server that exposes @mukundakatta/llm-output-sanitizer to any MCP-aware client (Claude Desktop, Cursor, Cline, Windsurf, Zed).

Strip dangerous HTML, SQL, and shell snippets from LLM output before they reach a render path, a query engine, or a shell.

Tools

| Name | What it does | | --- | --- | | sanitize_output | Return cleaned text plus the list of removed patterns. | | assert_safe_output | Same scan, but ok: false when anything dangerous was found. | | list_findings | Enumerate matches without rewriting the text. |

Detectors target the high-leverage sinks: <script>, <iframe>, <form>, <meta>, DROP/TRUNCATE/ALTER, rm -rf, curl ... |, sudo, etc.

Install

// claude_desktop_config.json (Claude Desktop)
// or the equivalent in Cursor / Cline / Windsurf / Zed
{
  "mcpServers": {
    "llm-output-sanitizer": {
      "command": "npx",
      "args": ["-y", "@mukundakatta/llm-output-sanitizer-mcp"]
    }
  }
}

Restart your client. The three tools appear in the tool drawer.

Example

> sanitize_output on "Hello <script>steal()</script> world"

{
  "safe": false,
  "text": "Hello [removed:html] world",
  "findings": [
    { "kind": "html", "match": "<script>" },
    { "kind": "html", "match": "</script>" }
  ]
}

Pass sink: "html" to additionally HTML-escape < > & after stripping, so the cleaned text is safe to drop straight into a DOM.

Why this exists

Even a well-aligned model will repeat dangerous strings it found in retrieved context. A small, deterministic post-filter on the way out is cheap insurance, and it pairs naturally with prompt-injection-shield-mcp on the way in.

This server is a thin wrapper. The detection logic lives in the underlying library and is zero-dependency, sub-millisecond, and entirely local.

License

MIT © Mukunda Katta