fred-economic-mcp
Click on "Install 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-economic-mcpWhat's the current unemployment rate?"
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 Server ๐
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.
๐ฏ What You Get
๐ Search 800k+ economic series by keyword
๐ Observations with built-in transforms (levels, % change, year-over-year) and frequency aggregation (daily โ monthly/quarterly/annual)
๐งพ Series metadata โ units, frequency, seasonal adjustment, coverage, notes
๐บ๐ธ Economic snapshot โ key U.S. indicators in one call
๐๏ธ Category browsing to discover data by topic
๐๏ธ Releases tracked by FRED
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.
Related MCP server: FRED Economic MCP Server
๐ Get a Free API Key (required)
FRED requires a free API key. It takes about a minute:
Create an account at fredaccount.stlouisfed.org and request a key at fredaccount.stlouisfed.org/apikeys.
Provide it to the server via the
FRED_API_KEYenvironment variable (see config below).
๐ Quick Start
Add this to your Claude Desktop config and restart Claude:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"fred": {
"command": "npx",
"args": ["-y", "fred-economic-mcp"],
"env": {
"FRED_API_KEY": "your_free_fred_api_key_here"
}
}
}
}On 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.
Prefer a global install?
npm install -g fred-economic-mcp{
"mcpServers": {
"fred": {
"command": "fred-economic-mcp",
"env": { "FRED_API_KEY": "your_free_fred_api_key_here" }
}
}
}๐ง Available Tools
Tool | What it returns | Parameters |
| Series matching a keyword, ranked by popularity (ID, title, units, frequency) |
|
| The actual data values, with transforms and frequency aggregation |
|
| Metadata for a series (units, frequency, seasonal adjustment, coverage, notes) |
|
| Latest value of key U.S. indicators in one dashboard | (none) |
| Child categories and popular series within a FRED category |
|
| Economic data releases FRED tracks |
|
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.
Popular series IDs
You don't need to memorize IDs โ search_series finds them โ but these come up often:
Series ID | Indicator |
| Real Gross Domestic Product |
| Unemployment Rate |
| Consumer Price Index (CPI) |
| PCE Price Index (the Fed's preferred inflation gauge) |
| Federal Funds Rate |
| 10-Year Treasury Yield |
| 10-Year minus 2-Year Treasury Spread |
| Nonfarm Payrolls |
| 30-Year Fixed Mortgage Rate |
| Consumer Sentiment (University of Michigan) |
๐ฌ Example Prompts
Once the server is connected, just ask Claude:
"How's the U.S. economy doing right now?"
"What's the current unemployment rate?"
"Show me year-over-year CPI inflation for the last 12 months."
"What's the 10-year Treasury yield, and how has it moved this year?"
"Find FRED series about consumer credit."
"What's the 10Y-2Y yield spread? Is the yield curve inverted?"
"Compare real GDP growth over the last 8 quarters."
"What does the PCEPI series measure, and how often is it updated?"
Example output
Asking "What's year-over-year CPI inflation for the last few months?" runs
get_series_observations with series_id=CPIAUCSL, units=pc1:
# Consumer Price Index for All Urban Consumers: All Items (CPIAUCSL)
**Units:** Percent change from year ago ยท **Frequency:** m
**Total observations:** 940
**Latest:** 3.39 (2026-04-01)
| Date | Value |
|------------|-------|
| 2026-04-01 | 3.39 |
| 2026-03-01 | 3.29 |
| 2026-02-01 | 2.43 |๐ Troubleshooting
"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
Confirm the config file is valid JSON (no trailing commas).
Fully quit and reopen Claude Desktop.
Check that
FRED_API_KEYis set in the server'senvblock.
"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.
๐ ๏ธ Manual Installation (Alternative)
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:
pip install mcp(or pip3 on macOS/Linux)
2. Point Claude Desktop at it
{
"mcpServers": {
"fred": {
"command": "python3",
"args": ["/absolute/path/to/fred_mcp.py"],
"env": { "FRED_API_KEY": "your_key_here" }
}
}
}On Windows use "command": "python" and a path like "C:\\path\\to\\fred_mcp.py" (double backslashes or forward slashes).
3. Restart Claude Desktop.
๐ Privacy & Rate Limits
Uses the official FRED API with your own free API key.
Requests go straight from your machine to FRED. Nothing is stored or proxied.
FRED rate-limits 120 requests/minute per key; the server retries with backoff on
429.Intended for personal, educational, and research use.
๐ Notes
Series IDs are case-insensitive here (they're upper-cased for you), e.g.
unrateworks.FRED marks missing observations with
.; those are shown asN/A.The
unitstransforms (e.g.pc1for year-over-year %) are computed by FRED, so the values are authoritative โ no client-side math.Data coverage and frequency vary by series; use
get_series_infoto check before pulling a range.
๐ Changelog
See CHANGELOG.md for the full version history.
๐ Resources
โ๏ธ Legal Disclaimer
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.
๐ค Author
Daniel Shashko
GitHub: @danishashko
LinkedIn: daniel-shashko
npm: danielshashko
๐ License
MIT ยฉ Daniel Shashko
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides access to Federal Reserve Economic Data (FRED) through Claude and other LLM clients, enabling users to search for, retrieve, and visualize economic indicators like GDP, employment, and inflation data.Last updated8
- Alicense-qualityDmaintenanceProvides access to 800,000+ Federal Reserve Economic Data (FRED) time series, enabling users to search, retrieve, and analyze economic indicators like GDP, unemployment, inflation, and interest rates through natural language queries.Last updatedMIT
- AlicenseAqualityBmaintenanceProvides access to over 800,000 economic time series from the Federal Reserve, allowing users to browse, search, and retrieve data for indicators like GDP and unemployment. It supports custom date ranges and data transformations such as percentage changes or frequency aggregations.Last updated3440107AGPL 3.0
- FlicenseAqualityDmaintenanceEnables searching and retrieving economic data from the Federal Reserve Economic Data (FRED) API, including time series, categories, releases, and popular indicators.Last updated71
Related MCP Connectors
Macro indicators from World Bank, FRED, IMF, and OECD via unified query surface.
Give your agent web search and authoritative datasets: S&P Global, FRED, OECD, SimilarWeb & more.
Fetch US Bureau of Labor Statistics data โ CPI, unemployment, wages, JOLTS, and more via MCP.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/danishashko/fred-economic-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server