Skip to main content
Glama
FRED Economic MCP Server

FRED Economic MCP Server

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

Related MCP server: FRED API MCP Server

πŸš€ Quick Start

Prerequisites

  • Python 3.8 or higher

  • FRED API key (free from FRED)

Installation

  1. Download the server file:

    • Download fred_economic_server.py from this repository

  2. Install dependencies:

pip install httpx python-mcp python-dotenv
  1. Get your FRED API key:

  2. 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_fred_data

Get economic data by series ID

GDP, unemployment, inflation

get_fred_historical

Retrieve 4+ years of data

Long-term trend analysis

search_fred

Find series by keyword

Search "housing prices"

fred_dashboard

Key economic indicators

GDP, unemployment, rates

get_multiple_series

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

GDP

Gross Domestic Product

Unemployment

UNRATE

Unemployment Rate

Inflation

CPIAUCSL

Consumer Price Index

Fed Funds Rate

FEDFUNDS

Federal Funds Rate

10-Year Treasury

DGS10

10-Year Treasury Rate

S&P 500

SP500

S&P 500 Index

πŸ“ž Support

πŸ“„ License

This project is licensed under the MIT License.


Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides 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
      -
    • F
      license
      A
      quality
      D
      maintenance
      Enables searching and retrieving economic data from the Federal Reserve Economic Data (FRED) API, including time series, categories, releases, and popular indicators.
      7
      1
      -
    • A
      license
      A
      quality
      D
      maintenance
      Enables users to search, retrieve, and explore economic data series from the Federal Reserve Economic Data (FRED) API using natural language.
      11
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables natural language access to 800,000+ economic time series from FRED, including GDP, inflation, unemployment, and interest rates, with built-in transforms and frequency aggregation.
      84 npm
      MIT