MCP-FREDAPI provides a bridge to the Federal Reserve Economic Data (FRED) API, enabling AI assistants to retrieve economic data series observations with customizable parameters. Built with Python using FastMCP, this implementation by Jon Aldekoa allows querying time series data with options for date ranges, frequency aggregation, data transformations, and output formatting. The server handles API key management through environment variables and offers robust error handling for failed requests. It's particularly useful for economic analysis, financial research, and data visualization applications that require access to official U.S. economic indicators and historical data.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Retrieves economic time series observations from FRED. Parameters include series_id (str, required), sort_order (str, optional, default 'asc'), units (str, optional, default 'lin'), frequency (str, optional), aggregation_method (str, optional, default 'avg'), output_type (int, optional, default 1), among others.