fred-mcp-server
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-mcp-serverget GDP data for the United States"
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
An MCP (Model Context Protocol) server that provides access to the full FRED API (Federal Reserve Economic Data), including the Maps API for regional and geographic data. Use it to search, explore, and retrieve economic data directly within Claude conversations.
Disclaimer: This project is not affiliated with, endorsed by, or connected to the Federal Reserve Bank of St. Louis or any Federal Reserve entity. It is an independent open-source tool that accesses the publicly available FRED API.
Features
33 tools covering all FRED API endpoints including Maps (series, categories, releases, sources, tags, maps)
Full parameter support — no artificial limits on pagination or filtering
Built-in rate limiting (120 requests/minute)
Async HTTP client for efficient request handling
Related MCP server: mcp-fred
Requirements
Python 3.10+
A free FRED API key
Installation
pip install fred-mcp-serverOr with uv:
uv tool install fred-mcp-serverWith Docker:
docker pull ghcr.io/floriancaro/fred-mcp-serverOr build from source:
docker build -t fred-mcp-server https://github.com/floriancaro/fred-mcp-server.gitFrom source:
git clone https://github.com/floriancaro/fred-mcp-server.git
cd fred-mcp-server
uv sync --devConfiguration
After installing, configure the MCP server for your preferred client.
Claude Code (CLI)
Add the server globally (available in all projects):
claude mcp add fred -s user -e FRED_API_KEY=your-api-key-here -- fred-mcp-serverOr add it to a specific project only:
claude mcp add fred -e FRED_API_KEY=your-api-key-here -- fred-mcp-serverVerify it's connected:
claude mcp listClaude Code (project config)
Alternatively, create a .mcp.json file in your project root:
{
"mcpServers": {
"fred": {
"command": "fred-mcp-server",
"env": {
"FRED_API_KEY": "your-api-key-here"
}
}
}
}A .mcp.json.example file is included in the repo as a template.
Claude Desktop
Add to your Claude Desktop config file:
macOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonWindows:
%APPDATA%\Claude\claude_desktop_config.json
{
"mcpServers": {
"fred": {
"command": "fred-mcp-server",
"env": {
"FRED_API_KEY": "your-api-key-here"
}
}
}
}Restart Claude Desktop after saving.
Docker
If using the Docker image, replace the command field:
{
"mcpServers": {
"fred": {
"command": "docker",
"args": ["run", "-i", "--rm", "-e", "FRED_API_KEY", "ghcr.io/floriancaro/fred-mcp-server"],
"env": {
"FRED_API_KEY": "your-api-key-here"
}
}
}
}Tools
Series
Tool | Description |
| Get metadata for a series |
| Search for series by text |
| Get data values for a series |
| Get categories for a series |
| Get the release for a series |
| Get tags for a series |
| Get tags matching a search query |
| Get related tags for a search query |
| Get recently updated series |
| Get vintage dates for a series |
Categories
Tool | Description |
| Get a category (root = 0) |
| Get child categories |
| Get related categories |
| Get series in a category |
| Get tags for a category, or related tags via |
Releases
Tool | Description |
| List all releases |
| Get dates for all releases |
| Get a specific release |
| Get dates for a release |
| Get series in a release |
| Get sources for a release |
| Get tags for a release, or related tags via |
| Get release table trees |
Sources
Tool | Description |
| List all sources |
| Get a specific source |
| Get releases for a source |
Tags
Tool | Description |
| List/search all tags |
| Get related tags |
| Get series matching tags |
Maps
Tool | Description |
| Get metadata for a geographic FRED series |
| Get cross-sectional regional data for a geographic series |
| Get cross-sectional regional data by series group |
| Get GeoJSON shape files for geographic region boundaries |
Example Prompts
Once configured, you can ask Claude things like:
"What is the current US GDP growth rate?" (uses
fred_series_search+fred_series_observations)"Show me the unemployment rate for the past 10 years" (uses
fred_series_observationswithobservation_start)"What data releases are coming up this week?" (uses
fred_releases_dates)"Find all series related to housing starts" (uses
fred_series_search)"Compare regional unemployment rates across states" (uses
geofred_regional_data)
Development
git clone https://github.com/floriancaro/fred-mcp-server.git
cd fred-mcp-server
uv sync --dev
# Run unit tests
uv run pytest tests/test_client.py tests/test_tools.py -v
# Run integration tests (requires FRED_API_KEY)
FRED_API_KEY=your-key uv run pytest tests/test_integration.py -vTroubleshooting
"FRED_API_KEY environment variable is not set"
Ensure the FRED_API_KEY is passed in your MCP configuration's env block, or set it in your shell environment.
Rate limiting The server limits requests to 120 per minute (matching FRED API limits). If you hit the limit, requests will automatically wait — no action needed.
Verifying the server is running
claude mcp listContributing
Contributions are welcome! Please open an issue or submit a pull request.
License
MIT
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
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides tools to search and retrieve economic data series from the Federal Reserve Economic Data (FRED) API.Last updated245511AGPL 3.0
- Flicense-qualityDmaintenanceAn MCP server that wraps the Federal Reserve Economic Data (FRED) API, providing access to over 800,000 economic time series like GDP and unemployment. It enables AI agents to search for data, retrieve metadata, and fetch historical observations directly from the St. Louis Fed.Last updated
- Flicense-qualityCmaintenanceFastMCP server for querying FRED financial and macroeconomic data, providing tools to search and retrieve economic indicators.Last updated
- Alicense-qualityFmaintenanceA comprehensive MCP server providing access to all FRED API endpoints with intelligent large data handling, project-based storage, and async job processing for AI assistants like Claude.Last updatedMIT
Related MCP Connectors
This MCP server provides seamless access to Malaysia's government open data, including datasets, w…
A MCP server for the Frankfurter API for currency exchange rates.
MCP server for live, sourced Brazilian public data from the official IBGE APIs.
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/floriancaro/fred-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server