FRED MCP Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Uses .ENV to manage environment variables, particularly for storing and accessing the FRED API key securely.

  • Supports Git for version control, with instructions for cloning the repository as part of the installation process.

  • Hosts the repository at github.com/kablewy/fred-mcp-server, allowing for easy distribution and installation.

以下是以正确的 markdown 格式编写的 README:

FRED MCP 服务器

用于访问美联储经济数据 (FRED) API 的模型上下文协议 (MCP) 服务器实现。该服务器提供从 FRED 搜索和检索经济数据系列的工具。

先决条件

  • Node.js(v16 或更高版本)
  • FRED API 密钥(从FRED API获取)

安装

  1. 克隆存储库:
    git clone https://github.com/kablewy/fred-mcp-server cd fred-mcp-server
  2. 安装依赖项:
    npm install
  3. .env.example文件复制到.env并添加您的 FRED API 密钥:
    FRED_API_KEY=your_api_key_here

用法

发展

以开发模式运行服务器:

npm run dev

生产

  1. 构建项目:
    npm run build
  2. 启动服务器:
    npm start

可用工具

服务器提供以下FRED API工具:

系列搜索

使用各种参数搜索经济数据系列。

系列观测值

检索特定经济数据系列的观测数据,选项如下:

  • 日期范围过滤
  • 频率调节
  • 聚合方法
  • 排序和分页

发展

项目结构

fred-mcp-server/ ├── src/ │ ├── index.ts # Server entry point │ ├── tools.ts # Tool implementations │ └── types.ts # TypeScript interfaces ├── package.json ├── tsconfig.json └── .env

测试

运行测试套件:

npm test

执照

[您选择的许可证]

贡献

[您的贡献指南]

致谢

You must be authenticated.

A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

模型上下文协议服务器提供从联邦储备经济数据 (FRED) API 搜索和检索经济数据系列的工具。

  1. Prerequisites
    1. Installation
      1. Usage
        1. Development
        2. Production
      2. Available Tools
        1. Series Search
        2. Series Observations
      3. Development
        1. Project Structure
        2. Testing
      4. License
        1. Contributing
          1. Acknowledgments
            ID: c6jnc44poi