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

ctx7proxy

v0.1.4

Published

Cross-platform Context7 tray proxy with multi-account pooling

Readme

ctx7proxy

A macOS menu-bar and Windows system-tray app that distributes Context7 REST and MCP requests across multiple API-key accounts.

Install

Install globally from npm, then launch the tray app:

npm install --global ctx7proxy
ctx7proxy

Open the tray icon, add one or more ctx7sk-… account keys, and copy the MCP endpoint. Keys are encrypted with the operating system's secure storage and never exposed to the settings window after saving. Accounts can be disabled without deleting their saved keys; disabled accounts are excluded from the proxy pool.

Configure a Context7 MCP client to use http://127.0.0.1:47837/mcp. REST calls keep their original paths, for example:

curl 'http://127.0.0.1:47837/api/v2/libs/search?libraryName=react&query=state'

If a client access token is configured in Settings, clients must send Authorization: Bearer <proxy-key>. The proxy replaces that credential with the selected Context7 account key. /health reports only account IDs and states; it never exposes keys.

Pool behavior

Healthy accounts are selected round-robin. A 429 or upstream 5xx puts an account into cooldown; Retry-After is honored when present. A 401 or 403 disables the rejected account until restart. MCP session IDs remain pinned to the account that created them. If every account is unavailable, the proxy returns 503.

npm test
npm run lint

Develop and package

Requires Node.js 20 or newer.

npm install
npm start       # Run Electron in development
npm run package # Build an unpacked app for the current platform
npm run make    # Build a distributable installer

Build macOS installers on macOS and Windows installers on Windows. Forge produces a DMG/ZIP on macOS and a Squirrel Setup.exe on Windows under out/make/. Production releases should be code-signed for each platform.

Local macOS builds reuse the Developer ID Application identity and twinpane-notary Keychain profile installed for TwinPane. Release builds require these GitHub Actions secrets:

  • macOS: APPLE_CERTIFICATE (base64 PKCS#12), APPLE_CERTIFICATE_PASSWORD, APPLE_SIGNING_IDENTITY, APPLE_ID, APPLE_PASSWORD, and APPLE_TEAM_ID.
  • Windows: WINDOWS_CERTIFICATE (base64 PFX) and WINDOWS_CERTIFICATE_PASSWORD.

The release workflow fails instead of distributing unsigned installers when signing certificates are missing.

The headless environment-driven proxy remains available through npm run start:proxy; see .env.example for its configuration.

Publish

Confirm the package name and contents before publishing:

npm test
npm pack --dry-run
npm publish --access public

Publishing requires an authenticated npm account with two-factor authentication or a granular automation token.