FRED MCP Server
以下是以正确的 markdown 格式编写的 README:
FRED MCP 服务器
用于访问美联储经济数据 (FRED) API 的模型上下文协议 (MCP) 服务器实现。该服务器提供从 FRED 搜索和检索经济数据系列的工具。
先决条件
Node.js(v16 或更高版本)
FRED API 密钥(从FRED API获取)
Related MCP server: FRED MCP Server
安装
克隆存储库:
git clone https://github.com/kablewy/fred-mcp-server cd fred-mcp-server安装依赖项:
npm install将
.env.example文件复制到.env并添加您的 FRED API 密钥:FRED_API_KEY=your_api_key_here
用法
发展
以开发模式运行服务器:
npm run dev生产
构建项目:
npm run build启动服务器:
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执照
[您选择的许可证]
贡献
[您的贡献指南]
致谢
使用模型上下文协议 SDK构建
数据由美联储经济数据(FRED)提供
Available Tools
2 toolsTool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have distinct purposes: 'search' is for finding data series, while 'series' is for retrieving observations for a specific series. There is minimal overlap, though the 'advanced options' in both descriptions could cause slight confusion if not detailed further, but the core functions are clearly separated.
Both tool names are single, lowercase nouns ('search' and 'series'), which is consistent and simple. There are no mixed conventions or deviations, making the naming pattern predictable and easy to understand.
With only 2 tools, the server feels thin for a data service like FRED, which typically involves more operations such as listing categories, getting metadata, or managing favorites. This limited set may hinder agents from performing comprehensive tasks in the domain.
The tool surface is severely incomplete for a FRED server. It lacks essential operations like listing available series categories, retrieving series metadata, or supporting updates and deletions. Agents will face significant gaps when trying to navigate or manipulate FRED data beyond basic search and observation retrieval.
Related MCP Connectors
Hosted MCP server for SEC, FRED, Polymarket, Deribit, OKX, and FMP.
FRED MCP — Federal Reserve Economic Data (St. Louis Fed)
FRED macro data, Treasury yields, FX rates & macro indicators for AI agents. Pay-per-query via x402.
Equip AI with tools for researching economic data from Federal Reserve Economic Data (FRED).
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides access to economic data from the Federal Reserve Bank of St. Louis (FRED) through the Model Context Protocol, allowing AI assistants to retrieve economic time series data directly.16MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that provides access to Federal Reserve Economic Data (FRED), enabling users to retrieve, analyze, and compare economic indicators and time series data through natural language.2-
- AlicenseNot gradedqualityBmaintenanceAn MCP server that wraps the Federal Reserve Economic Data (FRED) API, providing access to over 800,000 economic time series like GDP and unemployment. It enables AI agents to search for data, retrieve metadata, and fetch historical observations directly from the St. Louis Fed.Apache 2.0
- FlicenseNot gradedqualityDmaintenanceFastMCP server for querying FRED financial and macroeconomic data, providing tools to search and retrieve economic indicators.-