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
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.
Claude Code
Claude Desktop
Claude Desktop adds remote servers under Settings, Connectors, Add custom connector. Paste the URL above.
Cursor
Add to ~/.cursor/mcp.json.
VS Code
Add to .vscode/mcp.json.
Local stdio
The npm package is not published. Build it from this repository with Node 20 or newer.
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
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