FRED MCP Server Integration
Integrate the FRED MCP Server with FlowHunt to automate economic research, enable AI-powered data analysis, and access authoritative US and global financial datasets in your AI projects.

What does “FRED” MCP Server do?
The Federal Reserve Economic Data (FRED) MCP Server is an open-source implementation of the Model Context Protocol (MCP) that allows AI assistants and development tools to connect directly to the vast economic and financial datasets provided by the Federal Reserve Bank of St. Louis’ FRED API. By acting as a bridge between AI clients and external data, the FRED MCP Server enables powerful workflows such as querying time-series data, accessing economic indicators, and retrieving historical financial information. This integration empowers developers and AI agents to automate research, provide data-driven insights, and support analytical tasks using up-to-date federal economic data—all within the context of their applications or LLM-based agents.
List of Prompts
No prompt templates are mentioned in the repository or its documentation.
List of Resources
- FRED Economic Data Series
Provides access to over 800,000 US and international time-series economic data series from the Federal Reserve Bank of St. Louis. - Economic Indicators
Exposes commonly referenced economic indicators (GDP, CPI, unemployment rates, etc.) as structured data resources. - Historical Financial Data
Enables retrieval of historical prices, interest rates, and other financial series for longitudinal analysis. - Metadata for Series
Supplies metadata (source, frequency, units, etc.) for each data series, allowing for better contextualization and filtering.
List of Tools
- query_series
Enables querying specific FRED data series by their ID, returning the latest or historical data points for analysis. - search_series
Allows searching for FRED series based on keywords, categories, or metadata filters, helping users discover relevant datasets. - get_series_info
Retrieves metadata and descriptive information about a given FRED series, such as its description, frequency, and units.
Use Cases of this MCP Server
- Economic Research Automation
Automate the retrieval of up-to-date economic indicators and time-series for use in economic analysis and reporting. - Financial Application Integration
Integrate FRED data into dashboards, trading platforms, or analytics tools to provide real-time economic context. - AI-Driven Data Analysis
Enable LLMs or AI agents to answer questions or generate reports using authoritative economic data pulled directly from FRED. - Academic and Policy Studies
Streamline the process of gathering historical data for research, econometric studies, and policy analysis. - Data Enrichment for Visualizations
Power data visualizations and business intelligence reports with reliable, up-to-date macroeconomic data.
How to set it up
Windsurf
- Ensure Node.js is installed on your machine.
- Locate the Windsurf configuration file (usually
windsurf.config.json
). - Add the FRED MCP Server to your
mcpServers
section with the following JSON:{ "fred-mcp-server": { "command": "npx", "args": ["@stefanoamorelli/fred-mcp-server@latest"] } }
- Save the file and restart Windsurf.
- Verify the setup by checking that the FRED MCP Server is listed as an available tool.
Claude
- Install Node.js if not already present.
- Open the Claude Desktop or Claude configuration file.
- Add this entry to your MCP servers section:
{ "fred-mcp-server": { "command": "npx", "args": ["@stefanoamorelli/fred-mcp-server@latest"] } }
- Save changes and restart Claude.
- Confirm that the server is active in the Claude UI.
Cursor
- Make sure Node.js is installed.
- Open Cursor’s configuration panel or config file.
- Insert the following under the
mcpServers
object:{ "fred-mcp-server": { "command": "npx", "args": ["@stefanoamorelli/fred-mcp-server@latest"] } }
- Save and relaunch Cursor.
- Verify FRED MCP is available as a tool.
Cline
- Install Node.js.
- Edit Cline’s main config file to include:
{ "fred-mcp-server": { "command": "npx", "args": ["@stefanoamorelli/fred-mcp-server@latest"] } }
- Save and restart Cline.
- Check that the server appears in the MCP tool list.
Securing API Keys
Store your FRED API key as an environment variable to keep it secure:
{
"fred-mcp-server": {
"command": "npx",
"args": ["@stefanoamorelli/fred-mcp-server@latest"],
"env": {
"FRED_API_KEY": "your_fred_api_key_here"
},
"inputs": {}
}
}
Replace "your_fred_api_key_here"
with your actual API key. This prevents hardcoding sensitive information in configuration files.
How to use this MCP inside flows
Using MCP in FlowHunt
To integrate MCP servers into your FlowHunt workflow, start by adding the MCP component to your flow and connecting it to your AI agent:

Click on the MCP component to open the configuration panel. In the system MCP configuration section, insert your MCP server details using this JSON format:
{
"fred-mcp-server": {
"transport": "streamable_http",
"url": "https://yourmcpserver.example/pathtothemcp/url"
}
}
Once configured, the AI agent is now able to use this MCP as a tool with access to all its functions and capabilities. Remember to change “fred-mcp-server” to whatever the actual name of your MCP server is and replace the URL with your own MCP server URL.
Overview
Section | Availability | Details/Notes |
---|---|---|
Overview | ✅ | |
List of Prompts | ⛔ | No prompt templates found |
List of Resources | ✅ | Economic data, indicators, metadata, etc. |
List of Tools | ✅ | query_series, search_series, get_series_info |
Securing API Keys | ✅ | Uses env vars in config |
Sampling Support (less important in evaluation) | ⛔ | Not mentioned |
Based on the tables, the FRED MCP Server provides core MCP features such as tools and resources, but lacks prompt templates and explicit support for advanced features like sampling. The documentation is clear, installation is straightforward, and API key security is addressed. Overall, it’s a solid and practical MCP server for economic data integration.
MCP Score
Has a LICENSE | ✅ (Apache-2.0) |
---|---|
Has at least one tool | ✅ |
Number of Forks | 2 |
Number of Stars | 14 |
Frequently asked questions
- What is the FRED MCP Server?
The FRED MCP Server is an open-source implementation of the Model Context Protocol that connects AI assistants and development tools to the vast economic datasets from the Federal Reserve Bank of St. Louis via the FRED API. It enables automated queries, data retrieval, and analysis of financial indicators and time-series.
- What tools does the FRED MCP Server offer?
It provides tools like query_series (retrieve data points for a given series ID), search_series (search FRED datasets by keywords or metadata), and get_series_info (access metadata, frequency, and descriptions for any series).
- How do I secure my FRED API key?
Store your API key as an environment variable in your MCP server configuration. This avoids hardcoding sensitive keys and keeps your integration secure.
- What are common use cases for the FRED MCP Server?
Common uses include economic research automation, powering dashboards and financial platforms, enriching AI-driven data analysis, supporting academic studies, and driving real-time data visualizations with up-to-date economic information.
- Does this MCP Server support prompt templates or advanced features?
No prompt templates are included. The server focuses on providing core tools and resources for economic data integration via the MCP protocol.
Connect FlowHunt to FRED Data
Unlock powerful AI workflows and real-time economic analysis by integrating the FRED MCP Server with FlowHunt.