Related MCP Server Resources

Explore more AI models, providers, and integration options:

  • Explore AI Models
  • Explore AI Providers
  • Explore MCP Servers
  • LangDB Pricing
  • Documentation
  • AI Industry Blog
  • Perplexity AI MCP Server
  • YOKATLAS API MCP Server
  • mcp-server-data-exploration
  • Mealie MCP Server
  • Fantasy Premier League MCP Server
Back to MCP Servers
FRED Macroeconomic Data MCP Server

FRED Macroeconomic Data MCP Server

Public
hungson175/WM_MCP

Provides real-time access to Federal Reserve Economic Data (FRED) through Model Context Protocol, enabling LLM clients to search, retrieve, and analyze key macroeconomic indicators in standardized formats for seamless integration.

python
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with FRED Macroeconomic Data MCP Server

MCP Server

Unlock the full potential of FRED Macroeconomic Data MCP Server through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests

FRED Macroeconomic Data MCP Server

A Model Context Protocol (MCP) server that provides access to Federal Reserve Economic Data (FRED) through Claude and other LLM clients. This server exposes FRED economic data series, search capabilities, and data retrieval tools.

Features

  • Access to common FRED economic indicators (GDP, Employment, Inflation, etc.)
  • Search functionality for FRED data series
  • Real-time data fetching from FRED API
  • Standardized data format for LLM consumption
  • Built using the MCP Python SDK for seamless integration

Prerequisites

  • Python 3.11 or higher
  • uv - Modern Python package installer
  • Claude Desktop for local usage
  • FRED API Key (get one from FRED API)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/WM_mcp.git cd WM_mcp
  1. Create and activate a virtual environment using uv:
uv venv source .venv/bin/activate # On Windows, use `.venv\Scripts\activate`
  1. Install dependencies using uv:
uv pip install "mcp[cli]>=1.6.0" "colorama>=0.4.6" "numpy>=2.2.4" "pandas>=2.2.3" "python-dotenv>=1.1.0" "requests>=2.32.3"
  1. Set up environment variables:
cp .env.example .env

Edit .env and add your FRED API key:

FRED_API_KEY=your_fred_api_key_here

Installing in Claude Desktop

  1. Make sure Claude Desktop is installed and running
  2. Open Claude Desktop settings:
    • Go to Settings > Developer > Edit Config
    • Add the following configuration to your claude_desktop_config.json:
{ "mcpServers": { "FRED Macroeconomic Data Server": { "command": "/path/to/your/.local/bin/uv", "args": [ "--directory", "/path/to/your/WM_mcp", "run", "fred_macroeco_server.py" ] } } }

Replace /path/to/your/ with your actual paths. You can find uv's path by running which uv in terminal.

Usage in Claude

  1. First, search online for "using MCP resource in Claude Desktop Client" to understand how to include MCP resources in your conversations.

  2. Once you've added the resource, you can interact with FRED data. Example prompt:

Use FRED APIs to get GDPs of USA last 20 years, draw chart

Available Resources

  • file://series/available - List all available FRED series and their details

Available Tools

  • fetch_series_data - Fetch data for any FRED series
  • search_series - Search for FRED series by description

Development

For development and testing:

  1. Run the MCP Inspector to test the server:
mcp dev fred_macroeco_server.py

This allows you to inspect resources, test tools, and verify server functionality.

  1. For direct server execution (to check for issues):
python fred_macroeco_server.py

Note: The server uses stdio transport for communication with Claude Desktop. Use the MCP Inspector during development to catch and fix any issues before deploying to Claude Desktop.

Troubleshooting

  1. If you get API key errors:

    • Verify your FRED API key is correctly set in .env
    • Check that the .env file is in the correct directory
  2. If the server doesn't appear in Claude Desktop:

    • Double-check your claude_desktop_config.json paths
    • Ensure uv and all dependencies are installed correctly
    • Try restarting Claude Desktop

Acknowledgments

  • Federal Reserve Bank of St. Louis for providing the FRED API
  • Model Context Protocol team for the MCP SDK
  • Anthropic for Claude and the Claude Desktop client
Publicly Shared Threads0

Discover shared experiences

Shared threads will appear here, showcasing real-world applications and insights from the community. Check back soon for updates!

Share your threads to help others
Related MCPs5
  • Perplexity AI MCP Server
    Perplexity AI MCP Server

    Provides seamless integration with Perplexity AI via Model Context Protocol, enabling chat, search, ...

    5 tools
    Added May 30, 2025
  • YOKATLAS API MCP Server
    YOKATLAS API MCP Server

    Provides standardized Model Context Protocol (MCP) access to YÖKATLAS data, enabling programmatic se...

    Added May 30, 2025
  • mcp-server-data-exploration
    mcp-server-data-exploration

    Interactive Model Context Protocol server enabling seamless data exploration by loading CSV datasets...

    2 tools
    Added May 30, 2025
  • Mealie MCP Server
    Mealie MCP Server

    Enables AI assistants to access and interact with your Mealie recipe database via Model Context Prot...

    Added May 30, 2025
  • Fantasy Premier League MCP Server
    Fantasy Premier League MCP Server

    Provides comprehensive access to Fantasy Premier League data and tools via Model Context Protocol, e...

    Added May 30, 2025