Fi-Plan

io.github.ompurwar由 GitHub 帳號 ompurwar 發布v1.0.0更新於 Oct 24, 2026

Financial simulator for Indian salaries: loans, taxes, SIPs and 50-year FIRE plans.

已驗證Streamable HTTP可網頁執行金融資料與分析

概覽

AI 產生的概覽

託管型 MCP 伺服器,用來模擬印度個人財務:貸款攤還、再融資、資產成長與多年 FIRE 規劃。

可以做什麼
  • 逐月計算貸款攤還與可選提前還款
  • 比較再融資方案:新舊月付、節省利息、損益兩平點
  • 預測單一資產的價值、投入、成長、收益與 TDS
  • 對計畫套用情境修補進行模擬,回傳快照且不持久化
適用情境
適合讓助理試算印度薪資、月付、SIP 與長期淨資產情境,或在不做試算表的情況下比較提前還款與再融資方案。
執行需求
遠端 Streamable HTTP 端點,匿名計算工具不需安裝或帳號。帳戶類工具(計畫、現金流、貸款、資產、淨資產)需在服務商個人資料頁建立 API 權杖,並以 Authorization Bearer 標頭送出,僅支援自訂標頭的用戶端可用。
安裝前請注意
匿名工具受 IP 速率限制。帳戶類工具涉及個人財務資料(計畫、貸款、資產、淨資產),需要 bearer 權杖,屬機密資訊,勿寫入共用設定。計畫與資產資料會傳送至第三方託管服務;結果為預測,非財務建議。

安裝

在 SourceWeft 中

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

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.ompurwar%2Ffi-plan/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "fi-plan": {
      "type": "http",
      "url": "https://www.fi-plan.in/mcp"
    }
  }
}

README

Fi-Plan MCP Server

Fi-Plan is a month-by-month financial simulator for Indian salaries — income, taxes, EMIs, SIPs, and up to 50 years of net worth.

This repository is the public descriptor for the hosted Fi-Plan MCP server. The server itself is not open source; the endpoint below is publicly reachable and speaks MCP over Streamable HTTP (JSON-RPC 2.0).

Endpoint

https://www.fi-plan.in/mcp

Tools

Anonymous tools (no account required, IP rate limited):

ToolWhat it does
loan_amortizationReal monthly amortization schedule, with optional prepayments
loan_refinanceRefinance analysis: old loan vs new loan, break-even
asset_projectionProjects asset / portfolio growth over a horizon
simulate_planRuns a full year-by-year projection from a plan_json payload

Authenticated tools (your plans, cashflows, loans, assets, net worth) are available with an API token or OAuth. Create a token at https://www.fi-plan.in/profile.

Client configuration

The exact format differs per client. Use the one for yours.

Claude Code (CLI — recommended):

bash
claude mcp add --transport http fi-plan https://www.fi-plan.in/mcp

Claude Desktop / Claude apps — add as a custom connector:

Settings → Connectors → Add custom connector → URL https://www.fi-plan.in/mcp

Cursor (.cursor/mcp.json):

json
{  "mcpServers": {    "fi-plan": {      "url": "https://www.fi-plan.in/mcp"    }  }}

VS Code (.vscode/mcp.json) — note the servers key and the required type:

json
{  "servers": {    "fi-plan": {      "type": "http",      "url": "https://www.fi-plan.in/mcp"    }  }}

Any client using the .mcp.json / mcpServers shape (e.g. Claude Code project scope) — a url entry must include "type": "http", or the client treats it as a stdio server and skips it:

json
{  "mcpServers": {    "fi-plan": {      "type": "http",      "url": "https://www.fi-plan.in/mcp"    }  }}

Authenticated (optional)

For account tools, pass a token in a header. Works only in clients that support custom headers (Cursor, VS Code, Claude Code); the Claude Desktop/apps connector UI does not take custom headers.

Claude Code:

bash
claude mcp add --transport http fi-plan https://www.fi-plan.in/mcp \  --header "Authorization: Bearer fp_your_token_here"

Cursor / VS Code / .mcp.json:

json
{  "mcpServers": {    "fi-plan": {      "type": "http",      "url": "https://www.fi-plan.in/mcp",      "headers": { "Authorization": "Bearer fp_your_token_here" }    }  }}

Discovery

License

The contents of this repository (documentation) are MIT licensed. The Fi-Plan application and MCP server are proprietary — see https://www.fi-plan.in for terms.

來源:README.md,提交 774dd90

工具

4

simulate_plan

Run a what-if scenario on a plan

Applies an ordered list of scenario patches to a DEEP COPY of the plan (never persisted) and returns the resulting snapshot plus applied_patches. Pass plan_id to load the plan server-side (preferred — never paste plan_json); plan_json is accepted for portability. Pass summary=true for the compact view; add milestones=true for long durations to get yearly points + totals instead of every month. Patches support add_income, add_expense, add_cashflow_change, add_loan, update_loan (loan_id plus any of title, principal_amount, interest_rate, start_month, end_month, deposit_to_bank, type, ref_id, prepayments), add_fdp (fdp: { start_month, end_month, s, e, i } with s + e + i = 100 — or the legacy { amount, interest_rate, tenure } fixed-deposit shape) and set_account_balance — nested ({"op":"add_cashflow_change","change":{...}}) and flat ({cashflow_id,value,start_month,...}) forms are both accepted; the op is inferred from the fields.

輸入參數patchesplan_idsummarydurationplan_jsonmilestones

loan_amortization

Compute a loan amortization schedule

Pure calculation of EMI and a month-by-month amortization schedule for a loan of amount at annual interest_rate over tenure months. Returns opening/closing balance, interest, principal and running totals per month. Pass optional prepayments to model extra principal payments beyond the EMI (each {start_month, amount, frequency: 'm'|'q'|'y'|null, step_pct?} — null frequency = one-time lump, step_pct = % the amount grows by each recurrence): the EMI stays constant, the loan shortens, and the result becomes { schedule, payoff_month, total_interest_paid, total_prepaid, interest_saved } instead of a plain array. NOTE: here start_month is loan-relative (1 = the loan's first EMI month); on a persisted loan the same fields are plan-absolute months.

輸入參數amount必填tenure必填prepaymentsinterest_rate必填

loan_refinance

Analyze refinancing a loan at a new rate

Pure what-if: closes the loan at refinance_month (outstanding balance settled) and restarts it at new_rate over new_tenure months. Returns outstanding balance, old vs new EMI, remaining interest vs new total interest, interest_saved, net_savings (after optional foreclosure_charge) and breakeven_months (null when the new EMI is not lower). Read-only — to persist, update the old loan's end_month and add the new loan.

輸入參數amount必填tenure必填new_rate必填new_tenure必填interest_rate必填refinance_month必填foreclosure_charge

asset_projection

Project a single asset month-by-month

Pure calculator for one asset (no plan needed): monthly value, invested, growth, income and TDS over duration months. Pass asset parameters (principal, growth_rate, yield_rate, income_frequency, income_mode, maturity_month, sale_month, sip) — class presets are NOT applied automatically, so pass explicit rates. TDS on FD interest follows the stored rules for the assessment_year. Returns rows plus closing value and totals.

輸入參數siprenttitlecategorydurationprincipal必填sale_monthyield_rateasset_classcompoundinggrowth_rate必填income_mode另有 4 個

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 100%

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

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分