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 分