
A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

An MCP server that lets AI assistants retrieve economic time series data from the Federal Reserve Economic Data (FRED) API through the Model Context Protocol.
FRED Economic Data MCP Server is cataloged as an MCP server attributed to jaldekoa. An MCP server that lets AI assistants retrieve economic time series data from the Federal Reserve Economic Data (FRED) API through the Model Context Protocol. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for FRED Economic Data MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, the README states you will need a FRED API key, which can be obtained from FRED.
It focuses on the series_observations endpoint, which provides time series data for economic indicators.
README.md · 000208215ced · 采集于 2026-11-13 10:29:10 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
FRED (Federal Reserve Economic Data) API integration with Model Context Protocol (MCP)
MCP-FREDAPI provides access to economic data from the Federal Reserve Bank of St. Louis (FRED) through the Model Context Protocol. This integration allows AI assistants like Claude to retrieve economic time series data directly when used with Cursor or other MCP-compatible environments.
This package integrates with the official FRED API, focusing specifically on the series_observations endpoint which provides time series data for economic indicators.
There are two installation methods:
Install the required dependencies:
pip install "mcp[cli]" httpx python-dotenv
Clone this repository:
git clone https://github.com/Jaldekoa/mcp-fredapi.git
cd mcp-fredapi
This method is recommended as it matches the configuration shown in mcp.json.
pip install uv
git clone https://github.com/Jaldekoa/mcp-fredapi.git
cd mcp-fredapi
uv run --with mcp --with httpx mcp run server.py
You'll need a FRED API key, which you can obtain from FRED API.
Create a .env file in the project root:
FRED_API_KEY=your_api_key_here
To configure Cursor to use this MCP server, add the following to your ~/.cursor/mcp.json file:
{
"mcpServers": {
"mcp-fredapi": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-fredapi", "run", "--with", "mcp", "--with", "httpx", "mcp", "run", "server.py"]
}
}
}
Replace /path/to/mcp-fredapi with the actual path to the repository on your system. For example:
{
"mcpServers": {
"mcp-fredapi": {
"command": "uv",
"args": ["--directory", "/path/to/mcp-fredapi", "run", "--with", "mcp", "--with", "httpx", "mcp", "run", "server.py"]
}
}
}
Note: On Windows, you can use either forward slashes / or double backslashes \\ in the path.
Retrieves economic time series observations from FRED.
When using Claude in Cursor, you can access this tool directly with:
@mcp-fredapi:get_fred_series_observations
The get_fred_series_observations tool accepts the following parameters. For complete technical details about each parameter, please refer to the official FRED API documentation.
| Parameter | Type | Description | Allowed Values | Default Value | Status |
|---|---|---|---|---|---|
| series_id | str | The ID of the economic series | - | (Required) | ✅ Works |
| sort_order | str | Sort order of observations | 'asc', 'desc' | 'asc' | ✅ Works |
| units | str | Data value transformation | 'lin', 'chg', 'ch1', 'pch', 'pc1', 'pca', 'cch', 'cca', 'log' | 'lin' | ✅ Works |
| frequency | str | Frequency of observations | 'd', 'w', 'bw', 'm', 'q', 'sa', 'a', 'wef', 'weth', 'wew', 'wetu', 'wem', 'wesu', 'wesa', 'bwew', 'bwem' | None | ✅ Works |
| aggregation_method | str | Aggregation method for frequency | 'avg', 'sum', 'eop' | 'avg' | ✅ Works |
| output_type | int | Output type of observations | 1, 2, 3, 4 | 1 | ✅ Works |
| realtime_start | str | Start of real-time period (YYYY-MM-DD) | - | None | ❌ Not working |
| realtime_end | str | End of real-time period (YYYY-MM-DD) | - | None | ❌ Not working |
| limit | int/str | Maximum number of observations to return | Between 1 and 100000 | 10 | ❌ Not working |
| offset | int/str | Number of observations to skip from the beginning | - | 0 | ❌ Not working |
| observation_start | str | Start date of observations (YYYY-MM-DD) | - | None | ❌ Not working |
| observation_end | str | End date of observations (YYYY-MM-DD) | - | None | ❌ Not working |
| vintage_dates | str | Comma-separated list of vintage dates | - | None | ❌ Not working |
[!WARNING]
Due to current limitations with the MCP implementation, only certain parameters are working properly:
- ✅ Working parameters:
series_id,sort_order,units,frequency, aggregation_method, andoutput_type`.- ❌ Non-working parameters:
realtime_start,realtime_end,limit,offset,observation_start,observation_end, andvintage_dates.For best results, stick with the working parameters in your queries. Future updates may resolve these limitations.
When using Claude in Cursor, you can ask for GDP data like this:
Can you get the latest GDP data from FRED?
@mcp-fredapi:get_fred_series_observations
{
"series_id": "GDP"
}
Can you get the GDP data in descending order (newest first)?
@mcp-fredapi:get_fred_series_observations
{
"series_id": "GDP",
"sort_order": "desc"
}
Can you get annual GDP data?
@mcp-fredapi:get_fred_series_observations
{
"series_id": "GDP",
"frequency": "a"
}
To get consumer price index data with percent change:
What's the recent inflation rate in the US?
@mcp-fredapi:get_fred_series_observations
{
"series_id": "CPIAUCSL",
"units": "pch",
"frequency": "m"
}
Show me GDP data in a different format.
@mcp-fredapi:get_fred_series_observations
{
"series_id": "GDP",
"output_type": 2
}
Contributions are welcome. Please follow these steps:
git checkout -b feature/amazing-feature)git commit -m 'Add an amazing feature')git push origin feature/amazing-feature)This project is licensed under the MIT License - see the LICENSE file for details.
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for FRED Economic Data MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-fredapi)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.