Skip to content

Latest commit

 

History

107 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FinPlan — Claude Code Plugin

Personal finance projection engine powered by 60+ MCP tools. Monte Carlo projections, tax calculations, retirement planning, Social Security analysis, and interactive dashboards.

Install

From the marketplace:

claude plugin marketplace add bestdan/finplan-plugin
claude plugin install finplan@finplan-plugin

To install for a specific project directory instead of globally:

claude plugin marketplace add bestdan/finplan-plugin
claude plugin install finplan@finplan-plugin --scope project

This writes the plugin config into .claude/plugins/ in the current directory, so it only activates when you run Claude Code from that project. Useful if you don't want FinPlan loaded in every session.

Or from a local clone:

git clone https://github.com/bestdan/finplan-plugin.git
claude plugin install finplan --plugin-dir ./finplan-plugin

Both approaches install the skill, commands, MCP server connection, and a hook that prompts you to allowlist curl for file downloads.

After installing, go to /plugins → Installed → finplan and make sure MCP is enabled, then restart your session.

Authentication

The FinPlan server requires authentication. The first time you invoke a FinPlan tool in a session, Claude Code opens your browser to sign in (Google, GitHub, or email magic link) and captures the token automatically — no manual config. OAuth-issued tokens last 3 days and renew silently via the same flow on expiry.

Use /finplan:login only when you need a long-lived (90-day) API key — e.g. for Claude Agent SDK, scripts, Cowork, or a shared project where the token must be pinned into .mcp.json. If you go that route, add .mcp.json to .gitignore so the token isn't committed.

Recommended: Allowlist curl for the FinPlan file server to avoid repeated approval prompts:

claude settings add allowedTools 'Bash(curl*mcp.finplan.tools*)'

What you get

Skill

Claude automatically discovers and uses FinPlan tools when you ask about financial planning. 14 tool categories covering projections, tax, accounts, goals, Social Security, mortgage, employer match, charts, and more.

Commands

Command Description
/finplan:setup Guided interview to set up your financial plan
/finplan:login Set up API key authentication
/finplan:diagnose Diagnose MCP connection issues
/finplan:read-state Read financial state from local JSON file
/finplan:save-state Save current state to local JSON file
/finplan:read-snapshot Read a saved snapshot from snapshots/
/finplan:save-snapshot Save an immutable snapshot to snapshots/
/finplan:checkin-init Scaffold a snapshots/ check-in workspace
/finplan:checkin Run a recurring check-in (build, save, diff)
/finplan:projection-dashboard Generate interactive HTML projection dashboard
/finplan:what-if Turn a plain-English what-if into a scenario + comparison page
/finplan:compare-scenarios Offline HTML page comparing base vs your scenarios; list/remove scenarios
/finplan:scenario Drill into one scenario: detail page + ad-hoc analyses nested under it
/finplan:profile View and update your financial profile
/finplan:accounts View and manage financial accounts
/finplan:goals View and manage financial goals
/finplan:checkup Review plan for life changes and updates

MCP Server

Auto-connects to the FinPlan MCP server at https://mcp.finplan.tools/mcp — no manual configuration needed.

Hook

On first FinPlan tool use, prompts you to allowlist curl for the file server if you haven't already. This avoids repeated approval dialogs when tools download result files.

Example prompts

  • "What would my 401(k) look like in 30 years if I contribute $500/month?"
  • "Calculate my federal income tax on $150,000 as married filing jointly"
  • "When should I claim Social Security if my salary is $95,000?"
  • "Compare a conservative vs aggressive portfolio over 20 years"
  • "Create a retirement projection with a fan chart showing percentile outcomes"

Staying up to date

Enable auto-update (recommended)

The FinPlan plugin can update itself automatically when new versions are published. Enable auto-update for the marketplace:

/plugin → Marketplaces tab → finplan-plugin → Enable auto-update

When an update is available, Claude Code refreshes the plugin at startup and prompts you to run /reload-plugins.

Manual update

claude plugin update finplan

Restart Claude Code afterward to apply the update.

Version compatibility

On first FinPlan tool call each session, the plugin checks whether a newer version has been published (and, if the MCP server advertises a minimum, whether your version is still compatible). If your plugin is behind, you'll see a one-time hint to update.

Testing locally

After cloning this repo, test the plugin before making changes.

1. Load the plugin from the local directory

claude --plugin-dir .

This starts Claude Code with the plugin loaded from your working copy instead of an installed version.

2. Verify the plugin loaded

In the Claude Code session, run /help and confirm:

  • The FinPlan skill appears in the skills list
  • The namespaced commands appear: /finplan:read-state, /finplan:save-state, /finplan:projection-dashboard

3. Verify MCP server auto-connects

Ask Claude to list available tools or run a simple tool call:

Search for FinPlan tools related to "income tax"

If the MCP server connected via .mcp.json, Claude should find and call search_finplan_tools without any manual server configuration.

4. Test commands

/finplan:read-state

If no state file exists, the command should report that and suggest creating one — this confirms the command loaded and executed correctly.

/finplan:save-state

Should report nothing to save (expected if no state was created).

5. Test skill trigger

Ask a financial planning question without explicitly mentioning FinPlan:

What would a $500/month 401(k) contribution look like after 30 years?

Claude should automatically engage the FinPlan skill and call MCP tools.

6. Test dashboard generation (optional, requires state)

If you have a finplan_state.json file in the working directory:

/finplan:projection-dashboard

This should generate a self-contained HTML file and open it in the browser.

Checklist

  • claude --plugin-dir . starts without errors
  • /help shows finplan skill and /finplan:* commands
  • MCP tools are available (no manual settings.json needed)
  • /finplan:read-state executes (reports no file or reads existing state)
  • /finplan:save-state executes (reports nothing to save or saves state)
  • Skill triggers automatically on financial planning questions
  • /finplan:projection-dashboard generates HTML (if state file exists)

Other platforms

Claude Desktop and Claude.ai users: see SETUP.md for ZIP-upload instructions. Those platforms don't support plugins — use the skill upload flow instead.

License

Proprietary. See repository for details.

About

The public docs and plugin for FinPlan

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages