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

cardgo-mcp

v0.1.0

Published

CardGo MCP server: use your end-to-end encrypted CardGo cards from Claude, Cursor, and any MCP client.

Readme

@cardgo/mcp

Use your CardGo cards from Claude, Cursor, and any other MCP client — without your cards ever leaving end-to-end encryption.

CardGo cards are encrypted in your browser before they sync, and the server can't read them. That is why this is a local MCP server: it runs on your machine, signs in as one more device on your account, and decrypts cards there. Nothing in plaintext ever reaches a CardGo server.

Requires a Pro or Max plan. Node.js 20.19 or newer.

Published as @cardgo/mcp. The unscoped cardgo-mcp is the same package under an older name and stays in step; new setups should prefer @cardgo/mcp.

Set up

  1. In a terminal on the computer where you use your AI app:

    npx @cardgo/mcp connect

    This opens cardgo.ai (sign in and unlock your vault if asked) and shows an approval panel. Approve it; the terminal confirms within a second.

  2. Add CardGo to your app.

    Claude Code

    claude mcp add cardgo -- npx -y @cardgo/mcp

    Claude Desktop — Settings › Developer › Edit config:

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

    Cursor — Settings › MCP › Add server (.cursor/mcp.json):

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

    Restart the app. Ask it something like "read my Work card before you answer" or "remember on my Apollo card that the launch moved to Friday".

What the AI gets

| Tool | Does | | ---------------- | ---------------------------------------------------------------------------- | | list_cards | Every card: id, name, breadcrumb, one-line summary. Call first. | | read_card | One card in full, plus the cards it is based on (a child inherits context). | | search_cards | Cards whose name or sections mention the query. | | create_card | A new card, optionally based on another. | | update_card | Change name, icon, colour, parent, or whole sections. | | append_to_card | Add one line to a section — the "remember that…" tool. | | delete_card | Permanently delete a card. |

Also: resources cardgo://cards and cardgo://cards/{id} (Markdown), and a use_cards prompt that loads cards as context.

Your AI app asks you before running a tool that changes a card. To hide the write tools entirely, run the server with --read-only (or set CARDGO_MCP_READ_ONLY=1):

{ "mcpServers": { "cardgo": { "command": "npx", "args": ["-y", "@cardgo/mcp", "--read-only"] } } }

Commands

cardgo-mcp connect [--name "My laptop"] [--no-browser]   enrol this machine
cardgo-mcp [serve] [--read-only]                          run the server (stdio)
cardgo-mcp status                                         what is connected
cardgo-mcp disconnect                                     revoke this device, forget the key

Security notes

  • Where the key lives. ~/.cardgo/mcp.json (0600; override the directory with CARDGO_MCP_HOME) holds the session tokens and the raw vault key. Anything that can read that file can read your cards — the same trade the browser extension and the web app's "stay unlocked" make. Use cardgo-mcp disconnect, or Settings › Devices on cardgo.ai, to revoke.
  • How the key gets here. The web app encrypts it to a P-256 key this process generated (ECDH → HKDF-SHA-256 → AES-256-GCM, bound to your account, key version, a one-time state, and the sign-in code) and redirects the browser to 127.0.0.1:<port>. Only the port comes from the link; the host is fixed, so the ciphertext can only land on the machine that started the flow.
  • Revocation. Revoking the device ends its session immediately. Like every E2EE client, a revoked device keeps whatever key it already held; rotate your recovery code on cardgo.ai if a machine was compromised.
  • Plan. Connecting needs Pro or Max. If the plan lapses, CardGo revokes MCP devices automatically.

Development

npm install
npm test             # protocol vectors shared with the web app, handoff, sanitisers
npm run dev -- status
npm run build        # dist/

src/crypto and src/cards mirror cardgo-lp/src/lib; src/test/card-vectors.test.ts proves the copy still decrypts what the web app encrypts.