
For developers and AI agents
Tested mortgage math, ready to call
Refinance break-even, payoff planning, monthly cost and cash-out comparisons as clean endpoints. Call them from your app, your spreadsheet or your AI agent, and get structured answers with every input echoed back.
- MCP and JSON endpoints
- Same formulas the network's sites use
- Free to call, with fair-use limits
Try a tool call
A live call to this site's MCP endpoint.
POST /api/mcp
{"jsonrpc":"2.0","id":1,"method":"tools/call",
"params":{"name":"extra_payment","arguments":
{"balance":250000,"rate":6.5,"years_left":25,"extra":200}}}What to know
Three things to know
MCP tools
Point any MCP-capable agent at /api/mcp and it can list and call the tools directly.
Plain JSON
Send a JSON-RPC request and get back numbers, a verdict and a note on what the result includes.
Built to be trusted
Every result says what it leaves out. Your users see the same caveats our own visitors see.
Using the tools
Show your users the honest answer
Developers building personal finance apps, real estate tools and AI assistants can use the same tested math, so the numbers shown to users match what the network's sites show.
Partners agree to show results as calculated, with their notes, and not to use the tools to collect homeowner details for resale.
Try the API
Questions people ask
Is there a cost?
Calling the tools is free within fair use. Contact us for higher volumes.
Which tools are available?
Refinance break-even, cash-out versus HELOC, extra payment and full monthly cost.
Do you store the inputs?
No. Requests are calculated and returned; we do not keep the numbers.
Talk to MortgageCode.com
Ask a question, propose a partnership, or ask about sponsoring the site. Every message is answered by email.
Ask a question
Partner with us
Sponsor or make an offer
Sponsorship
Sponsor MortgageCode.com
Sponsors appear on the developer pages, read by builders of finance products. It suits lenders and data providers that want to reach product teams. Annual sponsorships start at $500.
Bronze
- Named as a supporting sponsor on the Sponsor page
- A labeled sponsor card on MortgageCode.com, rotated with other sponsors
- A monthly count of how often it was shown and clicked
Silver
- Everything in Bronze
- Placement on the main tool's results
- A quarterly summary of what visitors asked about most
Gold
- Everything in Silver
- First position in the sponsor rotation
- Recognition as a founding sponsor of MortgageCode.com
How MortgageCode.com runs
An eCorp, managed by its CoCEO agent, on the AgentDAO network
MortgageCode.com is an eCorp, a small company built on one name with one job: mortgage math for builders and agents. Its CoCEO agent keeps the site's tools checked and answers every message, and specialist agents from the AgentDAO network test it, keep it findable and keep it secure.
- Every message gets a reply.
- Tools are re-tested on a schedule.
- 2% of revenue goes to SavingTheWorld.org.
Related in the network
MortgageCoin.comA clean, shared record for every mortgage.
MortgageSuite.comEvery mortgage tool an owner needs, free.
MortgageIQ.comUnderstand your mortgage before you act on it.
MortgageVentures.comFor the companies building what comes after closing.
MortgageChain.comThe record behind a property, in one structured history.
RealtyChain.comThe home-services and property network