Skip to main content
Glama
mortgage-rates-today-mcp

mortgage-rates-today-mcp

mortgage-rates-today-mcp

Mortgage rates today for AI assistants. Ask for this week's average 30-year or 15-year fixed rate and get the Freddie Mac number, the change from last week and a year ago, and what it means for a monthly payment.

This is a Model Context Protocol (MCP) server. It reads the Freddie Mac Primary Mortgage Market Survey (PMMS) at call time. It needs no API key.

Tools

Tool

What it returns

get_mortgage_rates_today

This week's Freddie Mac average 30-year and 15-year fixed rates, the change from last week and a year ago, the 52-week high, low and average, the week date and the next release date.

get_mortgage_rate_on_date

The weekly average in force on any date since April 1971, with the 5/1 ARM and points where Freddie Mac published them.

get_mortgage_rate_history

Weekly rows or monthly or annual averages for a date range, with the high, low and change.

calculate_mortgage_payment

Monthly principal and interest at today's average (or any rate), compared with the average a year earlier.

Every result has structured JSON, a one-paragraph summary, as_of, source (freddiemac.com/pmms), the data file URL and more (a page on mcpstamp.com). Results carry the Freddie Mac attribution.

Related MCP server: Zillow MCP Server

What it knows that your model does not

  • This week's rate. Freddie Mac publishes a new national average every Thursday at noon Eastern, so any number in a model's training data is out of date.

  • The exact weekly history since 1971, for questions like "what was the rate when I bought in March 2021".

  • Payment math tied to the current average, so the comparison with a year ago uses real numbers.

Install

Hosted (Claude.ai custom connector, ChatGPT developer mode)

Paste this URL. No token, no sign-up. It works now.

https://mortgage-rates-today-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http mortgage-rates https://mortgage-rates-today-mcp.lipmichal.workers.dev/mcp

Claude Desktop

Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.

Cursor

Add to ~/.cursor/mcp.json:

{
  "mcpServers": {
    "mortgage-rates": { "url": "https://mortgage-rates-today-mcp.lipmichal.workers.dev/mcp" }
  }
}

VS Code

Add to .vscode/mcp.json:

{
  "servers": {
    "mortgage-rates": { "type": "http", "url": "https://mortgage-rates-today-mcp.lipmichal.workers.dev/mcp" }
  }
}

Local stdio (after npm release)

The npm package is not published yet. After it is, run it locally with Node 20 or newer:

claude mcp add mortgage-rates -- npx -y mortgage-rates-today-mcp

Example prompts

  • "What are mortgage rates today?"

  • "What is the average 30-year fixed mortgage rate this week, and is it up or down?"

  • "What was the 30-year mortgage rate in January 2021?"

  • "Show me the monthly average 15-year rate since 2024."

  • "What is the monthly payment on a $400,000 loan at today's rate, compared with a year ago?"

Data sources

Full list with fetch dates in DATA_SOURCES.md.

Limitations

  • PMMS is a national weekly average for well-qualified conventional purchase borrowers with 20 percent down. It is not a quote. Your rate depends on credit, down payment, points, loan type, state and lender.

  • No daily rates, no FHA, VA or jumbo series, and no ARM data after November 2022.

  • The hosted server caches the file for up to an hour, so a new Thursday release can take up to an hour to appear.

  • Payments exclude taxes, insurance, PMI and HOA dues.

More

More MCP servers that answer questions your assistant cannot answer alone are on mcpstamp.com.

Part of the Zovo MCP collection: https://mcp.zovo.one

Built by theluckystrike.

Development

npm install
npm test                              # builds, then runs the fixture tests and an offline stdio test
node scripts/stdio-transcript.mjs     # live stdio round trip, writes .live/stdio-transcript.jsonl

License

MIT

More from zovo

Available Tools

4 tools
calculate_mortgage_paymentCalculate mortgage paymentA
Read-onlyIdempotent
Inspect

Monthly principal and interest and total interest for a fixed-rate loan. Without a rate it uses this week's Freddie Mac average for 30-year or 15-year terms, and compares it with the average a year earlier. Taxes, insurance and PMI are not included.

Inputs: loan_amount (required), rate, term_years, compare_rate.

get_mortgage_rate_historyGet mortgage rate historyA
Read-onlyIdempotent
Inspect

Freddie Mac PMMS 30-year or 15-year fixed averages between two dates as weekly rows or monthly or annual averages, with the high, low and change over the range. Default is the last 52 weeks of the 30-year rate.

Inputs: term, end_date, frequency, start_date.

get_mortgage_rate_on_dateGet mortgage rate on a dateA
Read-onlyIdempotent
Inspect

The Freddie Mac PMMS weekly average 30-year and 15-year fixed rates (plus 5/1 ARM and points where published) in force on a date, from 1971-04-02 to today.

Inputs: date (required).

get_mortgage_rates_todayGet mortgage rates todayA
Read-onlyIdempotent
Inspect

Latest Freddie Mac PMMS weekly average 30-year and 15-year fixed mortgage rates, read at call time from freddiemac.com: rate, week-over-week change, rate a year ago, 52-week high, low and average, the week date and the next expected release. National averages for well-qualified conventional purchase borrowers.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 4 tools

    Disambiguation4/5

    The tools target distinct temporal modes and a calculation task: current rates, a specific date, a historical range, and payment math. The only mild overlap is between get_mortgage_rates_today and get_mortgage_rate_on_date when the date is today, but descriptions make the intended use clear.

    Naming Consistency5/5

    All four tools follow a consistent snake_case verb_noun pattern: get_mortgage_rates_today, get_mortgage_rate_on_date, get_mortgage_rate_history, and calculate_mortgage_payment. The 'get_mortgage_rate*' prefix family is predictable and readable.

    Tool Count5/5

    Four tools is well-scoped for a focused Freddie Mac mortgage-rate server. Each tool covers a distinct retrieval or calculation function, with no filler tools.

    Completeness4/5

    The surface covers current rates, point-in-time historical rates, range history, and payment calculation, which are the core needs for this domain. Minor gaps include no dedicated current ARM/points retrieval in the 'today' tool and no lender or regional comparison, but those are outside the stated Freddie Mac PMMS scope.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      D
      quality
      D
      maintenance
      Provides access to RateSpot.io mortgage rate APIs, enabling AI assistants to fetch real-time mortgage rates, compare loan products, calculate payments, and access comprehensive lending information.
      7
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides real-time access to Zillow real estate data, enabling property search, details, Zestimates, market trends, and mortgage calculations via natural language.
      6 npm
      56
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI assistants to answer mortgage-related queries by providing tools for lender search, loan limit lookup, down-payment assistance programs, and more, with data sourced from real wholesale lenders and broker-curated intel.
      8
      10 npm
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Provides mortgage calculation tools, including monthly payment, amortization schedules, lump sum payments, and extra monthly payments for real estate agents and AI assistants.
      7
      MIT