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

@clean-tools/mcp

v0.1.1

Published

Zero-dependency stdio bridge to the Clean.tools authless remote MCP server. Use Clean.tools' read-only, deterministic developer/finance/date utilities from Claude Desktop, Cursor, and other stdio MCP clients.

Readme

@clean-tools/mcp

A tiny stdio bridge to the Clean.tools remote MCP server.

Clean.tools runs an authless remote MCP server (Streamable HTTP) that exposes a set of read-only, deterministic developer, finance, and date/time utilities: cron parsing, RRULE expansion, timezone and strftime formatting, loan amortization, TVM, compound interest, APR, hashing, UUIDs, JWT decoding, regex testing, data-format conversion, unit conversion, QR encoding, and more. These are the same engines that power the site's tools, so a model can compute exact answers instead of guessing.

Most desktop MCP clients (Claude Desktop, Cursor, Windsurf, etc.) launch MCP servers as local subprocesses and talk to them over stdio. This package is a zero-dependency shim that speaks stdio to your client and proxies every JSON-RPC message to the remote HTTP endpoint.

  • Zero dependencies. Pure Node built-ins (fetch, readline). Requires Node.js 18+.
  • Nothing to trust it with. The server is authless and every tool is read-only, so there are no credentials and no writes.
  • Configurable endpoint via an environment variable.

Usage

You do not need to install anything. Point your MCP client at npx:

{
  "mcpServers": {
    "clean-tools": {
      "command": "npx",
      "args": ["-y", "@clean-tools/mcp"]
    }
  }
}
  • Claude Desktop: add the block above to claude_desktop_config.json (Settings -> Developer -> Edit Config), then restart Claude Desktop.
  • Cursor / Windsurf / other clients: add the same block to that client's MCP config file (~/.cursor/mcp.json for Cursor).

Pointing at a different endpoint

By default the shim proxies to https://mcp.clean.tools/mcp. Override it with an environment variable, for example to target a local wrangler dev instance:

{
  "mcpServers": {
    "clean-tools": {
      "command": "npx",
      "args": ["-y", "@clean-tools/mcp"],
      "env": {
        "CLEAN_TOOLS_MCP_URL": "http://127.0.0.1:8787/mcp"
      }
    }
  }
}

MCP_REMOTE_URL is accepted as an alias for CLEAN_TOOLS_MCP_URL.

Global install (optional)

npm install -g @clean-tools/mcp
clean-tools-mcp   # reads JSON-RPC on stdin, writes JSON-RPC on stdout

How it works

The shim reads newline-delimited JSON-RPC 2.0 messages from stdin, POSTs each one to the configured Streamable-HTTP MCP endpoint (advertising both application/json and text/event-stream in Accept), and writes the resulting JSON-RPC message(s) back to stdout. It tracks the Mcp-Session-Id header and the protocol version negotiated during initialize so the remote session stays coherent. Notifications (messages without an id) that the server answers with 202 No Content produce no stdout, as required by the protocol. If the remote is unreachable, the shim returns a JSON-RPC error for the pending request rather than hanging.

Diagnostics are written to stderr; stdout carries only protocol traffic.

Talking to the server directly

If your client supports remote/HTTP MCP servers natively, you can skip this shim entirely and connect straight to:

https://mcp.clean.tools/mcp

There is also a plain REST API for non-MCP callers:

GET  https://mcp.clean.tools/api/tools          # list tools
POST https://mcp.clean.tools/api/tools/:name    # run a tool with a JSON body

License

MIT