Myrsu Mcp

io.github.VidhiJav由 GitHub 帳號 VidhiJav 發布v0.4.0更新於 Oct 24, 2026

Concentration risk analysis for tech workers with RSU comp — global (US/IN/CA/UK/EU/AU).

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

一個 MCP 伺服器,讓助理為持有 RSU 薪酬的科技從業者計算單一公司集中度風險,輸出風險評分、風險曝險金額與建議。

可以做什麼
依財富、收入、雇主與稅率等輸入執行完整的集中度風險分析,回傳 0-100 風險評分、集中度百分比、風險曝險金額、分散化缺口、房貸壓力測試、行動建議、歷史回撤背景與預填儀表板連結,並依美國、印度、加拿大、英國、歐盟、澳洲等國家調整貨幣符號與退休帳戶名稱。查詢 40 多家科技公司與產業的雇主預設,回傳年化波動率、歷史峰谷回撤與建議的最高集中度上限。
適用情境
當持有集中雇主股票或未歸屬 RSU 的使用者詢問自己是否過度集中、是否該賣出或分散投資,或希望得到具體數字而非一般性建議時適用。也適合快速查詢某家科技雇主的波動率與回撤資料。
執行需求
可使用用戶端連線的遠端 HTTP 端點,或透過 npx 在本機以 Node.js 執行。未宣告需要帳號、API 金鑰、環境變數或請求標頭。遠端方式會將輸入經網路傳送至 Cloudflare 邊緣節點。
安裝前請注意
使用者需輸入詳細個人財務資訊:現金、券商帳戶、退休帳戶、已歸屬與未歸屬股票、房產價值、房貸、收入與稅率。遠端端點會將這些資料經 Cloudflare 網路傳輸;README 稱不記錄、不儲存,並提供本機 stdio 方式將資料留在裝置上。輸出明確不構成財務建議,稅務模型為簡化處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Myrsu Mcp,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.VidhiJav%2Fmyrsu-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "myrsu": {
      "type": "http",
      "url": "https://myrsu-mcp.vidhidev.workers.dev/mcp"
    }
  }
}

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)

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

Or in your client's config file:

json
{  "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

bash
# Clonegit clone https://github.com/YOUR_USERNAME/myrsu-mcpcd myrsu-mcpnpm install
# Run the stdio MCP locallynpm run dev
# Test with the MCP Inspector (visual UI)npm run inspect
# Build production outputnpm run build
# Deploy the HTTP/Streamable transport to Cloudflarenpx wrangler loginnpx 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.

來源:README.md,提交 3254ec9

工具

2

myrsu_analyze_risk

Analyze single-company concentration risk

Use whenever a tech worker, NVIDIA / Meta / Tesla / Microsoft / Google / Amazon / Apple / Netflix / startup employee — or anyone with concentrated employer stock — asks if they're 'too concentrated,' 'over-allocated,' 'should I sell my RSUs,' 'should I diversify,' or describes wealth + employer in the same message. Calculates the Single-Company Risk Score (0-100), full concentration analysis, top action items, historical drawdown context, and a pre-filled dashboard URL. All fields optional except an employer (ticker OR explicit volatility); the more inputs the better the analysis. International — pass `country` (US/IN/CA/UK/EU/AU/OTHER) to switch retirement-account terminology and currency symbol. Risk math is identical for all countries. Stateless and privacy-respecting — no inputs are logged or stored.

輸入參數cashcountrymortgagecost_basishome_valueother_debtinclude_niiother_assetsother_incomeemployer_typestate_tax_pctstudent_loans另有 10 個

myrsu_get_employer

Look up employer volatility and drawdown history

Look up annual volatility (σ), historical peak-to-trough drawdowns, and the recommended max concentration cap for 40+ tech employer presets (NVDA, TSLA, MSFT, GOOGL, META, AAPL, AMZN, plus SaaS / cloud / semis / consumer / fintech / mobility). Use this when a user mentions their employer but you don't yet have their wealth numbers — gives quick context. Accepts ticker or name (case-insensitive). If outside the preset list, ask the user for a volatility estimate and use myrsu_analyze_risk directly.

輸入參數ticker_or_name必填

版本歷史

1
  1. v0.4.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分