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

@blanklogic/refinery-mcp

v0.2.5

Published

Clean context before AI sees it — BlankLogic Refinery MCP for Cursor and Claude Code (local, no upload).

Readme

@blanklogic/refinery-mcp

MCP server that de-bloats code and redacts secrets for Cursor, Claude Code, and other MCP agents.

Agents get cleaner context and fewer leaked secrets — without sending your repo to BlankLogic servers. Runs locally over stdio.

What's new in 0.2.5

  • Coordinated release with Refinery browser app and BYOK Proxy — same @blanklogic/[email protected] engine.
  • README and site copy focused on MCP-first install (copy-paste config below).
  • Expanded release test gate (CLI, MCP full suite, community stats).
  • 512 KB max input · tools: refine_code, sanitize_secrets, refine_full — see TOOL_CONTRACT.md.
  • Optional telemetry: BLANKLOGIC_MCP_TELEMETRY=0 to disable.

Saved tokens or caught a secret?

If BlankLogic trimmed noise, redacted secrets, or cut token waste for you, a quick review helps others find it:

Install

npx -y @blanklogic/refinery-mcp

Cursor / Claude Code — paste this

Copy into Cursor Settings → MCP (or Claude Code MCP config):

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

Restart the agent session, then ask: “Use refine_full on this pasted code before sending it to the model.”

Tools

| Tool | Description | |------|-------------| | refine_code | De-bloat input; return cleaned output + stats | | sanitize_secrets | Redact obvious secrets; return counts | | refine_full | De-bloat then sanitize (recommended) |

Example response:

{
  "tool": "refine_full",
  "output": "API_KEY=[REDACTED]",
  "stats": {
    "bytesIn": 128,
    "bytesOut": 18,
    "tokensSaved": 12,
    "secretsRedacted": 1
  }
}

Who this is for

  • Cursor and Claude Code users who want agents to clean payloads automatically
  • MCP directory listings (Smithery, mcp.so, PulseMCP, etc.)
  • Teams standardizing context hygiene across agent workflows

Related BlankLogic tools

| Product | Link | |---------|------| | CLI | @blanklogic/refinery | | VS Code / Cursor extension | VS Marketplace · Open VSX | | AI cost proxy | @blanklogic/proxy | | Web app | blanklogic.io/refinery |

Local development (monorepo)

npm install
npm --workspace @blanklogic/refinery-mcp run smoke

Dev config with absolute path:

{
  "mcpServers": {
    "blanklogic-refinery": {
      "command": "node",
      "args": ["/path/to/blanklogic-site/packages/mcp-server/src/index.js"]
    }
  }
}

Tool contract

See TOOL_CONTRACT.md for canonical tool names, the input argument, and the 512 KB limit.

Cloud credits (optional)

MCP tools run locally over stdio. For server-side cleanup (larger payloads, Cloud Refine, or Cloud AI), use the Refinery web app:

blanklogic.io/refinery/#cloud-credits — Beta Token Pack ($5 / 500 runs) or Founder pass ($50).

Privacy

Runs locally over stdio. Does not call Stripe, Ollama, or third-party LLM APIs for MCP tool calls. Cloud credits apply only to the web flow linked above.

By default, sends anonymous aggregate usage (bytes/timing only, never your input) to BlankLogic public stats. Disable with BLANKLOGIC_MCP_TELEMETRY=0. See TOOL_CONTRACT.md.

Support