MCP server/other

FRED MCP Server

Access economic data from the Federal Reserve Bank of St. Louis

shawndrake2/mcp-fred ↗by shawndrake2updated
Manual setup required. The maintainer's config contains paths only you know - edit the placeholders below before adding it to Claude Code.
1

Prepare the server locally

Run this once before adding it to Claude Code.

git clone https://github.com/shawndrake2/mcp-fred
cd mcp-fred

Then follow the repository README for any remaining dependency or build steps.

2

Register it in Claude Code

claude mcp add -e "FRED_API_KEY=${FRED_API_KEY}" mcp-fred-d1e9 -- node /path/to/fred/dist/index.js

Replace any placeholder paths in the command with the real path on your machine.

Required:FRED_API_KEY
3

Make your agent remember this setup

mcp-fred-d1e9's config, env vars, and the gotchas you hit — recalled in every future Claude Code, Cursor, and Codex session.

npx conare@latest

Free · one command · indexes the sessions already on disk. Set up in the browser instead →

What it does

  • Access to over 800,000 economic time series
  • Search functionality for economic indicators
  • State-level economic data retrieval
  • Metadata lookup for economic series
  • Real-time data release tracking

Tools 7

get_seriesGet time series data for a FRED series ID.
search_seriesSearch for FRED series by keywords.
get_series_infoGet metadata about a series (title, units, frequency, notes).
list_popularList commonly used FRED series IDs with descriptions.
get_category_seriesGet all series in a FRED category.
get_releasesGet recent data releases.
get_state_dataShortcut for common state-level economic data.

Environment Variables

FRED_API_KEYrequiredAPI key obtained from the Federal Reserve Bank of St. Louis

Try it

Get the last 20 entries for the GDP series.
Find all available economic series related to retail sales.
What is the current unemployment rate in California?
Get metadata for the S&P 500 index series.
List the most popular economic series available.
Original README from shawndrake2/mcp-fred

FRED (Federal Reserve Economic Data) MCP Server

Access economic data from the Federal Reserve Bank of St. Louis - one of the most comprehensive economic databases with 800,000+ time series.

Data Available

  • Interest Rates - Federal funds rate, Treasury yields, mortgage rates
  • GDP & Growth - Real/nominal GDP, growth rates
  • Employment - Unemployment rates, payrolls, labor force
  • Inflation - CPI, PCE, inflation expectations
  • Housing - Home prices, housing starts, mortgage rates
  • Financial Markets - Stock indices, exchange rates, money supply
  • State/Regional - State-level unemployment, income, GDP

Setup

  1. Get a free API key at: https://fred.stlouisfed.org/docs/api/api_key.html
  2. Add to your MCP config:
{
  "fred": {
    "command": "node",
    "args": ["/path/to/fred/dist/index.js"],
    "env": {
      "FRED_API_KEY": "your-api-key"
    }
  }
}

Tools

`get_series`

Get time series data for a FRED series ID.

Parameter Required Description
seriesId Yes FRED series ID (e.g., "GDP", "UNRATE")
startDate No Start date YYYY-MM-DD
endDate No End date YYYY-MM-DD
limit No Max observations (default 100)
sort No "asc" or "desc" (default: desc - most recent first)

Example: Get recent GDP data

seriesId: "GDP"
limit: 20

`search_series`

Search for FRED series by keywords.

Parameter Required Description
query Yes Search keywords (e.g., "unemployment california")
limit No Max results (default 20)

Example: Find retail sales series

query: "retail sales"
limit: 10

`get_series_info`

Get metadata about a series (title, units, frequency, notes).

Parameter Required Description
seriesId Yes FRED series ID

`list_popular`

List commonly used FRED series IDs with descriptions.

Returns: Popular series for GDP, unemployment, interest rates, inflation, etc.

`get_category_series`

Get all series in a FRED category.

Parameter Required Description
categoryId Yes Category ID (e.g., 32991 for GDP)
limit No Max results (default 50)

`get_releases`

Get recent data releases (useful for finding fresh data).

Parameter Required Description
limit No Max results (default 20)

`get_state_data`

Shortcut for common state-level economic data.

Parameter Required Description
stateAbbr Yes State abbreviation (e.g., "CA", "TX")
metric Yes "unemployment", "income", "population", "gdp"

Example: Get California unemployment

stateAbbr: "CA"
metric: "unemployment"

Popular Series IDs

Series ID Description
GDP Gross Domestic Product
GDPC1 Real GDP
UNRATE Unemployment Rate
CPIAUCSL Consumer Price Index
FEDFUNDS Federal Funds Rate
DGS10 10-Year Treasury Rate
MORTGAGE30US 30-Year Mortgage Rate
SP500 S&P 500 Index
DEXUSEU USD/EUR Exchange Rate
HOUST Housing Starts
RSXFS Retail Sales
PAYEMS Total Nonfarm Payrolls

Rate Limits

  • 120 requests per minute

Documentation

Frequently Asked Questions

What are the key features of FRED MCP Server?

Access to over 800,000 economic time series. Search functionality for economic indicators. State-level economic data retrieval. Metadata lookup for economic series. Real-time data release tracking.

What can I use FRED MCP Server for?

Analyzing historical GDP and inflation trends for research. Retrieving state-specific economic metrics for regional analysis. Monitoring financial market indicators like Treasury yields and stock indices. Automating the collection of economic data for financial reporting.

How do I install FRED MCP Server?

Install FRED MCP Server by running: node /path/to/fred/dist/index.js

What MCP clients work with FRED MCP Server?

FRED MCP Server works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Conare · memory for coding agents

Turn this server into reusable context

Keep FRED MCP Server docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Set up free$npx conare@latest