Skip to main content
Glama

FRED MCP Server

An MCP server for the Federal Reserve Economic Data (FRED) API.

Features

  • Search for economic data series.

  • Retrieve data points for series.

  • Explore Categories, Releases, Sources, and Tags.

  • Pagination support for large datasets.

  • Option to save data as JSON files.

Related MCP server: FRED Economic MCP Server

Configuration

Set the FRED_API_KEY environment variable to your FRED API key.

Usage

Run with uvx (if published):

uvx fred-data-mcp

Installation from PyPI

Once published, you can install and run directly:

pip install fred-data-mcp
# or
uvx fred-data-mcp

Claude Desktop Configuration

To use this server with the Claude Desktop app, add the following to your claude_desktop_config.json:

If you have published the package to PyPI, you can key off the package name directly:

{
  "mcpServers": {
    "fred": {
      "command": "uvx",
      "args": [
        "fred-data-mcp"
      ],
      "env": {
        "FRED_API_KEY": "your_api_key_here"
      }
    }
  }
}

Local Development

If you are running from the source code repository:

{
  "mcpServers": {
    "fred": {
      "command": "uvx",
      "args": [
        "--from",
        "/absolute/path/to/fred-mcp",
        "fred-data-mcp"
      ],
      "env": {
        "FRED_API_KEY": "your_api_key_here"
      }
    }
  }
}

Development

Running the MCP Inspector

To test the server locally with the MCP Inspector:

Windows (PowerShell):

$env:FRED_API_KEY = "your_api_key_here"
.\run-inspector.ps1

Bash:

export FRED_API_KEY="your_api_key_here"
./run-inspector.sh

Alternatively, run the command directly:

npx @modelcontextprotocol/inspector uv run fred-data-mcp

## Publication

### Publishing to PyPI
A helper script `publish.ps1` is provided to automate version bumping and publication.

**Requirements:**
- `uv` installed.
- PyPI credentials configured (e.g., via `~/.pypirc` or environment variables `TWINE_USERNAME` and `TWINE_PASSWORD`).


**Usage (Windows PowerShell):**
```powershell
# Bump patch version and publish
.\publish.ps1 patch

Usage (Bash):

# Bump patch version and publish
./publish.sh patch

To test the build process without uploading, use the -DryRun (PS) or --dry-run (Bash) flag:

.\publish.ps1 patch -DryRun
# or
./publish.sh patch --dry-run
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
    -
    quality
    D
    maintenance
    Provides 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.
    Last updated
    MIT
  • F
    license
    C
    quality
    D
    maintenance
    Enables 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.
    Last updated
    40
    1

View all related MCP servers

Related MCP Connectors

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

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

  • Give your agent web search and authoritative datasets: S&P Global, FRED, OECD, SimilarWeb & more.

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/fritzprix/fred-mcp'

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