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.

A free key adds 10,000 calls a month, no card: /pricing, which also says whether the calculators are free or priced right now.

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://agent.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