Skip to main content
Glama
prime-rate-sofr-fed-funds-rate-today-mcp

prime-rate-sofr-fed-funds-rate-today-mcp

prime-rate-sofr-fed-funds-rate-today-mcp

Today's prime rate, SOFR and fed funds rate from the New York Fed, plus Fed rate changes and an SBA loan rate calculator, as an MCP server. Free and hosted: no API key, no sign-up.

Hosted MCP URL (Streamable HTTP):

https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp

Quick start

Claude

Claude Desktop or claude.ai: Settings > Connectors > Add custom connector, then paste the URL above.

Claude Code:

claude mcp add --transport http prime-sofr-rates https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp

Claude Desktop config file (claude_desktop_config.json), through the mcp-remote bridge:

{
  "mcpServers": {
    "prime-sofr-rates": { "command": "npx", "args": ["-y", "mcp-remote", "https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp"] }
  }
}

Cursor

Add to ~/.cursor/mcp.json.

{
  "mcpServers": {
    "prime-sofr-rates": { "url": "https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp" }
  }
}

Related MCP server: publicfinance

About

The prime rate, SOFR and the fed funds rate today for AI assistants. Ask what the prime rate is, what SOFR printed yesterday, when the Fed last cut rates, or what an SBA loan at prime + 2.75 costs this month.

This is a Model Context Protocol (MCP) server. It reads the Federal Reserve Bank of New York reference rates (Markets Data API) at call time. It needs no API key.

Tools

Tool

What it returns

fed_funds_rate_today

The FOMC federal funds target range, the effective fed funds rate for the latest business day, the prime rate it implies, and the last Fed rate change with every change in the last 3 years.

sofr_rate_today

The latest SOFR with its change, percentiles and volume, the 30, 90 and 180 day SOFR averages and SOFR Index, plus TGCR, BGCR, OBFR and EFFR.

interest_rate_history

One rate between two dates, up to 5 years per call: start, end, change, high, low, average and a table. SOFR, SOFR averages, EFFR, OBFR, TGCR, BGCR, the fed funds target and prime.

fed_rate_changes

Every Fed rate cut and hike since a date (back to 2000) with the new target range and the prime rate after each.

loan_rate_calculator

The all-in rate for prime or SOFR plus a margin, with an optional floor or cap and the monthly payment for an amount and term.

Every result has structured JSON, a plain-text summary, as_of, source and more (a page on mcpstamp.com). Every tool is marked read-only.

What it knows that your model does not

  • Today's numbers. The New York Fed publishes SOFR and EFFR at about 8 am ET for the previous business day.

  • The latest FOMC decision, read from the target range carried on every EFFR row, so a cut or hike shows up the day it takes effect.

  • The prime rate by the rule banks follow: the top of the fed funds target range plus 3 percentage points.

Other clients and local install

Hosted (custom connector, ChatGPT developer mode, any remote MCP client)

Paste this URL. No token, no sign-up.

https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp

VS Code

Add to .vscode/mcp.json.

{
  "servers": {
    "prime-sofr-rates": { "type": "http", "url": "https://prime-rate-sofr-fed-funds-rate-today-mcp.lipmichal.workers.dev/mcp" }
  }
}

Local stdio

The npm package is not published. Build it from this repository with Node 20 or newer, then point your MCP client at node /path/to/prime-rate-sofr-fed-funds-rate-today-mcp/dist/stdio.js.

git clone https://github.com/theluckystrike/prime-rate-sofr-fed-funds-rate-today-mcp && cd prime-rate-sofr-fed-funds-rate-today-mcp
npm install && npm run build
node dist/stdio.js

Example prompts

  • "What is the prime rate today?"

  • "What is SOFR today, and what is the 30-day average SOFR?"

  • "When did the Fed last cut interest rates, and by how much?"

  • "What is the rate on an SBA 7(a) loan at prime + 2.75, and the monthly payment on $250,000 over 10 years?"

  • "How has SOFR moved since October 1?"

Data sources

Full list in DATA_SOURCES.md.

Limitations

  • The prime rate is derived (target top + 3), not read from a bank. Individual banks may set their own prime.

  • Term SOFR (CME) is a licensed rate and is not included; the SOFR averages are the New York Fed's compounded in-arrears averages.

  • Rates are for the previous business day; there are no intraday quotes.

  • Loan payments assume a fixed rate for the whole term. A variable-rate loan resets when the index moves.

More

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

Part of the Zovo MCP collection at 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

CI (.github/workflows/bundle.yml) runs the tests, the type check and wrangler deploy --dry-run --outdir out, and uploads the Worker bundle as an artifact.

License

MIT

Available Tools

5 tools
fed_funds_rate_todayFed funds rate and prime rate todayA
Read-onlyIdempotent
Inspect

The current federal funds target range set by the FOMC, the effective federal funds rate (EFFR) for the latest business day with its change and volume, the prime rate (top of the range plus 3 points), and the last Fed rate change with every change in the last 3 years.

Inputs: no named parameters.

fed_rate_changesFed rate cuts and hikesA
Read-onlyIdempotent
Inspect

Every change to the federal funds target since a date (default the last 5 years, back to 2000): the date it took effect, cut or hike, basis points, the new target range and the prime rate after it. Answers "when did the Fed last cut rates".

Inputs: since.

interest_rate_historyInterest rate historyA
Read-onlyIdempotent
Inspect

History of one reference rate between two dates (up to 5 years per call): start, end, change in basis points, high, low and average, with a daily or sampled table. Rates: sofr, effr, obfr, tgcr, bgcr, sofr_30day_average, sofr_90day_average, sofr_180day_average, sofr_index, fed_funds_upper, prime. EFFR and prime back to 2000, SOFR back to 2018-04-02.

Inputs: rate (required), end, start.

loan_rate_calculatorPrime or SOFR plus margin loan rateB
Read-onlyIdempotent
Inspect

The all-in variable rate today for a loan priced at an index plus a margin, such as an SBA 7(a) loan at prime + 2.75, a business line of credit at prime + 1 or a commercial loan at 30-day average SOFR + 2.5, with an optional floor or cap and the monthly payment for an amount and term.

Inputs: index (required), margin_percent (required), years, amount, +2 more.

sofr_rate_todaySOFR rate todayA
Read-onlyIdempotent
Inspect

The latest Secured Overnight Financing Rate (SOFR) with the change from the previous business day, percentiles and volume, the 30, 90 and 180 day SOFR averages and SOFR Index (used to price SOFR loans), and the other New York Fed reference rates: TGCR, BGCR, OBFR and EFFR.

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/5.0

    Scored across 5 tools

    Disambiguation4/5

    The five tools are largely distinct: two are current-rate snapshots, one is historical rate lookup, one is Fed change events, and one is a loan calculator. However, EFFR appears in both fed_funds_rate_today and sofr_rate_today, and Fed rate changes appear in both fed_funds_rate_today and fed_rate_changes, creating minor selection ambiguity.

    Naming Consistency5/5

    All tool names use consistent snake_case and follow a predictable topic_suffix pattern (rate_today, rate_history, rate_changes, rate_calculator). The naming is readable and clearly scoped to the rates domain.

    Tool Count5/5

    Five tools is well-scoped for a focused reference-rate server. Each tool covers a distinct need: current Fed funds/prime, current SOFR, historical rate series, Fed change history, and loan pricing.

    Completeness5/5

    The surface covers current rates, historical series, change events, and practical loan-rate calculation. For a server focused on prime, SOFR, and Fed funds rates, there are no obvious missing operations or dead ends.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • 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
      D
      maintenance
      Enables AI agents to access SEC EDGAR filings, US Treasury rates, BLS labor statistics, and economic indicators without API keys.
      6
      MIT
    • A
      license
      Not graded
      quality
      A
      maintenance
      Provides AI agents with universal access to all 800,000+ Federal Reserve economic time series, letting them browse categories, releases, and sources, search series by keywords, tags, or filters, and retrieve any series with date ranges, units transformations, frequency aggregation, and pagination.
      288 npm
      AGPL 3.0