Skip to main content

Installation Guide

This guide covers all installation methods for the FRED MCP Server across different platforms and deployment scenarios.

Prerequisites

FRED API Key

Required for accessing FRED data. Get your free key at fred.stlouisfed.org

Node.js 18+

Required for running the server. Download from nodejs.org

Installation Methods

The easiest installation method using Smithery:
Benefits:
  • Automatic configuration
  • Handles all dependencies
  • Interactive setup for API key
  • Updates configuration automatically

Method 2: From Source

1

Clone Repository

2

Install Dependencies

3

Build the Project

4

Verify Build

Method 3: Docker

Use the official Docker image:

Client Configuration

Claude Desktop

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/claude/claude_desktop_config.json

Other MCP Clients

Configure in .vscode/settings.json:
Use with any MCP CLI client:
Use with Python MCP client:

Environment Variables

FRED_API_KEY
string
required
Your FRED API key from fred.stlouisfed.org
FRED_BASE_URL
string
default:"https://api.stlouisfed.org/fred"
Optional: Override the FRED API base URL
LOG_LEVEL
string
default:"info"
Optional: Set logging level (debug, info, warn, error)

Platform-Specific Instructions

macOS

1

Install Prerequisites

2

Install FRED MCP

3

Configure Claude

Windows

1

Install Prerequisites

  1. Download Node.js from nodejs.org
  2. Run the installer with default settings
  3. Open PowerShell or Command Prompt as Administrator
2

Install FRED MCP

3

Configure Claude

Linux

1

Install Prerequisites

2

Install FRED MCP

3

Configure Claude

Verification

Test Installation

Troubleshooting

Issue: fred-mcp-server: command not foundSolutions:
  1. Ensure Node.js is installed: node --version
  2. Check npm global bin path: npm bin -g
  3. Add npm bin to PATH: export PATH=$PATH:$(npm bin -g)
  4. Reinstall: npm install -g fred-mcp-server
Issue: Permission errors during installationSolutions:
  • macOS/Linux: Use sudo npm install -g fred-mcp-server
  • Windows: Run as Administrator
  • Alternative: Install locally without -g flag
Issue: “Invalid API key” or authentication errorsSolutions:
  1. Verify key at fred.stlouisfed.org
  2. Check for typos in configuration
  3. Ensure proper JSON formatting
  4. Test key with curl:
Issue: Docker container exits immediatelySolutions:
  1. Run with -it flags for interactive mode
  2. Check Docker logs: docker logs container_id
  3. Verify environment variables are passed correctly
  4. Ensure Docker daemon is running

Updating

Update Methods

Next Steps

Configuration

Advanced configuration options

API Reference

Explore available tools

Examples

Start using FRED data

Troubleshooting

Common issues and solutions