Available as MCP tools:
macro_indicator_search + macro_indicator_history — call directly from Claude / Cursor / any MCP client. See MCP Server for the 60-second setup.What it does for your agent
macro_indicator_history returns the latest-vintage historical time series for one supported U.S. macro indicator (CPI, UNRATE, Fed Funds, 10Y yield, GDP, etc.) — a list of { date, value, realtime_start, realtime_end } observations. Use it as a macro time-series fetcher mid-task: when an agent needs to chart inflation over the last 5 years, compute a yield-curve slope, or feed observations into a downstream model.
The canonical agent flow is two-step: call macro_indicator_search first (free) to locate the right indicator alias, then macro_indicator_history to pull the series. Time boundaries are optional: use start_date and/or end_date to filter the candidate window, then limit and take_from choose which edge to keep. Results always return oldest first.
Agent flow
Response
MacroHistorical
required
Indicator metadata + observations array.
number
Credits consumed (always
1).number
Account credits remaining.
string
Present only when the candidate window held more bars than were returned — i.e.
limit truncated the result. The message tells the agent to narrow the window or split the query: More data exists in the requested window than the items returned; narrow the window or split the query to see more.200 OK · macro_indicator_history
Each series carries its own
attribution string (FRED source notice) under data — surface it when you display the data. This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis.Notes
Direct invocation
HTTP / SDK examples
HTTP / SDK examples
Full parameter reference
macro_indicator_search — request parameters
macro_indicator_search — request parameters
string
Free-text keyword. Matches indicator alias, indicator title, and
series_id.string
Filter by theme (
Inflation, Rates, Labor, Growth, Housing, Liquidity, Conditions, FX, Credit, Sentiment, Energy, Inflation Expectations, Consumption).string
Filter by cadence (
Daily, Weekly, Monthly, Quarterly, Annual).number
default:20
Max items returned. Range
1–100.macro_indicator_history — request parameters
macro_indicator_history — request parameters
string
Platform alias (e.g.
us.cpi.headline, us.rates.fed_funds). Use this OR series_id.string
Raw series ID (e.g.
CPIAUCSL). Use this OR indicator. Must be in the supported catalog.string
Optional inclusive lower boundary, ISO date
YYYY-MM-DD.string
Optional inclusive upper boundary, ISO date
YYYY-MM-DD.number
default:60
Maximum observations to return after boundary filtering. Range
1–500.string
default:"latest"
Which side of the filtered window to keep when more than
limit observations match. Use latest or earliest; output remains chronological.Related
Macro Indicators Catalog
Discover the ~50-indicator catalog (free).
Macro Snapshot
Just the latest print + delta vs previous (no full series).