Degreeroi

io.github.CloudCorpRecords由 GitHub 帳號 CloudCorpRecords 發布v0.1.0更新於 Nov 7, 2026

U.S. college ROI data: 30-year NPV for 500 colleges, lifetime ROI for majors, best-value rankings.

已驗證STDIO僅桌面金融資料與分析

概覽

AI 產生的概覽

唯讀 MCP 伺服器,提供美國大學投資報酬資料:500 所大學的 30 年淨現值、各科系的終身 ROI 與最佳性價比排名。

可以做什麼
  • 列出並檢視科系的中位/平均終身 ROI、回本年齡與 AI 曝險等級
  • 檢索並讀取 500 所正淨現值大學的州內與州外 30 年淨現值、就讀成本與畢業生收入
  • 依州或全國範圍排列四年制大學的最佳性價比
  • 依州外淨現值損失排列公立大學
  • 讀取底層 API 的中繼資料、授權與資料集署名資訊
適用情境
適合比較美國大學或科系的財務報酬、判斷某所學校是否值得學費,或用有出處的資料回答最佳性價比與州內外取捨的問題。
執行需求
透過 npx 或 Docker 以 stdio 在本機執行。不需 API 金鑰或註冊,上游 API 免費且免金鑰。可選環境變數 COLLEGE_ROI_API_URL 可覆寫預設 API 位址。除 get_api_info 外都需要網路連線。
安裝前請注意
唯讀,不會回寫任何資料;回應會在行程內快取 24 小時。僅涵蓋落在正淨現值範圍內的 500 所大學,其他學校會回傳找不到,而非估算值。資料來自第三方 FREOPP、IPEDS 與 BEA,皆為終身或 30 年美元總額,並非個人預測。

安裝

在 SourceWeft 中

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

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

degreeroi

What is a degree actually worth, in dollars, over a working life? degreeroi answers with data instead of brochure copy: lifetime return on investment for college majors, and 30-year net present value for the U.S. colleges where the maths clears a positive bar. It is a thin, read-only client for the LE TEEN College ROI API — static JSON, no key, no signup — exposed both as a small CLI and as a stdio MCP server from a single bin.

The major figures cover 19 categories and 115 CIP subfields: median and mean lifetime ROI, the share of graduates who never break even, the break-even age, and an AI-exposure band, with full distributions on the detail view. The college figures cover the 500 four-year schools that clear a positive-NPV envelope (out of roughly 1,656 U.S. four-years): what a degree is worth over 30 years to a resident and to a non-resident, what attendance costs, what graduates earn, and when the degree pays for itself. Every dollar figure is a lifetime / 30-year total in USD.

One consequence of the envelope is worth stating plainly: a school that is not in the 500 is not in the data. Asking for it returns a not-found, because absence is itself the signal — degreeroi never invents a record for a school the dataset leaves out.

Configuration

  • COLLEGE_ROI_API_URL (optional) — API base URL. Defaults to https://le-teen.com/api.

That is all. There is no API key: the upstream API is free and keyless. Responses are cached in-process for 24 hours, matching the API's own CDN cache, and nothing is ever written back.

Tools

  • list_majors — compact ROI rows for the major categories and subfields. Optional filters: kind (category or subfield), parent (the category a subfield belongs to), sort (median_roi, mean_roi, break_even_age or name) and limit. Only the filters you set are sent.
  • get_major — the full record for one major: the ROI distribution (p25, median, mean, p75), completion-adjusted and dropout ROI, graduate and program counts, and the AI-exposure detail.
  • search_colleges — search the 500 envelope colleges by name, state or control, with a limit. Rows carry resident and non-resident 30-year NPV, cost of attendance, median earnings and break-even age.
  • get_college — the full record for one college, including its IPEDS unitid and FREOPP coverage. A college outside the envelope answers college not found: <college>.
  • best_value_colleges — best-value four-years at resident pricing: the top 15 per state when a state is given (trim with limit), or a nationwide top-pick summary when it is not.
  • out_of_state_penalty — public four-years ranked by how much 30-year NPV a non-resident gives up versus a resident; optionally narrow with state and limit.
  • get_api_info — metadata for the underlying API: endpoints, licence, dataset DOI and attribution. Answered locally from the pinned metadata; it makes no upstream call.

Behaviour worth knowing:

  • List tools pass the API's compact projections through unchanged; detail tools pass the full upstream record through unchanged.
  • A non-2xx upstream reply fails with degreeroi error: HTTP <status> (except the detail tools' 404, which is the honest not-found above), and an unreachable API with degreeroi unreachable.

Endpoint provenance

The original project's README pins the seven tools, their semantics, the API base (https://le-teen.com/api, static JSON), the filter notions on list_majors (kind/parent, sort, limit) and on search_colleges (name/state/control), and the dataset facts (19 categories, 115 subfields, 500 envelope colleges, DOI 10.5281/zenodo.21351602, CC BY 4.0, LE TEEN at le-teen.com). It does not enumerate endpoint paths or parameter tables, so those are labelled reconstructions in this rebuild — one GET per networked tool under the API base:

  • GET <base>/majors with only the set filters as query parameters (used by list_majors).
  • GET <base>/majors/{major} (used by get_major).
  • GET <base>/colleges with only the set filters as query parameters (used by search_colleges).
  • GET <base>/colleges/{college} (used by get_college).
  • GET <base>/best-value-colleges with state / limit when set (used by best_value_colleges).
  • GET <base>/out-of-state-penalty with state / limit when set (used by out_of_state_penalty).
  • get_api_info is served from the pinned metadata, with the endpoints as implemented above.

The major and college path segments are URL-encoded.

Data sources behind the API: FREOPP program-level estimates, IPEDS institutional data and BEA price deflators. Data licence CC BY 4.0 — cite LE TEEN, le-teen.com.

CLI

Each tool is a subcommand taking one JSON argument string:

bash
npx @reneturcios/degreeroi list_majors '{"kind":"subfield","sort":"median_roi","limit":10}'npx @reneturcios/degreeroi get_major '{"major":"computer-science"}'npx @reneturcios/degreeroi search_colleges '{"state":"CA","control":"public"}'npx @reneturcios/degreeroi get_college '{"college":"example-state-university"}'npx @reneturcios/degreeroi best_value_colleges '{"state":"CA"}'npx @reneturcios/degreeroi out_of_state_penalty '{"limit":20}'npx @reneturcios/degreeroi get_api_info '{}'npx @reneturcios/degreeroi --version

Output is the tool's result text (the upstream body on success). Exit codes: 0 on success, 1 on a runtime error, 2 on a usage error.

MCP server

bash
npx -y @reneturcios/degreeroi mcp

MCP client config:

json
{  "mcpServers": {    "degreeroi": {      "command": "npx",      "args": ["-y", "@reneturcios/degreeroi", "mcp"]    }  }}

Docker

bash
docker run -i ghcr.io/cloudcorprecords/degreeroidocker run --rm ghcr.io/cloudcorprecords/degreeroi get_api_info '{}'

Development

bash
npm installnpm run build   # tsc -> dist/npm test        # tsx --test test/*.test.ts (fake fetch only, no network)npm run dev     # run the CLI from source

License

MIT — Copyright (c) 2026 Rene Turcios

The data served by the upstream API is CC BY 4.0 (LE TEEN, le-teen.com; dataset DOI 10.5281/zenodo.21351602).

來源:README.md,提交 9f6485c

工具

7

list_majors

List majors with compact lifetime ROI rows: median and mean ROI, share that never break even, break-even age and AI-exposure band. Filter by kind or parent, sort and limit.

輸入參數kindsortlimitparent

get_major

Full record for one major: ROI distribution, completion-adjusted and dropout ROI, graduates and programs, and AI-exposure detail.

輸入參數major必填

search_colleges

Search the 500 positive-NPV colleges by name, state or control, with resident and non-resident 30-year NPV, cost of attendance, median earnings and break-even age.

輸入參數namelimitstatecontrol

get_college

Full record for one college, including IPEDS unitid and FREOPP coverage. A college absent from the positive-NPV envelope returns not found.

輸入參數college必填

best_value_colleges

Best-value four-year colleges at resident pricing: top picks per state, or a nationwide top-pick summary when no state is given.

輸入參數limitstate

out_of_state_penalty

Public four-year colleges ranked by the 30-year NPV a non-resident gives up compared with a resident.

輸入參數limitstate

get_api_info

Metadata for the underlying LE TEEN College ROI API: endpoints, licence, dataset DOI and attribution.

無需輸入參數。

版本歷史

1
  1. v0.1.0最新Nov 4, 2026

評分

已滿足適用檢查項的 90%

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

  • 近 30 天內可連通25 分
  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分