SF

stefanoamorelli/fred-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

135 stars 44 forks 质量 77 趋势 4AGPL-3.0

stefanoamorelli/fred-mcp-server 是从 https://github.com/stefanoamorelli/fred-mcp-server. 导入的 MCP 服务器候选

概览

stefanoamorelli/fred-mcp-server 是从 https://github.com/stefanoamorelli/fred-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

[!重要] 免责声明:本开源项目与联邦储备或圣路易斯联邦储备银行无关联、不赞助或背书。“FRED”是圣路易斯联邦储备银行的注册商标,此处仅用于描述性。

一个模型上下文协议(MCP)服务器,通过三种强大的工具,提供对所有80万+美联储经济数据(FRED)®时间序列的通用访问。

https://github.com/user-attachments/assets/66c7f3ad-7b0e-4930-b1c5-a675a7eb1e09

[!提示] 如果您在研究或工作中使用本项目,请使用 CITATION.cff 文件引用,或使用以下引用:

APA格式:

BibTeX:

安装

手动安装

  1. 克隆仓库:

  2. 安装依赖:

  3. 建设项目:

配置

该服务器需要FRED® API密钥。你可以从FRED®官网获取。

例如,在 Claude Desktop 上安装服务器,修改 claude_desktop_config.json 文件并添加以下配置:

使用 Docker

你也可以用 Docker 运行 FRED MCP 服务器。将此配置添加到你的 claude_desktop_config.json:

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Federal Reserve Economic Data MCP Server

[!IMPORTANT] Disclaimer: This open-source project is not affiliated with, sponsored by, or endorsed by the Federal Reserve or the Federal Reserve Bank of St. Louis. “FRED” is a registered trademark of the Federal Reserve Bank of St. Louis, used here for descriptive purposes only.

A Model Context Protocol (MCP) server providing universal access to all 800,000+ Federal Reserve Economic Data (FRED®) time series through three powerful tools.

https://github.com/user-attachments/assets/66c7f3ad-7b0e-4930-b1c5-a675a7eb1e09

[!TIP] If you use this project in your research or work, please cite it using the CITATION.cff file, or use the following citation:

APA Format:

Amorelli, S. (2025). Federal Reserve Economic Data MCP (Model Context Protocol) Server (Version 1.0.2) [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.14536707

BibTeX:

@software{amorelli_2025_14536707,
  author       = {Amorelli, Stefano},
  title        = {{Federal Reserve Economic Data MCP (Model Context
                   Protocol) Server}},
  month        = jan,
  year         = 2025,
  publisher    = {Zenodo},
  version      = {1.0.2},
  doi          = {10.5281/zenodo.14536707},
  url          = {https://doi.org/10.5281/zenodo.14536707}
}

Installation

Manual Installation

  1. Clone the repository:
    git clone https://github.com/stefanoamorelli/fred-mcp-server.git
    cd fred-mcp-server
    
  2. Install dependencies:
    pnpm install
    
  3. Build the project:
    pnpm build
    

Configuration

This server requires a FRED® API key. You can obtain one from the FRED® website.

Install the server, for example, on Claude Desktop, modify the claude_desktop_config.json file and add the following configuration:

{
  "mcpServers": {
    "FRED MCP Server": {
      "command": "/usr/bin/node",
      "args": [
        "/fred-mcp-server/build/index.js"
      ],
      "env": {
        "FRED_API_KEY": ""
      }
    }
  }
}

Using Docker

在 GitHub 查看完整 README

安装

docker run -i --rm -e FRED_API_KEY=<your-key-here> stefanoamorelli/fred-mcp-server:latest
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "FRED MCP Server": { "command": "/usr/bin/node", "args": [ "<PATH_TO_YOUR_CLONED_REPO>/fred-mcp-server/build/index.js" ], "env": { "FRED_API_KEY": "<YOUR_API_KEY>" } } } }