The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the Personal Finance listing page.
Deterministic personal-finance toolkit exposed over the Model Context Protocol — 77 calculators, a meta-advisor, and live market data, with a polished web UI. Grounded in established financial mathematics.
Live demo: https://sarveshtalele-personal-finance-mcp.hf.space
Connector URL: https://sarveshtalele-personal-finance-mcp.hf.space/mcp
▶️ Watch the 2-minute demo — plain-language question → chained tools → a prioritized plan.
Public demo note: the hosted Space is a shared, best-effort instance (rate-limited, may cold-start after idle). For heavy or private use, run it locally or self-host (see docs/HOW_IT_WORKS.md).
Most finance "assistants" guess at numbers. This one doesn't. It ships 77 deterministic
calculators — same inputs, same answer, every time — and lets an LLM route a plain-language
question to the right tools. Describe your situation ("I'm 30, earn ₹1L/month, want to retire
at 60") and the create_financial_plan orchestrator chains the relevant calculators into a
single prioritised plan.
It runs three ways from one codebase:
| Category | Tools | Examples |
|---|---|---|
| Time Value of Money | 10 | future/present value, annuity, perpetuity, EAR, real return |
| Portfolio Analytics | 11 | CAPM, Sharpe, Sortino, Treynor, alpha, allocation, rebalancing |
| Financial Planning | 9 | net worth, ratios, emergency fund, retirement, education, insurance |
| Small Savings (India) | 9 | PPF, SSY, NSC, KVP, SCSS, RD, FD, EPF |
| Mutual Funds | 7 | SIP, SWP, lumpsum-vs-SIP, CAGR, NAV, expense-ratio impact |
| Debt & Loans | 6 | EMI, amortization, prepayment, consolidation, invest-vs-prepay |
| Fixed Income | 6 | bond price, YTM, current yield, duration, convexity, zero-coupon |
| Derivatives | 5 | futures fair value, option payoff, put-call parity, Black-Scholes, beta hedge |
| Equity Valuation | 5 | DDM, two-stage DDM, P/E, DCF, dividend yield |
| Live Market Data | 4 | MF search, live NAV, FX rate, stock/index quote |
| Cash Flow & Budgeting | 3 | household cash flow, debt-to-income, contingency fund |
| Risk Profiling | 1 | suitability score → suggested equity/debt split |
| Advisor | 1 | create_financial_plan — the story → plan orchestrator |
Browse them all (with live descriptions) at /tools.
Claude Desktop — Settings → Connectors → Add custom connector → paste:
Claude Code
Cursor / VS Code — add to mcp.json:
Then point Claude Desktop at it:
For stdio, point Claude Desktop at the local process:
python -m src.web serves everything on one port:
| Path | What |
|---|---|
/ | Next.js site — home, tool catalog, live calculator, market dashboard, setup guide |
/mcp | MCP server over streamable-HTTP — the connector URL |
/api/* | JSON endpoints (tool catalog, calculators, live market data) |
Each tool file keeps deterministic pure functions separate from the thin @mcp.tool
wrappers, so the same functions power the MCP server, the web calculators, and the tests.
frame-ancestors for the Hugging Face embed),
X-Content-Type-Options, Referrer-Policy, Permissions-Policy; CORS limited to
GET/POST without credentials. The header middleware is implemented at the ASGI layer so
it never buffers the streaming /mcp (SSE) responses.See SECURITY.md to report a vulnerability.
Deployed as a Hugging Face Docker Space, auto-synced from GitHub on every push to main
(see .github/workflows/hf-sync.yml). Full instructions —
local, Docker, and Hugging Face — are in docs/deployment.md.
Contributions are welcome — see CONTRIBUTING.md and the
Code of Conduct. Good first issues: add a calculator (a pure function +
a register wrapper + a test), improve descriptions for better tool routing, or extend the
web UI.
Educational tool for illustrating standard financial formulas. Not investment advice. Figures are illustrative; verify before making financial decisions.
MIT — free to use, modify, and distribute.