VOOZH about

URL: https://apify.com/nexgendata/fred-treasury-macro-data-mcp

⇱ FRED Treasury Auctions Macro Data MCP for AI Agents Β· Apify


πŸ‘ 🏦 FRED + Treasury Auctions Macro Data MCP for AI Agents avatar

🏦 FRED + Treasury Auctions Macro Data MCP for AI Agents

Pricing

from $50.00 / 1,000 tool calls

Go to Apify Store

🏦 FRED + Treasury Auctions Macro Data MCP for AI Agents

MCP server for AI agents to fetch FRED macro data (CPI, GDP, unemployment, fed funds) + US Treasury yield curve and auction calendar in one tool-call. Premium fixed-income data for LLM trading assistants.

Pricing

from $50.00 / 1,000 tool calls

Rating

0.0

(0)

Developer

πŸ‘ NexGenData

NexGenData

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

8 hours ago

Last modified

Categories

Share

One MCP that answers macro questions end-to-end β€” FRED economic series + US Treasury yield curve + Treasury auction calendar in a single tool-call. Stop wiring three separate API integrations into your LLM trading agent β€” point Claude / Cursor / Windsurf at this MCP server and your agent can answer "what's the 10Y, what's CPI YoY, what's this week's auction calendar, what did the last 30Y bond auction stop out at?" in one prompt.

Why this MCP server exists

Macro AI agents β€” LLM-powered trader assistants, fixed-income copilots, hedge-fund research bots β€” are exploding as a buyer category. But every macro-aware agent needs the same three data feeds: FRED for the macro indicators, the Treasury par yield curve for the rates picture, and the Treasury auction calendar for the supply picture. Today those are three different APIs with three different auth schemes, three different rate limits, and three different data shapes.

This MCP server collapses them into five tools:

ToolWhat it returns
get_fred_series(series_id, start_date, end_date)Any FRED series β€” CPIAUCSL, GDP, UNRATE, FEDFUNDS, DGS10, T10Y2Y, M2SL, PAYEMS, ... β€” with series metadata + observations
get_treasury_yield_curve(date)Full 1mo / 2mo / 3mo / 4mo / 6mo / 1y / 2y / 3y / 5y / 7y / 10y / 20y / 30y par yield curve for a date, plus the 10y-2y spread
get_upcoming_treasury_auctions(security_type, days_ahead)Bill / Note / Bond / TIPS / FRN / CMB auction calendar β€” auction date, issue date, maturity, offering amount, CUSIP
get_auction_results(auction_id_or_recent, security_type, days_back, limit)Historical auction results β€” stop-out high yield, bid-to-cover ratio, total tendered/accepted, primary-dealer/direct/indirect allotments
get_macro_dashboard()One-call snapshot β€” latest 10Y yield, full curve, CPI YoY, headline unemployment, effective fed funds rate, last 5 auction results

Buyer personas

  • Fixed-income portfolio managers running an LLM copilot for daily desk briefings
  • Macro hedge fund analysts who want the same data point + auction surprise scoring in 10 seconds, not 30 minutes
  • AI trading agents β€” ChatGPT/Claude agents that need real-time macro context to answer customer questions
  • LLM-powered trader assistants wired into broker dashboards, where the macro picture is one of N tools
  • Quant data ops prototyping a Bloomberg-replacement stack on top of public data

Quick start β€” wire it into Claude Desktop / Cursor / Windsurf

This is a Standby MCP server. Once published it lives at https://nexgendata--fred-treasury-macro-data-mcp.apify.actor/mcp and responds to the standard streamable-HTTP MCP transport. Add this to your client config:

{
"mcpServers":{
"fred-treasury-macro":{
"url":"https://nexgendata--fred-treasury-macro-data-mcp.apify.actor/mcp",
"transport":"http",
"headers":{
"Authorization":"Bearer YOUR_APIFY_TOKEN"
}
}
}
}

(Cursor / Windsurf use the same shape; n8n's MCP node accepts a URL + bearer too.)

To use the FRED tools you need a free FRED API key β€” grab one in 30 seconds at https://fredaccount.stlouisfed.org/apikeys and paste it into the actor input fred_api_key. The Treasury tools (get_treasury_yield_curve, get_upcoming_treasury_auctions, get_auction_results) work without any key.

Example agent prompts

Once wired in, your agent can answer questions like:

  • "What's the current Treasury yield curve and the 10y-2y spread?" β†’ get_treasury_yield_curve
  • "Give me CPI year-over-year as of the latest print" β†’ get_fred_series(series_id="CPIAUCSL", start_date="2025-01-01")
  • "What Treasury auctions are coming up in the next 14 days?" β†’ get_upcoming_treasury_auctions(days_ahead=14)
  • "How did the last 10Y note auction stop out β€” was there a tail?" β†’ get_auction_results(security_type="Note", days_back=21)
  • "What's the macro picture right now?" β†’ get_macro_dashboard() (one call, full snapshot)

What get_macro_dashboard() returns (sample)

{
"as_of":"2026-05-30",
"yield_curve":{
"record_date":"2026-05-30",
"curve_pct":{"1M":4.92,"3M":4.85,"2Y":4.32,"5Y":4.18,"10Y":4.41,"30Y":4.68},
"spread_10y2y_pct":0.09
},
"cpi":{"series_id":"CPIAUCSL","latest":{"date":"2026-04-01","value":318.4},"yoy_pct":2.7},
"unemployment":{"series_id":"UNRATE","latest":{"date":"2026-04-01","value":4.1}},
"fed_funds_rate":{"series_id":"FEDFUNDS","latest":{"date":"2026-04-01","value":4.33}},
"ten_year_yield":{"series_id":"DGS10","latest":{"date":"2026-05-29","value":4.41}},
"recent_auctions":[
{"cusip":"912797PN0","security_type":"Bill","security_term":"4-Week","auction_date":"2026-05-28","high_yield_pct":"4.825","bid_to_cover_ratio":"2.94"}
]
}

That's one tool-call. The same agent prompt against three separate APIs is six round-trips and a custom join.

Data sources

  • FRED β€” Federal Reserve Economic Data, St. Louis Fed (https://api.stlouisfed.org/fred/). 800K+ economic series. Free with API key. License: CC0 / public domain.
  • US Treasury Fiscal Data β€” https://fiscaldata.treasury.gov/. Daily par yield curves, upcoming auctions, securities auction results. No key required. License: public domain.

How it works under the hood

  • Apify Standby HTTP transport β€” the actor stays warm and answers MCP requests in milliseconds once spun up
  • Five tools, all async, all charge tool-call on successful invocation
  • get_macro_dashboard() fans out 6 parallel upstream calls (1 yield curve + 1 auctions + 4 FRED series) using asyncio.gather, so the dashboard latency is dominated by the slowest single upstream
  • Graceful error envelopes β€” when FRED rate-limits or Treasury is briefly down, the tool returns a structured error rather than crashing the MCP session
  • 240-second no-client watchdog exits cleanly if no MCP client ever connects (so you don't pay for an idle container)

πŸ”— Related Actors

Pair this with these other NexGenData MCP servers and data feeds:

About NexGenData

NexGenData publishes 250+ buyer-intent actors covering SEC filings, regulatory enforcement, real-estate, lead generation, competitive intelligence, fundamentals across 30+ exchanges, and a growing fleet of MCP servers purpose-built for AI agents. All actors are pay-per-event. Browse the full catalog at https://apify.com/nexgendata?fpr=2ayu9b.

🏠 Home: thenextgennexus.com πŸ“¦ Full catalog: apify.com/nexgendata

You might also like

πŸ’΅ US Treasury Yields & Bond Data β€” Curve, 2s10s, Spreads

nexgendata/treasury-yields-bonds

Track US Treasury yield curve from 1M to 30Y β€” daily yields, spreads, 2s10s curve inversion, historical changes. FRED + Treasury.gov public data for fixed income desks, asset allocators, macro hedge funds, treasury teams. Bloomberg yield curve alternative, no terminal needed. Pay-per-result.

FRED Economic Data Scraper - GDP, Inflation, Rates

gio21/fred-stlouisfed-scraper

Fetch US Federal Reserve economic time series (GDP, inflation, unemployment, rates) via the FRED API.

FRED Federal Reserve Economic Data β€” 800K+ Time Series

compute-edge/fred-economic-scraper

Extract economic time series from St. Louis Fed FRED API. 800K+ series including GDP, unemployment, CPI, treasury yields, mortgage rates, exchange rates. For macroeconomic dashboards, fintech apps, trading signals, and economic research. Free 32-char API key required.

US Treasury Auctions Scraper

parseforge/treasury-auctions-scraper

Tap into the US Treasury Fiscal Data auctions feed for bills, notes, bonds, TIPS, FRN, and CMB issues. Filter by security type and start date to receive CUSIP, auction date, maturity, issue date, and yield fields. Useful for fixed income desks and portfolio research.

Fred Searches Spider

getdataforme/fred-searches-spider

Fred Searches Spider efficiently extracts economic data from the FRED website using keywords. Ideal for researchers and analysts, it offers high-quality, up-to-date data, proxy support, and outputs in JSON, CSV, and Excel formats....

FRED Economic Data Scraper

parseforge/fred-scraper

Scrape economic data from the Federal Reserve’s FRED API, including series details, observations, categories, and metadata. Access indicators like CPI, GDP, unemployment rates, and thousands more. Ideal for economists, researchers, and analysts needing automated, up-to-date economic intelligence.

Related articles

Best MCP servers for developers
Read more