54 robust financial calculators based on deterministic mathematical principles.
54 robust financial calculators based on deterministic mathematical principles.
Valid MCP server (2 strong, 3 medium validity signals). No known CVEs in dependencies. Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
4 files analyzed ยท 1 issue found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-sarveshtalele-personal-finance": {
"args": [
"personal-finance-mcp"
],
"command": "uvx"
}
}
}From the project's GitHub README.
mcp-name: io.github.sarveshtalele/personal-finance
Deterministic personal finance calculator powered by Model Context Protocol โ based on the Core Financial Principles.
Connect this server to Claude Desktop, Claude Code, or any MCP client to get 54 financial calculation tools with:
Because this tool is globally published to PyPI, you don't even need to download the code to use it. Add this to your claude_desktop_config.json:
{
"mcpServers": {
"personal-finance": {
"command": "uvx",
"args": [
"personal-finance-mcp"
]
}
}
}
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:%APPDATA%/Claude/claude_desktop_config.json
Restart Claude Desktop, and you will see the integration automatically.
If you'd like to use it natively from your terminal without uv, just install it via standard pip:
pip install personal-finance-mcp
# Starts the server!
personal-finance-mcp
| Tool | Description |
|---|---|
calculate_future_value | FV with any compounding frequency |
calculate_present_value | Discount future cash flows to today |
calculate_annuity_fv | Future value of regular payments (SIP) |
calculate_annuity_pv | Present value of regular payments |
calculate_perpetuity | Value of infinite periodic payments |
calculate_rule_of_72 | Quick doubling time estimate |
calculate_effective_rate | Nominal โ Effective Annual Rate |
calculate_real_return | Inflation-adjusted return (Fisher) |
calculate_inflation_impact | Future cost after inflation |
calculate_savings_needed | Monthly savings for a target corpus |
| Tool | Description |
|---|---|
calculate_emi | EMI for any loan |
loan_amortization | Month-wise principal/interest split |
compare_loans | Side-by-side loan comparison |
calculate_prepayment_savings | Interest saved by prepaying |
invest_or_prepay_loan | Should you invest or prepay? |
analyze_debt_consolidation | Should you consolidate debts? |
| Tool | Description |
|---|---|
calculate_net_worth | Assets - Liabilities statement |
analyze_financial_ratios | Savings, DTI, liquidity, solvency |
calculate_emergency_fund | Recommended buffer size |
analyze_budget | 50/30/20 rule analysis |
plan_financial_goal | Goal setting with inflation adjustment |
plan_retirement | Retirement corpus & SIP calculator |
plan_education | Child education fund planner |
calculate_insurance_need | Human Life Value method |
financial_health_check | 0-100 health score with rating |
| Tool | Description |
|---|---|
calculate_bond_price | DCF bond pricing |
calculate_ytm | Yield to Maturity (Newton-Raphson) |
calculate_current_yield | Annual coupon / market price |
calculate_bond_duration | Macaulay & Modified Duration |
calculate_bond_convexity | Second-order interest rate risk |
calculate_zero_coupon_bond | Zero-coupon bond pricing |
| Tool | Description |
|---|---|
value_stock_ddm | Gordon Growth Model |
value_stock_two_stage_ddm | Two-stage DDM |
value_stock_pe | P/E relative valuation + PEG |
value_stock_dcf | Discounted Cash Flow |
calculate_dividend_yield | Dividend yield % |
| Tool | Description |
|---|---|
calculate_sip_returns | SIP calculator with step-up |
calculate_sip_needed | Monthly SIP for a target corpus |
compare_lumpsum_vs_sip | Lump sum vs SIP comparison |
analyze_expense_ratio_impact | How expense ratio erodes returns |
calculate_swp | Systematic Withdrawal Plan duration |
calculate_cagr | Compound Annual Growth Rate |
calculate_nav | Net Asset Value calculation |
| Tool | Description |
|---|---|
calculate_portfolio_return | Weighted expected return |
calculate_portfolio_risk | Portfolio variance & std deviation |
analyze_two_asset_portfolio | Two-asset analysis + min variance |
calculate_capm_return | CAPM expected return |
calculate_sharpe_ratio | Risk-adjusted return (total risk) |
calculate_treynor_ratio | Risk-adjusted return (systematic) |
calculate_jensens_alpha | Manager skill measurement |
calculate_information_ratio | Consistency vs benchmark |
calculate_sortino_ratio | Downside-risk-adjusted return |
suggest_asset_allocation | Age & risk-based allocation |
rebalance_portfolio | Trades needed for target allocation |
"Calculate EMI for a 50 lakh home loan at 8.5% for 20 years"
Output:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
EMI Calculation
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Emi: โน43,391.16
Total Payment: โน1,04,13,878.40
Total Interest: โน54,13,878.40
Interest To Principal Ratio: 1.0828
Principal: โน50,00,000.00
Annual Rate: 8.5%
Tenure Months: 240
Formula: EMI = 50,00,000.00 ร 0.007083 ร (1+0.007083)^240 / ((1+0.007083)^240 - 1)
Tools Layer โโโโโโโโ Models Layer
โ โ
MCP interface Pydantic validation
+ core math + enums
See docs/Architecture.md for full details.
personal-finance-mcp/
โโโ src/
โ โโโ server.py # MCP server entry point
โ โโโ __main__.py # python -m src entry point
โ โโโ tools/ # Pure math & MCP wrappers
โ โ โโโ tvm.py # Time Value of Money
โ โ โโโ debt.py # EMI, amortization
โ โ โโโ planning.py # Financial ratios, health score
โ โ โโโ bonds.py # Bond pricing, YTM, duration
โ โ โโโ stocks.py # DDM, DCF, P/E valuation
โ โ โโโ mutual_funds.py # SIP, SWP, CAGR, NAV
โ โ โโโ portfolio.py # MPT, CAPM, Sharpe, alpha
โ โโโ models/ # Pydantic validation schemas
โ โ โโโ schemas.py # Type definitions & constraints
โ โ โโโ enums.py # Validation Enums
โ โโโ utils/ # Formatters & helpers
โโโ tests/ # 100+ unit & integration tests
โโโ docs/ # documentation & architecture
โโโ Dockerfile # Container deployment
โโโ run_production.py # SSE server launcher
โโโ pyproject.toml # Package configuration
โโโ LICENSE # MIT License
| Method | Transport | Use Case |
|---|---|---|
| Claude Desktop | stdio | Personal use โ simplest |
| Claude Code | stdio | Development / coding |
| SSE Server | HTTP | Remote clients, team use |
| Docker | HTTP | Production deployment |
See docs/deployment.md for full instructions.
| Document | Description |
|---|---|
| docs/documentation.md | Full tool reference with formulas |
| docs/setup.md | Installation & connection guide |
| docs/testing.md | Test structure & running tests |
| docs/deployment.md | Local, SSE, Docker deployment |
| docs/Architecture.md | System design & data flow |
Because this tool is globally published to PyPI, you don't even need to download the code to use it if you are using modern tools.
If you have uv installed, it can dynamically fetch and run the package:
uvx personal-finance-mcp
To natively install the executable into your python ecosystem:
pip install personal-finance-mcp
claude_desktop_config.json:{
"mcpServers": {
"personal-finance": {
"command": "uvx",
"args": [
"personal-finance-mcp"
]
}
}
}
Note: If you don't use uv, you can replace "uvx" with "python" and "args": ["-m", "personal_finance_mcp"].
Claude Code auto-discovers MCP servers. Add to your project's .claude/settings.json:
{
"mcpServers": {
"personal-finance": {
"command": "uvx",
"args": [
"personal-finance-mcp"
]
}
}
}
For remote MCP clients:
# If installed normally:
python -c "from src.server import mcp; mcp.run(transport='sse')"
Server starts at http://127.0.0.1:8000/sse.
# Run tests
pytest tests/ -v
# Quick smoke test
python -c "from src.server import mcp; print(f'{len(mcp._tool_manager._tools)} tools loaded')"
| Package | Version | Purpose |
|---|---|---|
mcp[cli] | >=1.0.0 | MCP Python SDK |
pydantic | >=2.0.0 | Input validation |
pytest | >=7.0 (dev) | Testing |
If you're running locally from source, ensure you installed with the -e (editable) flag: uv pip install -e ".[dev]"
~/Library/Logs/Claude/mcp*.log on macOS for errors# Verify the package is installed correctly
python -c "from src.calculators.tvm import future_value; print(future_value(100000, 12, 10, 12))"
MIT โ free to use, modify, and distribute.
Be the first to review this server!
by Toleno ยท Developer Tools
Toleno Network MCP Server โ Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace ยท Developer Tools
Create, build, and publish Python MCP servers to PyPI โ conversationally.
by Microsoft ยท Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace ยท Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm โ conversationally
by mcp-marketplace ยท Finance
Free stock data and market news for any MCP-compatible AI assistant.
by Taylorwilsdon ยท Productivity
Control Gmail, Calendar, Docs, Sheets, Drive, and more from your AI