FredSAFE
Open-source FRED MCP Server (Federal Reserve Economic Data)
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
[](https://www.npmjs.com/package/fred-mcp-server) [](https://doi.org/10.5281/zenodo.14536707) [](https://www.gnu.org/licenses/agpl-3.0) [](https://github.com/stefanoamorelli/fred-mcp-server/actions/workflows/test.yml) [](https://fred-mcp-server.amorelli.tech)
[!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/e008db79e697OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add fred-mcp-server --env FRED_API_KEY=${FRED_API_KEY} -- npx -y [email protected]{
"mcpServers": {
"fred-mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"FRED_API_KEY": "${FRED_API_KEY}"
}
}
}
}Exposed tools (3)
3 read · 0 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
fred_browse | read | |
fred_get_series | read | |
fred_search | read |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | PASS |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (1 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (10)
import { FREDServerWrapper } from '../../src/index.wrapper.js';import * as indexModule from '../../src/index.js';
import { TTLCache } from '../../../src/common/cache.js';import { FREDClient } from '../../../src/common/fred-client.js';import { FREDApiError } from '../../../src/common/errors.js';@modelcontextprotocol/sdk, express, zod, @jest/globals, @types/express, @types/jest, @types/node, jest
- Enable 2FA on GitHub or any platform with elevated access.
Unsigned or anonymous commits may be flagged and rejected in pull requests, especially for contributors with elevated privileges. See [GitHub’s documentation on signing commits](https://docs.github.co
Access to the FRED API requires a free API key. This guide covers how to obtain and configure your API key securely.
Add to your shell profile (`~/.bashrc`, `~/.zshrc`, etc.):
Gates applied: no_behavioural_pass.
e008db79e697full audit observations/trust-audit/mcp-server/stefanoamorelli__fred-1.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | e008db79e697 | SAFE | B | 89 | first audit |
Questions
What is the Fred MCP server?
Open-source FRED MCP Server (Federal Reserve Economic Data)
What tools does Fred expose?
3 in total: 3 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Fred safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Fred need?
It reads FRED_API_KEY from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Fred run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as fred-mcp-server at 1.2.0.
How current is this page?
The grade is for one exact copy of the source (e008db79e697), read on 2026-10-07. The repository is watched and re-audited when it changes.