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

mos-stock-flow-mcp

v0.1.1

Published

Free `/m:os` stock-and-flow modeling over MCP and CLI

Readme

/m:os stock and flow mapper

Free, standalone system mapping through one versioned JSON model, a CLI, an MCP server, and an MCP Apps editor. Use it with any MCP-capable model host or as a command-line tool. Models stay with the caller; the server does not save or log submitted model content. No LLM provider key is required.

Hosted MCP

Connect your MCP client to https://mos-stock-flow-mcp.vercel.app/mcp. This is the shared /m:os service; users do not need to deploy it. It uses stateless Streamable HTTP and does not save or log submitted model content. See the service page and host connection guide.

Install CLI and local MCP from npm

Install the published package:

npm install --global mos-stock-flow-mcp
mos-flow init -o garden.json

For a local MCP client, set its server command to mos-mcp. To install from source, clone the repository and run ./install.sh.

Local MCP setup

From a downloaded or cloned project directory, run ./install.sh. It installs pinned dependencies, builds, links mos-flow, and writes .mcp.json with the local stdio MCP command. Add that entry to a client that supports local MCP servers. The installer does not rewrite client settings.

Quick start

mos-flow init -o garden.json
mos-flow validate garden.json
mos-flow show garden.json
mos-flow export garden.json --format svg -o garden.html

- means stdin or stdout. init and export write to stdout by default; use -o FILE for explicit local writes. The hosted Streamable HTTP transport listens on /mcp; /health is a health check.

Stocks are accumulations. Flows are material/rate changes to a stock. Causal links represent influence hypotheses and remain a separate type. Each claim is observed, reported, inferred, hypothesis, or unknown. Missing quantities stay null/unknown. The included community garden example is synthetic.

The workflow is a PWS-informed proposed adaptation, not a validated PWS procedure: define boundary and purpose; map causal loops; identify stocks, flows and delays; map nested levels; then compare leverage hypotheses. Wicked problems can have disputed boundaries and no final stopping rule. A map makes claims discussable; it does not prove causation or settle disagreement. See docs/METHOD.md.

LangTalks informed implementation quality patterns through local source/code research; no live LangTalks graph MCP was available or queried.

Deploy your own instance

Deploy /m:os to Render

The Render button is for people who want their own isolated deployment. It is optional; the shared endpoint above is ready to connect.

MCP client configuration menus and MCP Apps rendering vary by host. See docs/INSTALL.md and docs/DEPLOYMENT.md.