Skip to main content
Glama

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

FRED MCP 服务器

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

先决条件

  • Node.js(v16 或更高版本)

  • FRED API 密钥(从FRED API获取)

Related MCP server: Financial Modeling Prep MCP Server

安装

  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

执照

[您选择的许可证]

贡献

[您的贡献指南]

致谢

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/kablewy/fred-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server