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 MCP Servershow me the latest 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 Economic MCP Server
A powerful Model Context Protocol (MCP) server providing access to Federal Reserve Economic Data (FRED) through Claude and other MCP-compatible clients.
π Features
π Comprehensive Data Access: Access to 800,000+ economic time series
π Smart Search: Find economic indicators by keyword or category
π Historical Analysis: Retrieve up to 100,000 observations per series
β‘ High Performance: Efficient async operations with proper error handling
π― Economic Dashboard: Pre-configured key economic indicators
π Multi-Series Support: Compare multiple economic series simultaneously
π Quick Start
Prerequisites
Python 3.8 or higher
FRED API key (free from FRED)
Installation
Download the server file:
Download
fred_economic_server.pyfrom this repository
Install dependencies:
pip install httpx python-mcp python-dotenvGet your FRED API key:
Sign up for a free account
Generate your API key
Set up environment:
export FRED_API_KEY="your_api_key_here"Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"fred-economic": {
"command": "python",
"args": ["path/to/fred_economic_server.py"],
"env": {
"FRED_API_KEY": "your_api_key_here"
}
}
}
}π οΈ Available Tools
Tool | Description | Example Usage |
| Get economic data by series ID | GDP, unemployment, inflation |
| Retrieve 4+ years of data | Long-term trend analysis |
| Find series by keyword | Search "housing prices" |
| Key economic indicators | GDP, unemployment, rates |
| Compare multiple series | GDP vs unemployment |
π Example Queries
Basic Data Retrieval
Ask Claude: "Get the latest GDP data"
Uses: get_fred_data("GDP")Historical Analysis
Ask Claude: "Show me 10 years of unemployment data"
Uses: get_fred_historical("UNRATE", years=10)Economic Research
Ask Claude: "Compare inflation and unemployment over the last 5 years"
Uses: get_multiple_series(["CPIAUCSL", "UNRATE"])π Common Economic Series
Indicator | Series ID | Description |
GDP |
| Gross Domestic Product |
Unemployment |
| Unemployment Rate |
Inflation |
| Consumer Price Index |
Fed Funds Rate |
| Federal Funds Rate |
10-Year Treasury |
| 10-Year Treasury Rate |
S&P 500 |
| S&P 500 Index |
π Support
π§ Issues: Use GitHub Issues for bug reports and feature requests
π FRED API Docs: https://fred.stlouisfed.org/docs/api/
π§ MCP Protocol: https://modelcontextprotocol.io/
π License
This project is licensed under the MIT License.