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

myrsu-mcp

v0.4.0

Published

MyRSU MCP server — concentration & exposure analysis for tech workers with RSU comp, with international support (US/IN/CA/UK/EU/AU). Lets Claude / Cursor / Continue answer 'how risky is my company stock concentration?' with real numbers.

Readme

MyRSU MCP

npm version npm downloads License: Apache 2.0

An MCP server that lets your AI assistant analyze single-company concentration risk for tech workers with RSU comp.

When you ask Claude "I have $700K in NVDA stock — am I dangerously concentrated?", this server gives Claude real numbers instead of generic advice: a 0-100 Risk Score, your specific Wealth-at-Risk in dollars, historical drawdowns of your employer's stock, prioritized action items, and a pre-filled dashboard URL.

Privacy-first. Stateless. Zero logging. No persistence. Calculations run on Cloudflare's edge (or locally via stdio) with nothing stored.

Companion to: myrsu.app — the free interactive web dashboard.


Install in 30 seconds

Claude Desktop / Web / any HTTP-MCP client

In your client's "Add custom connector" dialog, paste:

https://myrsu-mcp.vidhidev.workers.dev/mcp

That's it. No local install, no Node required.

Claude Code / Cursor / Continue / Cline (stdio)

claude mcp add myrsu -- npx -y myrsu-mcp

Or in your client's config file:

{
  "mcpServers": {
    "myrsu": {
      "command": "npx",
      "args": ["-y", "myrsu-mcp"]
    }
  }
}

What it does

Two tools available to the AI:

myrsu_analyze_risk

Full concentration-risk analysis. Inputs: any combination of cash, brokerage, retirement, vested stock, unvested RSUs, home value, mortgage, income, employer, tax rates. Outputs: Risk Score (0–100), concentration %, Wealth-at-Risk, diversification gap, homeowner stress test (months of runway if you lose your job AND the stock crashes 50%), top 3-5 action items, historical drawdown context, pre-filled dashboard URL.

International support. Pass country (US, IN, CA, UK, EU, AU, OTHER) and the response uses the right currency symbol ($/₹/€/£/C$/A$) and the right retirement-account terminology (401(k)/IRA, RRSP/TFSA, ISA/SIPP, EPF/PPF/NPS, Superannuation, etc.). The risk math is identical for all countries — only labels change.

myrsu_get_employer

Quick lookup for 40+ tech-employer presets. Returns annual volatility (σ), historical peak-to-trough drawdowns (NVDA 2022 −66%, META 2022 −76%, etc.), and recommended safe-concentration cap.

Covers NVDA, TSLA, MSFT, GOOGL, META, AAPL, AMZN + enterprise SaaS, cloud/data/security, semiconductors, consumer internet, fintech/crypto, marketplaces/mobility.


Example conversation

User: I work at NVIDIA. I have about $700K in NVDA stock (split $400K vested + $300K unvested RSUs), $300K liquid in cash and ETFs, and earn $250K/yr. No mortgage, no debt. Am I dangerously concentrated?

Claude: (calls myrsu_analyze_risk in the background)

Yes — you're meaningfully concentrated. Risk Score: 73.5 / 100 — Dangerous.

70% of your $1M net worth is tied to a single stock that's also your employer and your income source. That triple overlap is the core problem.

Historical reference: NVDA dropped 85% in the 2008 financial crisis. A repeat would take your $700K to ~$105K — cutting your net worth nearly in half to ~$405K.

Your situation is riskier than most because:

  • Income is correlated to NVDA — if the stock falls, layoffs often follow
  • $300K unvested disappears if you lose your job during a downturn

Practical path forward:

  • Recommended cap for σ=50% stocks is ~25% of NW (~$250K). You're $450K overweight.
  • At $100K/yr sell pace, you reach safe concentration in ~4.5 years
  • Sell RSUs on vest day — treat each vest as a cash bonus, not a re-investment

Full interactive dashboard: https://myrsu.app/?s=eyJj...


Why this exists

Tech workers with concentrated RSU comp face a real risk that's hard to quantify in their head: most of their wealth AND their income depend on a single company's stock. When Claude is asked about this, the default answer is generic ("consider diversifying, talk to a CPA"). With this MCP loaded, Claude can do the actual math and give a tailored answer.


Privacy

This server is designed to be honest about how user data is handled:

  • Stateless — same inputs always produce the same outputs. No session state.
  • No logging — server does not write inputs, outputs, or identifiers to any log.
  • No persistence — no database, no cache.
  • No third-party calls — calculation is pure math, runs locally in the Worker process.
  • Open source — you can audit every line.

When you call this MCP, your inputs (wealth values, employer, income) transit through Cloudflare's network once and are not retained.

If you prefer to run it entirely on your own machine, install the stdio version (npx -y myrsu-mcp) — calculations happen on your hardware, never leaving your device.


Development

# Clone
git clone https://github.com/YOUR_USERNAME/myrsu-mcp
cd myrsu-mcp
npm install

# Run the stdio MCP locally
npm run dev

# Test with the MCP Inspector (visual UI)
npm run inspect

# Build production output
npm run build

# Deploy the HTTP/Streamable transport to Cloudflare
npx wrangler login
npx wrangler deploy

Project layout

src/
├── index.ts            # Stdio MCP entry (Claude Code, Cursor, Continue, Cline)
├── index-http.ts       # HTTP/Streamable MCP entry (Cloudflare Worker, Claude Desktop)
├── metrics.ts          # Risk calculation + action item generation
├── presets.ts          # 40+ employer presets (σ + historical drawdowns)
└── tools/
    ├── analyze_risk.ts # myrsu_analyze_risk handler
    └── get_employer.ts # myrsu_get_employer handler

Both transports import the same business logic from metrics.ts and presets.ts. The math is identical regardless of how the AI client connects.


License

Apache 2.0 — see LICENSE.

Disclaimer

Not financial advice. Volatility presets and historical drawdowns are approximations sourced from public market data. Past performance is not predictive. Tax calculations use simplified models that don't account for AMT, NII, or RSU-vesting ordinary income. Use as a directional signal, not as a substitute for a licensed financial advisor or CPA.