Treasury Yields and Rates Today MCP

io.github.theluckystrikePublished by GitHub account theluckystrikev1.0.0Updated Nov 14, 2026

US Treasury yields and rates today: yield curve, 10-year, spreads, T-bill rates, TIPS real yields.

VerifiedStreamable HTTPWeb executableFinanceData & Analytics

Overview

AI-generated overview

Read-only MCP server that gives an assistant current and historical US Treasury yields, T-bill rates and TIPS real yields from the Treasury's daily feed.

What you can do
  • Fetch the par yield curve for today or any date back to 1990, with day and month changes, 10y-2y and 10y-3m spreads and an inversion flag
  • Pull the history of a single yield between two dates, with start, end, change, high, low, average and a daily or sampled table
  • Get daily T-bill rates for 4 to 52 week bills, as bank discount rate and coupon-equivalent yield
  • Read TIPS real yields for 5 to 30 years alongside nominal yields and implied breakeven inflation
  • Return structured JSON plus a plain-text summary with as_of and source fields
When to use it
Useful when questions depend on current or dated Treasury market data a model cannot know, such as today's 10-year yield, whether the curve is inverted, what T-bills pay, or where breakeven inflation sits, and for short historical yield comparisons.
Requirements
A remote streamable HTTP endpoint; no token or sign-up is needed. The README also documents a local stdio build from the repository with Node 20 or newer, since no npm package is published. Network access to the Treasury feed is required.
Before you install
All tools are described as read-only and no credentials are requested. Figures are Treasury par yields on the most recently auctioned securities, not intraday market quotes, and the feed can take 15 to 20 seconds on a cold request. History is capped at 731 days per call, and results link out to a third-party page.

Installation

In SourceWeft

  1. Open Treasury Yields and Rates Today MCP in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.

Use with an agent

Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.

Read https://sourceweft.com/mcp/io.github.theluckystrike%2Ftreasury-yields-rates-today-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.

Read the install guide the agent follows

Other MCP clients

Add this to your client's mcpServers config.

{
  "mcpServers": {
    "treasury-yields-and-rates-today": {
      "type": "http",
      "url": "https://treasury-yields-rates-today-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

README

treasury-yields-rates-today-mcp

Treasury yields and rates today for AI assistants. Ask for the 10-year Treasury yield, whether the yield curve is inverted, what T-bills pay or where breakeven inflation sits, and get the U.S. Treasury's own daily numbers.

This is a Model Context Protocol (MCP) server. It reads the U.S. Department of the Treasury daily interest rate XML feed at call time and needs no API key.

Tools

ToolWhat it returns
treasury_yield_curveThe par yield curve from 1 month to 30 years for today or any date back to 1990, with the change from the previous business day and a month earlier, and the 10y-2y and 10y-3m spreads with an inversion flag.
treasury_yield_historyOne yield (10y, 2y, 3m, 30y and others) between two dates, up to 731 days per call: start, end, change, high, low, average and a table.
treasury_bill_ratesDaily bill rates for 4 to 52 week bills: bank discount rate and coupon-equivalent yield.
treasury_real_yieldsTIPS real yields for 5 to 30 years with the nominal yield and breakeven inflation.

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 yields. Treasury publishes new rates after about 3:30 pm ET every business day.
  • Whether a date was a holiday or weekend: the server answers with the business day before and says so.
  • The spread and inversion arithmetic in basis points.

Install

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

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

https://treasury-yields-rates-today-mcp.lipmichal.workers.dev/mcp

Claude Code

claude mcp add --transport http treasury-yields https://treasury-yields-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.

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

VS Code

Add to .vscode/mcp.json.

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

Local stdio

The npm package is not published. Build it from this repository with Node 20 or newer.

git clone https://github.com/theluckystrike/treasury-yields-rates-today-mcp && cd treasury-yields-rates-today-mcpnpm install && npm run buildclaude mcp add treasury-yields -- node $(pwd)/dist/stdio.js

Example prompts

  • "What is the 10-year Treasury yield today?"
  • "Is the yield curve inverted right now?"
  • "How has the 2-year Treasury yield moved over the last month?"
  • "What do 13-week T-bills pay?"
  • "What is 10-year breakeven inflation?"

Data sources

Full list in DATA_SOURCES.md.

Limitations

  • Treasury par yields on the most recently auctioned securities, not market quotes during the day.
  • The feed can take 15 to 20 seconds to answer a cold request. The hosted server caches the current month for an hour and closed months for a week.
  • History is limited to 731 days per call.

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 installnpm test                              # builds, then runs the fixture tests and an offline stdio testnode 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

Source: README.md at commit 4ad8a99

Tools

4

treasury_yield_curve

Treasury yield curve

Today's (or any date's) US Treasury par yield curve: 1-month to 30-year yields including the 10-year and 2-year, the change from the previous business day and from a month earlier, and the 10y-2y and 10y-3m spreads with an inversion flag. Any date back to 1990.

Parametersdate

treasury_yield_history

Treasury yield history

History of one Treasury yield (e.g. 10y, 2y, 3m, 30y) between two dates: start, end, change, high, low and average, with a daily or sampled table. Up to 731 days per call, back to 1990.

Parametersendstarttenorrequired

treasury_bill_rates

T-bill rates

Daily US Treasury bill rates for 4, 6, 8, 13, 17, 26 and 52 week bills: the bank discount rate and the coupon-equivalent yield (comparable to a savings or CD rate), with the change from the previous business day.

Parametersdate

treasury_real_yields

TIPS real yields and breakeven inflation

US Treasury real yield curve (TIPS) for 5, 7, 10, 20 and 30 years, the nominal yield for the same maturity, and the breakeven inflation rate the market implies (nominal minus real).

Parametersdate

Version history

1
  1. v1.0.0LatestNov 14, 2026

Score

100% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 daysRequired25 pts
  • Auth declaredRequired10 pts
  • Tools listedRequired15 pts
  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts