Home / MCP Tools / Rent vs Buy Calculator
Live MCP toolpersonal-finance

Rent vs Buy Calculator

Compare the N-year net cost of buying (mortgage, tax, upkeep, minus equity) vs renting, and find the breakeven year.

Free tier eligible — 500 calls/month with a free key from /pricing; x402 pay-per-call above quota.

Parameters

ParameterTypeRequiredDescription
home_pricenumberrequiredPurchase price in USD
monthly_rentnumberrequiredMonthly rent for a comparable place in USD
yearsnumberoptionalHow many years you'll stay (default 7)
down_paymentnumberoptionalDown payment in USD
mortgage_ratenumberoptionalMortgage rate as a PERCENT (default 6)
loan_term_yearsnumberoptionalMortgage term in years (default 30)
property_tax_ratenumberoptionalAnnual property tax as a PERCENT of value (default 1.1)
maintenance_ratenumberoptionalAnnual maintenance as a PERCENT of value (default 1)
home_appreciationnumberoptionalAnnual home appreciation as a PERCENT (default 3)
rent_inflationnumberoptionalAnnual rent increase as a PERCENT (default 3)
closing_cost_pctnumberoptionalClosing costs as a PERCENT of price (default 3)
selling_cost_pctnumberoptionalSelling costs as a PERCENT of sale price (default 6)

Call it over MCP (JSON-RPC 2.0)

curl -s https://wingmanprotocol.com/mcp \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "rent_vs_buy", "arguments": {"home_price": 400000, "monthly_rent": 100}}}'

Or plain HTTP

curl -s https://wingmanprotocol.com/tools/rent_vs_buy \
  -H 'Content-Type: application/json' \
  -d '{"home_price": 400000, "monthly_rent": 100}'

Try it live

Edit the JSON and run it — this POSTs to https://wingmanprotocol.com/tools/rent_vs_buy from your browser.

Related tools in Personal Finance

personal-finance
Personal Budget (50/30/20) Calculator
Allocate monthly income across needs/wants/savings (50/30/20) and find your surplus or deficit and savings rate.
personal-finance
College Savings Calculator
Project the future cost of college with education inflation and the monthly contribution needed to fund it.
personal-finance
FIRE Number Calculator
Financial-independence target from annual expenses and a safe withdrawal rate, plus lean/fat variants and years to…
personal-finance
Investment Fee Impact Calculator
How much an expense ratio costs over time — ending balance with vs without fees, and total fee drag.
personal-finance
Life Insurance Needs Calculator (DIME)
Coverage need by the DIME method: debt + income replacement + mortgage + education, minus what you already have.
personal-finance
Net Worth Calculator
Total assets minus liabilities, plus liquid net worth and debt-to-asset ratio.