fred-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@fred-mcp What's the unemployment rate right now?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
fred-mcp
FRED® economic data inside your AI agent — including what the numbers said before the revisions. An MCP server for the Federal Reserve Bank of St. Louis's FRED® API: search and read 800,000+ U.S. and international time series, follow the release calendar, and — the distinctive part — query ALFRED® vintage data: any series exactly as it was known on a past date, and any single data point's full revision history from its initial print to today's value.
Read-only, built on public endpoints, powered by your own free FRED API key. Live API calls with a volatility-aware cache (vintage reads are immutable and cache long; current data stays fresh) — no bulk mirroring.
This product uses the FRED® API but is not endorsed or certified by the Federal Reserve Bank of St. Louis. By using this server you agree to the FRED® API Terms of Use.
Status: v0.1.0 — live on PyPI
(uvx mcpwright-fred) and the official MCP Registry
(io.github.mcpwright/fred-mcp). 9 tools, CI-gated, built on
mcpwright-core.
Why vintage data matters
Economic numbers get revised — sometimes dramatically. The advance estimate
of Q4-2008 real GDP told policymakers the economy was shrinking far more
slowly than the number that stands today. If an agent reasons about what
decision-makers knew at the time using current data, it is quietly wrong.
get_series_as_of and get_revision_history make as-published data a
first-class question.
Related MCP server: fred-mcp
Tools
Tool | What it does |
| Find series IDs by free text, best matches first |
| One series' full metadata + verbatim notes |
| A date window of values; transforms ( |
| The most recent value + the next scheduled release date |
| 2–5 series aligned on one date axis |
| Upcoming data releases ("when's the next jobs report?") |
| A series exactly as known on a past date (ALFRED vintage) |
| One data point's life: initial print → every revision → today |
| When a series was released/revised; bounds the vintage tools |
All tools are read-only and annotated as such.
What can you ask?
Every question below was run live against the real FRED API through these tools (answers as of June 2026 — ask again and they'll be current).
Everyday questions:
"What's the unemployment rate right now, and when's the next jobs report?" —
get_latest(UNRATE)→ 4.3% (May 2026), next release 2026-07-02."What's the 10-year Treasury yield today?" —
get_latest(DGS10)→ 4.53% (it correctly skips the.rows daily series publish on holidays)."How has inflation trended over the past year?" —
get_observations(CPIAUCSL, transform=pct_change_yoy)→ 2.4% → 3.3% → 3.8% → 4.2% over Feb–May 2026."Find me data on median household income." —
search_series→MEHOINUSA672N(real) andMEHOINUSA646N(nominal), annual."Is the labor market loosening? Compare unemployment and job openings since 2024." —
compare_series([UNRATE, JTSJOL])→ one aligned table."What economic data comes out this week?" —
get_release_calendar(7)→ 241 release dates, CPI included."What was real GDP growth each quarter of 2025?" —
get_observations(A191RL1Q225SBEA)→ −0.6, +3.8, +4.4, +0.5%."Give me CPI as annual averages for the 2020s." —
get_observations(CPIAUCSL, frequency=annual)→ one row per year.
Questions only the vintage tools can answer:
"How bad did Q4-2008 GDP look to policymakers in early 2009, versus what we know now?" —
get_series_as_of(GDPC1, "2009-02-15")→ a −3.8% annualized decline as known then (in chained-2000 dollars — the metadata is vintage-pinned too) versus −8.5% in today's data. Policy ran on the first number."Was the May 2020 COVID unemployment rate ever revised?" —
get_revision_history(UNRATE, "2020-05-01")→ first published as 13.3 (2020-06-05), currently 13.2, with each revision dated."What mortgage rate did the Fed see going into the March 2022 liftoff meeting?" —
get_series_as_of(MORTGAGE30US, "2022-03-16")→ 3.85% as known then; 6.48% today."How often does GDP actually get revised?" —
get_vintage_dates(GDPC1)→ 415 vintages since 1991-12-04.
Install
You need a free FRED API key (takes seconds): https://fred.stlouisfed.org/docs/api/api_key_request.html. Keys are personal under the FRED terms — bring your own.
uvx (any MCP client)
{
"mcpServers": {
"fred": {
"command": "uvx",
"args": ["mcpwright-fred"],
"env": { "FRED_API_KEY": "your-key-here" }
}
}
}Claude Code
claude mcp add fred -e FRED_API_KEY=your-key-here -- uvx mcpwright-fredClaude Desktop
Use the one-click .mcpb extension from the
latest release (it prompts
for your API key), or add the uvx JSON above to your
claude_desktop_config.json.
OpenAI Agents SDK / other clients
Any MCP-capable client works — point it at uvx mcpwright-fred over stdio
with FRED_API_KEY in the environment.
Notes
Revisions: current values often differ from what was originally published; for "what was known at the time", use the vintage tools.
Copyrighted series: some FRED series are owned by third parties; their notes carry the owner's terms (surfaced verbatim, flagged via
copyrighted). You are responsible for complying with them beyond personal use.Caching & rate limits: responses are cached in-memory (vintage reads long, live reads short) and requests are throttled well under FRED's rate limit. Set
FRED_MCP_CACHE=0to disable caching,FRED_MCP_USER_AGENTto identify your own deployment.
Develop
git clone https://github.com/mcpwright/fred-mcp && cd fred-mcp
uv sync
uv run pytest # tests
uv run mypy # types
uv run ruff check src/ && uv run ruff format --check src/ # lint + format
uv run pre-commit run --all-files # everything, like CIDev loop: feature branch → PR → Code Quality & Tests green → squash-merge.
Roadmap
v1 tool surface (9 tools incl. the ALFRED vintage lane)
Publish to PyPI (
mcpwright-fred) + the MCP RegistrySite page at mcpwright.com/fred
.mcpbone-click Claude Desktop extension (v0.1.0 release)GeoFRED / maps (pairs with census-mcp)
Questions & feedback
Discussions for questions and ideas · Issues for bugs.
Part of mcpwright — polished MCP servers for authoritative public data · built by Devender Gollapally. FRED® and ALFRED® are registered trademarks of the Federal Reserve Bank of St. Louis. This project is not affiliated with, endorsed, or certified by the Federal Reserve Bank of St. Louis.
Available Tools
9 toolscompare_seriesCompare seriesARead-only
Align 2-5 series on one date axis for comparison.
`series_ids`: 2-5 FRED series IDs. Same `start`/`end`/`transform` as
`get_observations`. If the series have DIFFERENT native frequencies you
must pass `frequency` (a frequency at least as coarse as the coarsest
series) — mixing frequencies without it returns misaligned dates. Units
differ per series unless a relative transform (e.g. pct_change_yoy) is
used — check each entry's `units` before comparing levels.
Inputs: series_ids (required), end, start, frequency, +2 more. Returns: Several series aligned on a shared date axis.
get_latestGet latest valueARead-only
The most recent value of a series, plus its next scheduled release.
`series_id`: a FRED series ID. The value is the most recent NON-MISSING
print (daily series publish '.' on holidays) and is CURRENT data — it may
itself be revised later (see `get_revision_history` for how much this
series typically moves). `next_release_date` is null when FRED publishes
no schedule for the series' release.
Inputs: series_id (required). Returns: The most recent value of a series, with release context.
get_observationsGet observationsARead-only
A series' values in a date window, optionally transformed/downsampled.
`series_id`: a FRED series ID. `start`/`end`: ISO dates bounding the
window. `transform`: level | change | pct_change | pct_change_yoy | log.
`frequency`: optionally downsample to daily/weekly/monthly/quarterly/
semiannual/annual (with `aggregation` avg | sum | eop); only coarser than
the native frequency is valid. `max_points` caps the result, keeping the
most RECENT points (`truncated` tells you when the cap bit).
Values are CURRENT (post-revision) data. For numbers as originally
published, use `get_series_as_of` / `get_revision_history`.
Inputs: series_id (required), end, start, frequency, +3 more. Returns: A window of a series' data, optionally transformed.
get_release_calendarGet release calendarARead-only
Upcoming data-release dates ("when is the next jobs report / CPI?").
`days`: how far ahead to look (1-90, default 14). Returns each release's
name and date, soonest first. Dates are the SCHEDULED dates FRED knows
about; not every release publishes a schedule.
Inputs: days. Returns: Data-release dates within a window.
get_revision_historyGet a data point's revision historyARead-only
One data point's life across revisions: earliest archived print -> today.
`series_id`: a FRED series ID. `observation_date`: the data point's PERIOD
START date (ISO) — quarterly series use quarter starts (Q4 2008 =
"2008-10-01"), monthly use month starts. Returns the earliest archived
value, every revision with its publication date, the current value, and
the total drift.
Caveat: ALFRED's archive starts late for many series (`archive_starts`
shows where). `initial_value` is the true first print — what
decision-makers actually saw — only when the archive reaches back to the
observation's original release.
Inputs: series_id (required), observation_date (required). Returns: The life of one data point across revisions — initial print to today.
get_seriesGet series metadataARead-only
Full metadata for one series: units, frequency, range, and notes.
`series_id`: a FRED series ID (e.g. "GDPC1"). The `notes` are returned
verbatim — they carry methodology caveats and, for third-party series,
the owner's copyright terms (also flagged via `copyrighted`).
Inputs: series_id (required). Returns: Full metadata for one series.
get_series_as_ofGet series as of a date (vintage)ARead-only
A series EXACTLY as it was known on a past date — before later revisions.
`series_id`: a FRED series ID. `as_of`: the knowledge date (ISO) — e.g.
"2009-03-18" shows the data the Fed saw at its March 2009 meeting.
`start`/`end` bound the observation window as usual.
Vintage coverage varies by series: dates before the first vintage have no
data (check `get_vintage_dates`). Values can differ sharply from today's —
that's the point.
Inputs: as_of (required), series_id (required), end, start, +1 more. Returns: A series exactly as it was known on a past date (ALFRED vintage data).
get_vintage_datesGet vintage datesARead-only
When a series' data was released or revised (its ALFRED vintages).
`series_id`: a FRED series ID. Answers "how often is this revised?" and
bounds the vintage tools: `get_series_as_of` has no data before
`first_vintage`. The full list is capped to the most recent dates;
`total_vintages` is the true count.
Inputs: series_id (required). Returns: When a series' data was released or revised (its vintages).
search_seriesSearch for seriesARead-only
Find FRED series by free-text search, best matches first.
`query`: plain words (e.g. "unemployment rate", "median home price").
Returns series IDs with title, units, native frequency, and a
`copyrighted` flag — some FRED series are owned by third parties whose
terms (in the series notes) apply beyond personal use. Resolve a series
ID here first; the data tools key off it.
Inputs: query (required), limit. Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 9 tools
Each tool targets a distinct operation on FRED data: search, metadata, observations, latest value, revision history, vintage dates, as-of data, release calendar, and multiple series comparison. No two tools overlap in purpose.
All tool names follow a consistent verb_noun pattern in snake_case (e.g., get_observations, search_series). No mixing of conventions or ambiguous verbs.
9 tools cover the essential FRED API operations without being excessive. The count is well-scoped for an agent to effectively interact with economic data.
The set covers the full lifecycle: search and discovery, metadata retrieval, raw data access, revision history, vintage snapshots, release dates, and cross-series comparison. No critical operations are missing for typical use cases.
Maintenance
Related MCP Connectors
Equip AI with tools for researching economic data from Federal Reserve Economic Data (FRED).
FRED macro data, Treasury yields, FX rates & macro indicators for AI agents. Pay-per-query via x402.
Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.
Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables searching and retrieving economic data from the Federal Reserve Economic Data (FRED) API, including time series, categories, releases, and popular indicators.71-
- AlicenseAqualityDmaintenanceEnables users to search, retrieve, and explore economic data series from the Federal Reserve Economic Data (FRED) API using natural language.11MIT
- AlicenseAqualityCmaintenanceEnables LLM agents to query US macroeconomic time series from FRED, including GDP, CPI, unemployment, and interest rates, for contextual research.6MIT
- AlicenseNot gradedqualityBmaintenanceEnables querying Federal Reserve Economic Data (FRED) via tools for searching series, retrieving series metadata, and fetching time series observations, covering over 800,000 economic indicators.104 npmMIT