- Explore MCP Servers
- fred-mcp-server
Fred Mcp Server
What is Fred Mcp Server
fred-mcp-server is an implementation of a Model Context Protocol (MCP) server designed for accessing the Federal Reserve Economic Data (FRED) API. It allows users to search and retrieve various economic data series.
Use cases
Use cases for fred-mcp-server include economic research, data analysis, and application development that requires access to FRED’s economic data.
How to use
To use fred-mcp-server, clone the repository, install dependencies, and set up your FRED API key in the .env file. You can run the server in development mode or build it for production use.
Key features
Key features include tools for searching economic data series, retrieving observations with date range filtering, frequency adjustment, aggregation methods, and sorting and pagination options.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Overview
What is Fred Mcp Server
fred-mcp-server is an implementation of a Model Context Protocol (MCP) server designed for accessing the Federal Reserve Economic Data (FRED) API. It allows users to search and retrieve various economic data series.
Use cases
Use cases for fred-mcp-server include economic research, data analysis, and application development that requires access to FRED’s economic data.
How to use
To use fred-mcp-server, clone the repository, install dependencies, and set up your FRED API key in the .env file. You can run the server in development mode or build it for production use.
Key features
Key features include tools for searching economic data series, retrieving observations with date range filtering, frequency adjustment, aggregation methods, and sorting and pagination options.
Where to use
undefined
Clients Supporting MCP
The following are the main client software that supports the Model Context Protocol. Click the link to visit the official website for more information.
Content
Here’s the README formatted in proper markdown:
FRED MCP Server
A Model Context Protocol (MCP) server implementation for accessing the Federal Reserve Economic Data (FRED) API. This server provides tools to search and retrieve economic data series from FRED.
Prerequisites
- Node.js (v16 or higher)
- FRED API Key (obtain from FRED API)
Installation
-
Clone the repository:
git clone https://github.com/kablewy/fred-mcp-server cd fred-mcp-server -
Install dependencies:
npm install -
Copy the
.env.examplefile to.envand add your FRED API key:FRED_API_KEY=your_api_key_here
Usage
Development
Run the server in development mode:
npm run dev
Production
-
Build the project:
npm run build -
Start the server:
npm start
Available Tools
The server provides the following FRED API tools:
Series Search
Search for economic data series using various parameters.
Series Observations
Retrieve observations for a specific economic data series with options for:
- Date range filtering
- Frequency adjustment
- Aggregation methods
- Sorting and pagination
Development
Project Structure
fred-mcp-server/ ├── src/ │ ├── index.ts # Server entry point │ ├── tools.ts # Tool implementations │ └── types.ts # TypeScript interfaces ├── package.json ├── tsconfig.json └── .env
Testing
Run the test suite:
npm test
License
[Your chosen license]
Contributing
[Your contribution guidelines]
Acknowledgments
- Built with Model Context Protocol SDK
- Data provided by Federal Reserve Economic Data (FRED)
Dev Tools Supporting MCP
The following are the main code editors that support the Model Context Protocol. Click the link to visit the official website for more information.










