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

@promptroot/mcp-server

v0.1.0

Published

MCP server exposing the PromptRoot dev-history wiki to coding agents (Claude Code, Cursor, Continue, Cline).

Readme

@promptroot/mcp-server

MCP server that exposes the PromptRoot dev-history wiki to coding agents (Claude Code, Cursor, Continue, Cline, etc.). Lets agents search prior SDDs, create new ones, update existing ones, and view version history — without leaving the editor.

Install

npm install -g @promptroot/mcp-server

Authenticate (one-time)

promptroot-mcp-login
# Opens a browser to https://promptroot.ai/auth/device with a one-time code.
# Enter the code, click Authorize.
# Token written to ~/.config/promptroot/credentials.json (chmod 600).

Authentication uses the same GitHub OAuth identity as the PromptRoot web app — no PATs. Revoke from the PromptRoot profile page or by signing out of the web app.

Register with Claude Code

claude mcp add promptroot npx @promptroot/mcp-server

For Cursor, Continue, Cline, etc., consult their MCP configuration docs and point at the promptroot-mcp-server binary.

Tenant resolution

Each repo maps to a tenant. The server resolves tenant in this order:

  1. Tool argument tenantId (explicit).
  2. .promptroot-tenant file at repo root (single line, the tenant slug).
  3. git remote get-url origin matched against tenants[].githubRepo in your account.

If none resolve, write tools error and ask you to run npx promptroot-tenant-init.

Tools exposed

| Tool | Purpose | |------|---------| | promptroot_search_sdds | BM25 search; replaces the standalone Claude Code skill once installed. | | promptroot_list_sdds | List SDDs in a tenant. | | promptroot_get_sdd | Fetch one SDD's body and frontmatter, optionally pinned to a version. | | promptroot_create_sdd | Create a new SDD. | | promptroot_update_sdd | Update an existing SDD; writes a new version. | | promptroot_list_versions | List version history. | | promptroot_restore_version | Roll back to an earlier version (writes a new version, non-destructive). |

Configuration via env vars

| Variable | Default | Purpose | |----------|---------|---------| | PROMPTROOT_API_BASE | https://us-central1-promptroot-b02a2.cloudfunctions.net | Override the Cloud Functions base URL (self-hosted deployments). | | PROMPTROOT_DEVICE_FLOW_URL | https://promptroot.ai/auth/device | Override the user-facing device-auth URL. | | PROMPTROOT_CREDENTIALS_PATH | ~/.config/promptroot/credentials.json (or %APPDATA%\promptroot\credentials.json on Windows) | Override the credentials file path. | | PROMPTROOT_SESSION_TOKEN | (none) | Bypass the credentials file. Useful for CI. |

License

AGPL-3.0-only.