FRED API MCP Server
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 API MCP Server get the latest unemployment rate series"
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 API MCP Server
A Model Context Protocol (MCP) server that provides access to the Federal Reserve Economic Data (FRED) API from the St. Louis Federal Reserve.
Features
Search Economic Data: Search for economic data series by keywords
Get Series Data: Retrieve time series data for specific economic indicators
Series Information: Get detailed metadata about economic data series
Browse Categories: Explore FRED data categories
Get Releases: Access information about FRED data releases
Release Series: Get all series associated with a specific release
Release Dates: Get release dates and schedules
Popular Series Resource: Quick access to commonly used economic indicators
Popular Releases Resource: Quick access to commonly used releases
Related MCP server: FRED Economic MCP Server
Setup
1. Get a FRED API Key
Create a free account if you don't have one
Request an API key (it's free and approved instantly)
2. Install the Server with Claude Desktop
Install the server using uv:
uv run mcp install src/server.py3. Add API Key Configuration
Add the following configuration to your Claude Desktop MCP settings:
{
"mcpServers": {
"fred_mcp_server": {
"command": "/path/.local/bin/uv",
"args": [
"run",
"--with",
"mcp[cli]",
"mcp",
"run",
"/path/to/dev/fred-mcp/src/server.py"
],
"env": {
"FRED_API_KEY": "your_api_key_here"
}
}
}
}Popular Series IDs
Here are some commonly used FRED series IDs:
GDP - Gross Domestic Product
UNRATE - Unemployment Rate
CPIAUCSL - Consumer Price Index for All Urban Consumers
FEDFUNDS - Federal Funds Rate
DGS10 - 10-Year Treasury Constant Maturity Rate
DEXUSEU - US/Euro Foreign Exchange Rate
PAYEMS - All Employees, Total Nonfarm
HOUST - Housing Starts
INDPRO - Industrial Production Index
CPILFESL - Core CPI (excluding food and energy)
Popular Release IDs
Here are some commonly used FRED release IDs:
53 - Gross Domestic Product
10 - Employment Situation
24 - Consumer Price Index
62 - Federal Reserve Economic Data
18 - Industrial Production and Capacity Utilization
20 - Housing Starts
25 - Personal Income and Outlays
50 - Flow of Funds
13 - G.17 Industrial Production and Capacity Utilization
21 - New Residential Construction
Rate Limits
FRED API has the following rate limits:
120 requests per 60 seconds
Be respectful of the API and cache results when possible
Usage with MCP Clients
This server follows the Model Context Protocol specification and can be used with any MCP-compatible client. The server communicates via stdin/stdout and provides tools for querying economic data.
Documentation
For detailed information about available tools and server implementation, see SERVER.md.
Available Tools
7 toolsget_categoriesA
Get FRED data categories.
Args: category_id: Category ID (optional, returns root categories if not specified)
Inputs: category_id. Returns: result
get_economic_seriesB
Get data for a specific economic data series.
Args: series_id: FRED series ID (e.g., 'GDP', 'UNRATE', 'CPIAUCSL') start_date: Start date in YYYY-MM-DD format (optional) end_date: End date in YYYY-MM-DD format (optional) limit: Maximum number of observations to return
Inputs: series_id (required), start_date, end_date, limit. Returns: result
get_release_datesB
Get release dates for a specific FRED release.
Args: release_id: Release ID to get dates for limit: Maximum number of dates to return (default: 100) start_date: Start date for release dates in YYYY-MM-DD format (optional) end_date: End date for release dates in YYYY-MM-DD format (optional)
Inputs: release_id (required), limit, start_date, end_date. Returns: result
get_releasesB
Get all FRED data releases or information about a specific release.
Args: release_id: Specific release ID to get detailed information (optional) limit: Maximum number of releases to return (default: 100)
Inputs: release_id, limit. Returns: result
get_release_seriesA
Get all series for a specific FRED release.
Args: release_id: Release ID to get series for limit: Maximum number of series to return (default: 100)
Inputs: release_id (required), limit. Returns: result
get_series_infoC
Get detailed information about an economic data series.
Args: series_id: FRED series ID
Inputs: series_id (required). Returns: result
search_economic_dataA
Search for economic data series in FRED database.
Args: search_text: Text to search for in series titles and descriptions limit: Maximum number of results to return (default: 10)
Inputs: search_text (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 7 tools
Each tool serves a distinct purpose: categories, series data, series info, releases, release dates, release series, and search. No overlap in functionality.
Most tools use verb_noun pattern with 'get_' prefix; 'search_economic_data' uses 'search_' instead but still follows verb_noun convention. All use snake_case, so minor deviation.
With 7 tools covering categories, series, and releases, the count is appropriate for a focused API. Each tool earns its place without redundancy.
Covers core operations: browse categories, search series, retrieve series data and info, and access releases. Minor gap: no explicit tool for category subcategories, but get_categories with optional ID may suffice.
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.
Premium live data from S&P Global, FRED, OECD & more, plus web search, in one call.
Macro indicators from World Bank, FRED, IMF, and OECD via unified query surface.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides 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.8-
- AlicenseNot gradedqualityDmaintenanceProvides 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.MIT
- FlicenseCqualityDmaintenanceEnables users to query and explore economic data from FRED, supporting tools for searching series, retrieving observations, and browsing categories. It provides comprehensive access to financial datasets, including GeoFRED maps and raw endpoint passthrough for advanced research.401-
- AlicenseAqualityDmaintenanceEnables users to search, retrieve, and explore economic data series from the Federal Reserve Economic Data (FRED) API using natural language.11MIT