GnistAI GnistAI
Log in

Mortgage Calculator

Mortgage payment calculator — monthly payments, amortization schedules, and affordability estimates.

Overview   |   MCP Docs   |   API Docs   |   OpenAPI   |   Playground   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 Finance

Data source: Standard amortization formulas

MCP MCP Protocol

Endpoint https://context.gnist.ai/mcp/mortgage-calculator/
claude_desktop_config.json
{
  "mcpServers": {
    "gnist-mortgage-calculator": {
      "url": "https://context.gnist.ai/mcp/mortgage-calculator/",
      "headers": {
        "Gnist-API-Key": "YOUR_API_KEY"
      }
    }
  }
}
Shell
curl -X POST "https://context.gnist.ai/mcp/mortgage-calculator/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "calculate_monthly_payment", "arguments": {"principal": 1.0, "annual_rate": 1.0, "term_years": 1}}}'

API REST API

API Root https://context.gnist.ai/rest/mortgage-calculator/

4 endpoints available:

Shell
curl "https://context.gnist.ai/rest/mortgage-calculator/calculate_monthly_payment?principal=1.0&annual_rate=1.0&term_years=1" \
  -H "Gnist-API-Key: YOUR_API_KEY"
Python
import httpx

resp = httpx.get(
    "https://context.gnist.ai/rest/mortgage-calculator/calculate_monthly_payment",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    params={
        "principal": 1.0,
        "annual_rate": 1.0,
        "term_years": 1
},
)
print(resp.json())

OpenAPI Spec  ·  Full API Docs

CLI Command Line

Command gc mortgage-calculator

CLI documentation will be available when the GnistAI SDK is published.

Install
pip install gnistai

Available Tools (4)

calculate_monthly_payment
Calculate fixed monthly mortgage payment.
ParameterTypeRequiredDescription
principalnumberrequiredLoan amount.
annual_ratenumberrequiredAnnual interest rate as a percentage (e.g. 5.5 for 5.5%).
term_yearsintegerrequiredLoan term in years.
calculate_amortization
Generate a full amortization schedule for a mortgage.
ParameterTypeRequiredDescription
principalnumberrequiredLoan amount.
annual_ratenumberrequiredAnnual interest rate as a percentage (e.g. 5.5 for 5.5%).
term_yearsintegerrequiredLoan term in years.
calculate_affordability
Estimate how much home a buyer can afford.
ParameterTypeRequiredDescription
annual_incomenumberrequiredGross annual income.
annual_ratenumberrequiredAnnual interest rate as a percentage (e.g. 5.5 for 5.5%).
monthly_debtsnumberoptionalExisting monthly debt obligations. (default: 0.0)
down_paymentnumberoptionalCash available for down payment. (default: 0.0)
term_yearsintegeroptionalLoan term in years. (default: 30)
report_feedback
Report a bug, feature request, or general feedback for this data source.
ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")

Related