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. Two query modes:
- Recent mode — pass
limit(default60) for the most recent N observations. - Range mode — pass
start_date + end_datefor an explicit window.
Agent flow
Response
MacroHistorical
required
Indicator metadata + observations array.
number
Credits consumed (always
1).number
Account credits remaining.
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
Range mode. ISO date
YYYY-MM-DD. Must be paired with end_date.string
Range mode. ISO date
YYYY-MM-DD. Must be paired with start_date.number
default:60
Recent mode count. Range
1–500. Ignored when Range mode is used.Related
Macro Indicators Catalog
Discover the ~50-indicator catalog (free).
Macro Snapshot
Just the latest print + delta vs previous (no full series).