RetireGolden MCP
OfficialA headless MCP server for retirement planning that keeps plans in memory and exposes tools to build, validate, project, optimize, compare, explain, and export retirement scenarios.
Build or replace an in-memory plan from typed household/policy inputs or full plan JSON, and inspect or clear the session.
Validate the current or supplied plan, and fetch the engine’s versioned Plan JSON Schema or a subtree for authoring.
Run deterministic year-by-year projections with summary or full yearly ledger detail.
Run Monte Carlo simulations, batch-evaluate many policies, search conversion schedules with the optimizer, and solve for maximum sustainable spending.
Compare two scenarios via projection summaries, including the headline after-tax estate comparison.
Explain modeled results with assumptions, caveats, and limitations.
Incrementally update a session plan with validated merge operations, or export it as full JSON for round-tripping.
Operates in memory only: no disk persistence, trades, or financial actions; it is educational/decision-support software, not tax, legal, or financial advice.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RetireGolden MCP Build a retirement plan for a 45-year-old with $500k savings."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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.
Related MCP server: @numeratica/mcp
Quick start
npx @retiregolden/mcp
# or
npm install -g @retiregolden/mcp
retiregolden-mcpConfigure 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 mcpExample 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 an in-memory plan from typed household/policy params or full plan JSON |
| Validate the current session plan (or supplied JSON) |
| Deterministic year-by-year projection |
| 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) |
| Evaluate many policies against one household (search-friendly) |
| Engine optimizer / conversion schedule search |
| Sustainable-spending bisection |
| Diff two projection summaries; |
| Compact evidence / assumptions / limitations payload |
| Return the session plan as full plan JSON (round-trips via |
| Return the engine's versioned Plan JSON Schema (full or a |
| Incrementally merge account/income/assumption/expense fragments into the session plan (validate-before-commit) |
| 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 GPT-6.1 Sol (Azure US ZDR route) 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.
Available Tools
8 toolsbatch_evaluateB
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Evaluate many policies against the current household plan (search-friendly). Cap batches sensibly (~40 tool calls total in agent loops).
Inputs: policies (required), objective.
build_planA
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Build or replace the in-memory plan from typed household/policy params or full plan JSON.
Inputs: plan, policy, household, startYear, +6 more.
compare_scenariosC
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Compare two plan JSON documents via projection summaries.
Inputs: planA (required), planB (required), startYear.
describe_plan_schemaA
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Return the engine's versioned Plan JSON Schema (the source of truth for authoring a full plan document) plus its schemaVersion. Pass an optional path (dotted, e.g. 'properties.accounts.items', or JSON pointer, e.g. '/properties/accounts/items') to fetch just a subtree and keep token cost down. Read-only meta tool; also exposed as the MCP resource of the same schema. Feed a document's extracted fields into update_plan, then validate_plan.
Inputs: path.
explain_modeled_resultC
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Return framing, assumptions, caveats, and limitations for the current session.
Inputs: no named parameters.
run_projectionA
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Run a deterministic projection on the session plan. Always starts at the session plan's startYear (rebuild via build_plan to change it). detail='summary' (default) returns startYear/endYear/summary/caveats only; detail='years' also returns the full per-year ledger. Taxes are federal PLUS state and local: the resident state's modeled income tax unless assumptions.stateEffectiveTaxPct overrides it with a flat rate above 0, plus any localIncomeTaxPct. This is the same stack the RetireGolden web app runs, so for a plan exported from that app these numbers match what the user sees on screen, provided you also pass the exported startYear.
Inputs: detail.
solve_max_spendingB
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Bisect maximum sustainable base annual spending for the session plan.
Inputs: no named parameters.
validate_planC
Educational decision-support only — not tax, legal, or financial advice. Do not prescribe securities actions. Validate plan JSON (or the current session plan).
Inputs: plan.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 8 tools
Each tool targets a distinct operation: building, projecting, comparing, validating, explaining, solving for spending, batch evaluating, and schema description. No two tools have overlapping purposes; an agent can clearly distinguish them.
Most tools follow a verb_noun pattern (e.g., build_plan, compare_scenarios), but batch_evaluate is a verb_verb form, making it slightly inconsistent. Overall, naming is clear and predictable.
Eight tools is well-scoped for a retirement planning server. Each tool serves a core function without unnecessary redundancy, covering the essential workflows.
The tool set covers key lifecycle operations: build, project, validate, compare, and solve. However, missing explicit tools to update or retrieve the current plan represent minor gaps that could complicate workflows.
Maintenance
Related MCP Connectors
MCP server for generating rough-draft project plans from natural-language prompts.
MCP server exposing the Backtest360 engine API as tools for AI agents.
Remote MCP server to read and edit GanttFather projects: tasks, dates, dependencies, critical path.
Production MCP server for US equity and options intelligence: real-time IV radar, Monte Carlo simulation, options pressure, strategy backtesting, AI prediction, pre-trade risk analysis, and automated stock research reports.
Related MCP Servers
- AlicenseAqualityDmaintenanceMCP server for ProjectionLab — export, snapshot, and restore your financial plans. Includes a built-in FIRE advisor knowledge base.516 npm16MIT

@numeratica/mcpofficial
AlicenseNot gradedqualityCmaintenanceA thin MCP bridge that connects any MCP client to the Numeratica financial-planning API — retirement Monte Carlo, taxes, RMDs, Social Security, Roth conversions, and more.66 npmMIT- AlicenseAqualityDmaintenanceMCP server exposing UK financial adviser calculations (tax, IHT, pensions, portfolios) to any MCP-capable client.6MIT
- AlicenseNot gradedqualityDmaintenanceA simulation engine for retirement planning, accessible via an MCP server that allows AI agents to create financial plans, manage income, expenses, loans, taxes, and portfolios, and run Monte Carlo simulations.MIT