FRED
A local MCP server that gives Claude and other MCP clients access to Federal Reserve Economic Data (FRED) — 800,000+ economic time series covering GDP, inflation, employment, interest rates, and more.
README
FRED MCP Server
A local Model Context Protocol server that gives Claude and other MCP clients access to Federal Reserve Economic Data (FRED) — 800,000+ economic time series covering GDP, inflation, employment, interest rates, and more.
Tools
| Tool | Description |
|---|---|
search_series |
Find a series by natural-language query (e.g. "unemployment rate"), returns the most relevant series_ids ordered by popularity. |
get_series_info |
Metadata for a series — title, units, frequency, date range, and notes. |
get_observations |
The actual time-series values, with optional transforms (e.g. year-over-year %) and frequency aggregation. |
Prerequisites
- Python 3.10+
- uv — used to manage the environment and run the server
- A free FRED API key — get one at fredaccount.stlouisfed.org/apikey
Installation
git clone https://github.com/yifudiao/fred-mcp.git
cd fred-mcp
uv sync
Use with Claude Desktop
Quick install (recommended)
From the project directory:
uv run mcp install server.py --name "FRED" -v FRED_API_KEY=your_key
This writes the connector into Claude Desktop's config for you. Fully quit and reopen Claude Desktop (closing the window is not enough) and the FRED tools will appear.
Manual config
Alternatively, edit claude_desktop_config.json directly
(Claude Desktop → Settings → Developer → Edit Config):
{
"mcpServers": {
"fred": {
"command": "uv",
"args": ["--directory", "/ABSOLUTE/PATH/TO/fred-mcp", "run", "server.py"],
"env": { "FRED_API_KEY": "your_key" }
}
}
}
The --directory flag is what makes uv use this project (and its installed
dependencies) regardless of where Claude Desktop launches the process from.
Use with Claude Code
claude mcp add fred -s user -e FRED_API_KEY=your_key -- \
uv --directory /ABSOLUTE/PATH/TO/fred-mcp run server.py
-s usermakes the server available across all your projects (drop it to scope it to the current project).- Verify with
claude mcp list, or/mcpinside a session.
For a project-scoped, committable setup, add a .mcp.json to your project root with the
same command instead.
Try it out
Example prompts:
- Using fred, what is the current unemployment rate?
- Using fred, look at the recession indicators, summarize them in a table and assign a probability of recession in 2026.
Notes & troubleshooting
- Editing the server: changes to
server.pyare picked up on the next Claude Desktop restart — no reinstall needed. Don't move or rename the project folder, though; the config points at its absolute path. - Never
print()to stdout in a tool. stdout is the JSON-RPC channel for stdio transport; use the MCPContextlogging methods or write to stderr. - Result-size limit: Claude caps tool results at ~150k characters, so
get_observationslimits the number of points returned. For long daily series, usefrequencyto aggregate rather than raising the limit. uv: command not found: GUI apps on macOS don't inherit your shell's PATH, so a freshly installeduvin~/.local/binmay not be found. Fix by using the absolute path touv(which uv) as thecommandin your config.- Logs: on macOS, see
~/Library/Logs/Claude/mcp-server-*.logfor the spawned server's stdout/stderr — the fastest way to diagnose a failed launch.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。