Skip to main content
Glama
satendra-mani-tiwari

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: Federal Reserve Economic Data (FRED) 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.


A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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

  • F
    license
    -
    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.
    Last updated
    8
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to over 800,000 economic time series from the Federal Reserve, allowing users to browse, search, and retrieve data for indicators like GDP and unemployment. It supports custom date ranges and data transformations such as percentage changes or frequency aggregations.
    Last updated
    3
    455
    112
    AGPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI agents to search and retrieve FRED economic time series, including vintage (as-published) data, with tools for series search, observation retrieval, release calendar, revision history, and more.
    Last updated
    9
    MIT

View all related MCP servers

Related MCP Connectors

  • Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.

  • Macro indicators from World Bank, FRED, IMF, and OECD via unified query surface.

  • Macro data for AI agents: GDP, inflation, unemployment & trade, any country. No API keys.

View all MCP Connectors

Latest Blog Posts

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/satendra-mani-tiwari/fred-economic-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server