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
Method 1: Automatic Installation (Recommended)
- Smithery CLI
- NPM Global
- NPM Local
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
- Pre-built Image
- Build Custom Image
Use the official Docker image:
Client Configuration
Claude Desktop
Configuration file locations
Configuration file locations
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/claude/claude_desktop_config.json
- Standard Setup
- Local Build
- Docker
Other MCP Clients
VSCode Extension
VSCode Extension
Configure in
.vscode/settings.json:Command Line Client
Command Line Client
Use with any MCP CLI client:
Python Client
Python Client
Use with Python MCP client:
Environment Variables
Your FRED API key from fred.stlouisfed.org
Optional: Override the FRED API base URL
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
- Download Node.js from nodejs.org
- Run the installer with default settings
- 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
Command not found
Command not found
Issue:
fred-mcp-server: command not foundSolutions:- Ensure Node.js is installed:
node --version - Check npm global bin path:
npm bin -g - Add npm bin to PATH:
export PATH=$PATH:$(npm bin -g) - Reinstall:
npm install -g fred-mcp-server
Permission denied
Permission denied
Issue: Permission errors during installationSolutions:
- macOS/Linux: Use
sudo npm install -g fred-mcp-server - Windows: Run as Administrator
- Alternative: Install locally without
-gflag
API Key errors
API Key errors
Issue: “Invalid API key” or authentication errorsSolutions:
- Verify key at fred.stlouisfed.org
- Check for typos in configuration
- Ensure proper JSON formatting
- Test key with curl:
Docker issues
Docker issues
Issue: Docker container exits immediatelySolutions:
- Run with
-itflags for interactive mode - Check Docker logs:
docker logs container_id - Verify environment variables are passed correctly
- Ensure Docker daemon is running
Updating
Update Methods
- NPM Update
- Git Update
- Docker Update