FRED economic data: GDP, inflation, unemployment, rates, and 800k+ Federal Reserve time series.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
U.S. and global economic data for Claude Desktop and any MCP-compatible client, powered by FRED (Federal Reserve Economic Data). Search and pull from 800,000+ economic time series โ GDP, inflation, unemployment, interest rates, and more โ all from natural language.
npm package:
fred-economic-mcpย ยทย GitHub repo:danishashko/fred-economic-mcp.
Every tool returns human-readable markdown by default, or structured JSON on request (response_format: "json"). The server is lightweight (Python standard library + mcp only), applies FRED's transformations server-side so the AI gets clean numbers, and retries automatically when FRED rate-limits.
FRED requires a free API key. It takes about a minute:
FRED_API_KEY environment variable (see config below).Add this to your Claude Desktop config and restart Claude:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonOn first launch the npx wrapper creates an isolated Python environment and installs the dependencies for you (a one-time step that can take a minute). You only need Python 3.10+ and Node.js 16+ on your machine.
| Tool | What it returns | Parameters |
|---|---|---|
search_series | Series matching a keyword, ranked by popularity (ID, title, units, frequency) | query, limit |
get_series_observations | The actual data values, with transforms and frequency aggregation | series_id, observation_start, observation_end, units, frequency, sort_order, limit |
get_series_info | Metadata for a series (units, frequency, seasonal adjustment, coverage, notes) | series_id |
get_economic_snapshot | Latest value of key U.S. indicators in one dashboard | (none) |
browse_category | Child categories and popular series within a FRED category | category_id |
get_releases | Economic data releases FRED tracks | limit |
Every tool also accepts response_format ("markdown", the default, or "json").
get_series_observations transforms (units): lin levels ยท chg change ยท ch1 change from year ago ยท pch percent change ยท pc1 percent change from year ago ยท pca compounded annual rate ยท log natural log.
Frequency aggregation (frequency): empty (native) ยท d daily ยท w weekly ยท m monthly ยท q quarterly ยท a annual.
You don't need to memorize IDs โ search_series finds them โ but these come up often:
| Series ID | Indicator |
|---|---|
GDPC1 | Real Gross Domestic Product |
UNRATE | Unemployment Rate |
CPIAUCSL | Consumer Price Index (CPI) |
PCEPI | PCE Price Index (the Fed's preferred inflation gauge) |
FEDFUNDS | Federal Funds Rate |
DGS10 | 10-Year Treasury Yield |
T10Y2Y | 10-Year minus 2-Year Treasury Spread |
PAYEMS | Nonfarm Payrolls |
MORTGAGE30US | 30-Year Fixed Mortgage Rate |
UMCSENT | Consumer Sentiment (University of Michigan) |
Once the server is connected, just ask Claude:
Asking "What's year-over-year CPI inflation for the last few months?" runs
get_series_observations with series_id=CPIAUCSL, units=pc1:
"No FRED API key configured"
Set FRED_API_KEY in your MCP client config (see Quick Start) to a free key from fredaccount.stlouisfed.org/apikeys, then restart the client.
"Command not found" / "Python not found"
Make sure Python 3.10+ and Node.js 16+ are installed and on your PATH. On macOS/Linux, try python3.
"FRED is rate-limiting requests" FRED allows 120 requests/minute per key. The server retries automatically; if you still hit it, wait a minute.
Tools not showing up in Claude
FRED_API_KEY is set in the server's env block."FRED rejected the request"
The series ID is probably wrong. Use search_series to find the correct ID, or get_series_info to confirm a series exists.
Using a different model or provider (LiteLLM, OpenRouter, NVIDIA NIM, a local model)
This server never talks to a model. Your client starts it as a local process and
speaks JSON-RPC over stdin/stdout, so changing ANTHROPIC_BASE_URL or swapping the
model behind your client has no effect on it. If tools stop firing after a switch
like that, check two things: the model has to support function calling, and a proxy
configured to drop unsupported parameters can silently strip your tool definitions,
which produces no error at all. Run /mcp in your client (or claude mcp list) to
confirm the server is connected before suspecting the server.
If you would rather run the Python file directly instead of via npx:
1. Download the server and install the dependency
Save fred_mcp.py somewhere on your machine, then:
(or pip3 on macOS/Linux)
2. Point Claude Desktop at it
On Windows use "command": "python" and a path like "C:\\path\\to\\fred_mcp.py" (double backslashes or forward slashes).
3. Restart Claude Desktop.
429.unrate works..; those are shown as N/A.units transforms (e.g. pc1 for year-over-year %) are computed by FRED, so the values are authoritative โ no client-side math.get_series_info to check before pulling a range.See CHANGELOG.md for the full version history.
This tool uses the FREDยฎ API but is not endorsed or certified by the Federal Reserve Bank of St. Louis. FREDยฎ is a registered trademark of the Federal Reserve Bank of St. Louis. Use of the FRED API is subject to its Terms of Use.
Daniel Shashko
MIT ยฉ Daniel Shashko
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/fred-economic-data)<a href="https://allmcps.com/mcp/fred-economic-data"><img src="https://allmcps.com/api/badge/fred-economic-data?style=directory" alt="FRED Economic Data on AllMCPs" /></a>