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

@retiregolden/mcp

v0.13.0

Published

Model Context Protocol server for the RetireGolden retirement-planning engine: headless, in-memory sessions over stdio (and optional HTTP).

Readme

RetireGolden MCP

Headless Model Context Protocol server for the @retiregolden/engine retirement-planning calculator.

Run it locally over stdio, connect your AI client (Claude Desktop, Cursor, etc.), and call typed tools: build/validate a plan, run projections, Monte Carlo, batch policy evaluation, and optimization — with session state held in memory (no disk required).

npm: @retiregolden/mcp
License: AGPL-3.0-only (server); MIT (skills under skills/)

RetireGolden Pro ships this same package pre-wired in the desktop app for out-of-the-box convenience. Anyone can install and run the public package.

Disclaimer

Educational / decision-support only — not tax, legal, or financial advice. See DISCLAIMER.md.

Quick start

npx @retiregolden/mcp
# or
npm install -g @retiregolden/mcp
retiregolden-mcp

Configure your MCP client to launch retiregolden-mcp (or npx @retiregolden/mcp) over stdio. The same command serves both 2025-era (legacy initialize) and 2026-07-28 (modern server/discover) clients — existing configs do not change.

Run from a checkout

Working on this repository instead of installing the package? Build once, then launch the same stdio server the published bin entry point runs:

pnpm install --frozen-lockfile
pnpm run build
pnpm run mcp

Example Claude Desktop / Cursor snippet

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

Connect your AI client

Per-client, copy-paste setup for Claude Desktop, Claude Code, Cursor, and Codex (MCP config + agent skill / rules) is in docs/clients.md.

Tools (v1)

Read-only with respect to your finances and disk: no trades, no persistence. Session state (e.g. build_plan, clear_session) is held in memory only.

| Tool | Purpose | |---|---| | build_plan | Build an in-memory plan from typed household/policy params or full plan JSON | | validate_plan | Validate the current session plan (or supplied JSON) | | run_projection | Deterministic year-by-year projection | | run_monte_carlo | Stochastic success rate and required-floor success rate; with no arguments, the app's headline run (1,000 paths, the engine's default seed and plan model) | | batch_evaluate | Evaluate many policies against one household (search-friendly) | | run_optimizer | Engine optimizer / conversion schedule search | | solve_max_spending | Sustainable-spending bisection | | compare_scenarios | Diff two projection summaries; headline is the app's Compare-page after-tax estate comparison with its money basis (today's dollars when the plans end in different years) | | explain_modeled_result | Compact evidence / assumptions / limitations payload | | export_plan | Return the session plan as full plan JSON (round-trips via build_plan) | | describe_plan_schema | Return the engine's versioned Plan JSON Schema (full or a path subtree); also served as the plan-schema MCP resource | | update_plan | Incrementally merge account/income/assumption/expense fragments into the session plan (validate-before-commit) | | get_session / clear_session | Inspect or reset in-memory session |

Agent skill

See skills/retiregolden/SKILL.md (MIT). Bench and product runners should pin the skill file digest used for scored runs.

npm publish

Releases are tag-driven: pushing a mcp-v<version> tag triggers the publish workflow (see .github/workflows/publish-mcp.yml).

Related

  • Engine: https://github.com/RetireGolden/RetireGolden/tree/main/packages/engine
  • Benchmark harness: https://github.com/RetireGolden/RetireBench
  • Free planner (no MCP — browser only): https://retiregolden.app/

Trademark

See TRADEMARKS.md. Forks must rename.

Automated code review

Repository review guidance lives in REVIEW.md, with HTTP-specific notes in src/http/REVIEW.md. The policy format follows the OpenRouter PR review action reference.

The workflow loads effective guidance from the target branch (typically main) at review time. Edits on an open PR affect later runs only after merge; changed source files on the PR branch are still reviewed. Review policy cannot exclude file coverage—new or touched source remains in scope.

This repository caller enables both review_policy: base and review_profiles_enabled: true. With profiles enabled, the root REVIEW.md selects the trusted registry's code profile through its review.profile metadata. The registry defines that profile's models and budgets; policy cannot invent models or grant CI authorization. Nested REVIEW.md files add scoped guidance and cannot change the root profile.

Manual review dispatches review the full PR while retaining its finding ledger and rebuttals. Leave reset_review false for normal reruns; profile-enabled reviews reject reset_review: true. When reading review results through the GitHub API, paginate reviews, inline comments, and issue comments, including every continuation part.

After a rebase or force-push makes the last reviewed commit unreachable, the shared harness selects rebase scope automatically: a full current-PR sweep at all severities with earlier reviews and replies as bounded context. Finding IDs and round progression survive. Valid disputes remain settled; current-code evidence can reopen an invalidated dispute. Fixed or retired findings supply historical context for detecting regressions. A clean current-head review and current profile proof are still required; old-lineage evidence cannot unlock CI. The pinned action's rebase contract and usage and collector regression tests document and exercise this upstream behavior.

Review profiles and CI proof

The caller enables trusted profiles from the organization workflow. Code uses required Grok plus optional GLM; deep adds required Astra Flex. This preserves the standing baseline; REVIEW.md cannot name arbitrary models or remove required lanes.

From Actions → OpenRouter code review, dispatch from main with a PR number and review_level: auto, deep, or cancel. Deep requests require repository write/maintain/admin permission, retain existing findings, and stay pending across retries and pushes until their own required review succeeds. Cancel removes a manual pending request; it cannot lower a policy requirement. Leave reset_review false.

OpenRouter profile completion checks the exact PR head, effective current policy, required lanes, and accepted requests. The openrouter-profile status supplements the existing first-pass gate and repository CI. A successful review workflow alone does not establish a clean or complete review.

Profile artifacts retain 30 days (requests 90 days), and the gate accepts PRs younger than 25 days. Open a replacement PR for older work. Missing evidence fails closed. An automatic policy refresh is requested at most once per head/configuration; use a manual rerun if that request fails. Maintainer labels and automatic path escalation are not enabled in this rollout.

Dispatch OpenRouter profile completion from the default branch; selecting a feature branch intentionally skips its trusted proof job. Bot-dispatched reviews explicitly wake this workflow because GitHub suppresses their downstream workflow_run events. The optional source_run_id identifies a completed review run to inspect; the receiver still checks its provenance and current evidence. If notification delivery fails, retry profile completion with that run ID on main instead of paying for another review.