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

tree-mcp

v0.2.2

Published

MCP server for tree.prodoperationscoach.com — read-only access to your trees from any MCP client.

Readme

tree-mcp

MCP (Model Context Protocol) server for tree.prodoperationscoach.com. Exposes your tree library — Opportunity Solution Trees in the Teresa Torres style — as natural-language tools any MCP client (Claude Code, Claude Desktop, etc.) can call.

v1 is read-only: list trees, fetch markdown, fetch parsed tree structure.

Install / configure

No install needed — npx runs it on demand.

// ~/.claude.json
{
  "mcpServers": {
    "tree": {
      "command": "npx",
      "args": ["-y", "tree-mcp"],
      "env": { "OST_PAT": "ost_pat_..." }
    }
  }
}

Get a token at https://tree.prodoperationscoach.com under Account → API tokens.

If you've already run ost-builder auth login, you can omit the env block — the MCP server will pick up your CLI session from ~/.config/ost-builder/cli-session.json.

Restart Claude Code; the three tools should appear under /mcp.

Tools

| Tool | Use it for | |---|---| | list_trees | Discover tree IDs in your library. | | get_tree | Fetch raw markdown for a tree by ID. | | get_tree_json | Fetch a tree as a parsed structure (cards typed as outcome / opportunity / solution / experiment, with parent/child links). Use for structural reasoning. |

Environment

| Variable | Purpose | |---|---| | OST_PAT | Personal access token (starts with ost_pat_). | | OST_API_BASE | Override the API base URL. Defaults to https://mozost.netlify.app. |

Security

PATs in ~/.claude.json are stored in plaintext. Rotate at the web app if leaked.

Releasing

Always run npm run release from this directory — never npm publish directly.

A global ignore-scripts=true in ~/.npmrc (a common supply-chain hardening) makes npm skip the prepack lifecycle hook, which silently ships a stale dist/. The release script does an explicit npm run build && npm publish so the bundle is guaranteed fresh regardless of npm config.

Manual smoke checklist

After publishing or npm link:

  1. Restart Claude Code; confirm six tools appear in /mcplist_trees, get_tree, get_tree_json, create_tree, update_tree, delete_tree.
  2. Ask: "List my trees." → should call list_trees.
  3. Ask: "Show me the markdown for tree <id>."get_tree.
  4. Ask: "How many opportunities are in tree <id>?"get_tree_json + reasoning.
  5. Ask: "Create a tree with one outcome about activation."create_tree.
  6. Ask: "Add an opportunity under that outcome."update_tree.
  7. Auth failure: unset OST_PAT, remove the session file — server should exit with a clear stderr message.