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

privatenote-mcp

v0.1.0

Published

Local MCP server — create end-to-end encrypted PrivateNote links from Cursor. Encryption happens on your machine; only ciphertext reaches the server.

Readme

privatenote-mcp

A local Model Context Protocol server for Cursor that lets the AI agent create end-to-end encrypted PrivateNote links — without any plaintext ever leaving your machine.

How it works

Cursor agent  →  privatenote-mcp (local)  →  PrivateNote API
                      ↓ AES-256-GCM encrypt
                ciphertext + IV + AAD       (no plaintext, no key)
                ← ← ← ← ← ← ← ← ← ← note ID
  secureUrl = https://privatenote.ai/note/{id}#{decryption-key}
                                               ↑
                                 key in fragment only — server never sees it

The decryption key is generated locally and embedded only in the URL fragment. Browsers never send fragments to servers. The PrivateNote API stores only an encrypted blob.

Install in Cursor

Add this to ~/.cursor/mcp.json:

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

Restart Cursor. The server downloads and caches automatically — no manual install needed.

Usage

Once connected, ask the Cursor agent naturally:

"Create a PrivateNote for this secret: sk_live_abc123. Expire it in 1 hour."

The agent calls create_private_note and returns:

{
  "secureUrl": "https://privatenote.ai/note/550e8400-…#abc123…",
  "expiresAt": "2026-05-20T14:00:00.000Z",
  "burnAfterReading": true
}

Share the secureUrl with whoever needs to read it. It self-destructs after the first view.

Tool: create_private_note

| Parameter | Type | Default | Description | |-----------|------|---------|-------------| | content | string | required | The text to encrypt | | expiresIn | 15m | 1h | 24h | 7d | 24h | How long the note stays accessible | | burnAfterReading | boolean | true | Destroy after first view | | title | string | — | Optional title prepended before encryption |

Privacy & security

  • Local encryption onlyAES-256-GCM with a fresh key per note, generated on your machine
  • Key never sent to server — lives exclusively in the URL fragment
  • No plaintext logged — the server, error messages, and console output never contain your content
  • Burn after reading — default true; the note is deleted after the first view
  • Requires Node 18+ — uses the built-in Web Crypto API (globalThis.crypto)

Limitations

  • Password-protected notes are not supported in v1 (requires browser-only argon2)
  • burnAfterReading: false (multi-view) requires a PrivateNote Premium account
  • Rate limits apply the same as browser-created notes

Local dev / self-hosted

To point the MCP at a local PrivateNote instance:

{
  "mcpServers": {
    "privatenote": {
      "command": "npx",
      "args": ["-y", "privatenote-mcp"],
      "env": {
        "PRIVATENOTE_API_BASE_URL": "http://127.0.0.1:8787",
        "PRIVATENOTE_WEB_ORIGIN": "http://localhost:5173"
      }
    }
  }
}

License

MIT