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 分