Search and fetch ~800K Federal Reserve economic time-series from the FRED API via MCP. STDIO or Streamable HTTP.
- ✓Actively maintained (<30d)
- ✓Clear description
- ✓Topics declared
- ✓Documented (README)
- !Licence file present but not machine-readable
git clone https://github.com/cyanheads/federal-reserve-mcp-server{
"mcpServers": {
"federal-reserve": {
"command": "node",
"args": ["/path/to/federal-reserve-mcp-server/dist/index.js"],
"env": {
"FRED_API_KEY": "<fred_api_key>"
}
}
}
}FRED_API_KEYMCP Servers overview
<div align="center">
<h1>@cyanheads/federal-reserve-mcp-server</h1>
<p><b>Search and fetch ~800K Federal Reserve economic time-series from the FRED API via MCP. STDIO or Streamable HTTP.</b>
<div>8 Tools</div>
</p>
</div>
<div align="center">
[](./CHANGELOG.md) [](./LICENSE) [](https://github.com/users/cyanheads/packages/container/package/federal-reserve-mcp-server) [](https://modelcontextprotocol.io/) [](https://www.npmjs.com/package/@cyanheads/federal-reserve-mcp-server) [](https://www.typescriptlang.org/) [](https://bun.sh/)
[](https://github.com/cyanheads/federal-reserve-mcp-server/releases/latest/download/federal-reserve-mcp-server.mcpb) [](https://cursor.com/en/install-mcp?name=federal-reserve-mcp-server&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkBjeWFuaGVhZHMvZmVkZXJhbC1yZXNlcnZlLW1jcC1zZXJ2ZXIiXX0=) [](https://vscode.dev/redirect?url=vscode:mcp/install?%7B%22name%22%3A%22federal-reserve-mcp-server%22%2C%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40cyanheads%2Ffederal-reserve-mcp-server%22%5D%7D)
[](https://www.npmjs.com/package/@cyanheads/mcp-ts-core)
</div>
---
## Overview
Economic data from FRED, the St. Louis Fed's database of ~800K time series on output, prices, employment, money, rates, housing, and trade. Search series, pull observations, browse categories and releases, and run SQL over large results.
### Tools
| Tool | Description |
|:-----|:------------|
| `fedreserve_search_series` | Full-text search across FRED series titles, tags, and notes |
| `fedreserve_get_series` | Fetch metadata for one or more series — title, units, frequency, observation range |
| `fedreserve_get_observations` | Fetch date+value observations for one or more series, with date-range and unit-transform filtering |
| `fedreserve_browse_categories` | Navigate the FRED category tree |
| `fedreserve_get_release` | Look up a FRED release by ID or name search, with its associated series |
| `fedreserve_dataframe_describe` | List active DataCanvas dataframes with provenance, schema, and row count |
| `fedreserve_dataframe_query` | Run a SELECT against registered DataCanvas dataframes via DuckDB SQL |
| `fedreserve_dataframe_drop` | Drop a DataCanvas dataframe by name (opt-in) |
## Capability reference
### `fedreserve_search_series` <sub>tool</sub>
- Full-text or series-ID search, with `frequency`, `units`, `seasonal_adjustment`, and `tag_names` filters; `filter_variable` and `filter_value` must be supplied together or the call returns `invalid_filter`
- Pagination via `limit` (default and max 1000) and `offset` (max 4999; FRED caps searchable results at 5000)
- Output includes `active_filters` and `popularity` (0–100) when available; empty results suggest a broader query or category browsing
---
### `fedreserve_get_series` <sub>tool</sub>
- Accepts one series ID or up to 50 per call
- Returns title, units, frequency, seasonal adjustment, observation range, popularity, and notes per series
- Failed IDs in a batch land in a `failed` array with error messages; a single unresolved ID throws `series_not_found`
---
### `fedreserve_get_observations` <sub>tool</sub>
- Accepts one series ID or up to 10, with `observation_start` / `observation_end` (`YYYY-MM-DD`), native unit transforms, and frequency downsampling via `aggregation_method` (`avg`, `sum`, `eop`)
- Returns date/value observations (values are strings that keep trailing zeros) plus per-series failures
- Multi-series or >500-row results go to a DataCanvas table with a 20-row preview; the `notice` names `dataset.name` and the `fedreserve_dataframe_describe` and `fedreserve_dataframe_query` calls to run next. Without canvas, you get a truncated inline preview
---
### `fedreserve_browse_categories` <sub>tool</sub>
- Omit `category_id` to start at the root (ID 0); returns the category and its children, or up to 10 sample series for a leaf
- An unknown `category_id` throws `category_not_found`
---
### `fedreserve_get_release` <sub>tool</sub>
- Takes exactly one of `release_id` or `release_search` (case-insensitive name substring)
- Returns release name, link, notes, the next five scheduled dates, and a paginated series list (`series_limit` max 1000, `series_offset`)
- An ambiguous name returns up to 10 `search_alternatives`; retry with the exact `release_id`
---
### `fedreserve_dataframe_describe` <sub>tool</sub>
- Lists active DataCanvas dataframes, newest first, or one by `name`
- Each entry carries `source_tool`, `query_params`, `created_at`, `expires_at`, `row_count`, `truncated` / `max_rows`, and `column_schema`
---
### `fedreserve_dataframe_query` <sub>tool</sub>
- Runs one read-only DuckDB SELECT against `df_<id>` tables (joins, aggregates, window functions, CTEs); external files, system catalogs, and engine-setting functions are blocked
- `row_limit` caps returned rows (default 1000, max 10000) and `preview` sets the inline sample; BIGINT results serialize as strings
- `register_as` saves the result as a new dataframe with its own TTL
---
### `fedreserve_dataframe_drop` <sub>tool</sub>
- Opt-in: enabled by `FRED_DATAFRAME_DROP_ENABLED=true`, otherwise registered as disabled
- Drops the named dataframe early; returns `dropped: false` when it doesn't exist
## Features
Built on [`@cyanheads/mcp-ts-core`](https://github.com/cyanheads/mcp-ts-core): stdio and Streamable HTTP transports, pluggable auth (`none` / `jwt` / `oauth`), swappable storage (`in-memory`, `filesystem`, `Supabase`, `Cloudflare KV/R2/D1`), structured logging with optional OpenTelemetry tracing.
FRED-specific:
- Requires a `FRED_API_KEY` for the FRED API (up to 120 requests/minute)
- Unit transforms and frequency downsampling run on FRED's side against the full series history
- Large observation results spill to DataCanvas tables you can query with SQL
- Dataframe tools require `CANVAS_PROVIDER_TYPE=duckdb` and report `canvas_unavailable` otherwise
Agent-friendly output:
- Partial failures: `fedreserve_get_series` and `fedreserve_get_observations` return per-ID `failed` rows instead of failing the whole request
- Ambiguous release names return `search_alternatives` instead of a guess
- Every dataframe carries `source_tool`, `query_params`, and TTL fields
- Without DataCanvas, `fedreserve_get_observations` returns a truncated inline preview with an explanatory `message`
## Getting started
Add the following to your MCP client configuration file. Obtain a free FRED API key at [research.stlouisfed.org/docs/api/api_key.html](https://research.stlouisfed.org/docs/api/api_key.html).
```json
{
"mcpServers": {
"federal-reserve-mcp-server": {
"type": "stdio",
"command": "bunx",
"args": ["@cyanheads/federal-reserve-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FRED_API_KEY": "your-api-key"
}
}
}
}
```
Or with npx (no Bun required):
```json
{
"mcpServers": {
"federal-reserve-mcp-server": {
"type": "stdio",
"command": "npx",
"args": ["-y", "@cyanheads/federal-reserve-mcp-server@latest"],
"env": {
"MCP_TRANSPORT_TYPE": "stdio",
"MCP_LOG_LEVEL": "info",
"FRED_API_KEY": "your-api-key"
}
}
}
}
```
Or with Docker:
```json
{
"mcpServers": {
"federal-reserve-mcp-server": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "MCP_TRANSPORT_TYPE=stdio",
"-e", "FRED_API_KEY=your-api-key",
"ghcr.io/cyanheads/federal-reserve-mcp-server:latest"
]
}
}
}
```
For Streamable HTTP, set the transport and start the server:
```sh
MCP_TRANSPORT_TYPE=http MCP_HTTP_PORT=3010 FRED_API_KEY=... bun run start:http
# Server listens at http://localhost:3010/mcp
```
### Prerequisites
- [Bun v1.4.0](https://bun.sh/) or higher (or Node.js v24+).
- A free FRED API key from [stlouisfed.org](https://fredaccount.stlouisfed.org/login/secure/). The key grants 120 requests/minute.
### Installation
1. **Clone the repository:**
```sh
git clone https://github.com/cyanheads/federal-reserve-mcp-server.git
```
2. **Navigate into the directory:**
```sh
cd federal-reserve-mcp-server
```
3. **Install dependencies:**
```sh
bun install
```
4. **Configure environment:**
```sh
cp .env.example .env
# edit .env and set FRED_API_KEY
```
## Configuration
All configuration is validated at startup via Zod schemas in `src/config/server-config.ts`.
| Variable | Description | Default |
|:---------|:------------|:--------|
| `FRED_API_KEY` | **Required.** API key from [stlouisfed.org](https://research.stlouisfed.org/docs/api/api_key.html). | — |
| `FRED_BASE_URL` | Override the FRED API base URL. | `https://api.stlouisfed.org/fred` |
| `FRED_DATASET_TTL_SECONDS` | TTL for DataCanvas observation tables, in seconds. | `86400` |
| `FRED_DATAFRAME_DROP_ENABWhat people ask about federal-reserve-mcp-server
What is cyanheads/federal-reserve-mcp-server?
+
cyanheads/federal-reserve-mcp-server is mcp servers for the Claude AI ecosystem. Search and fetch ~800K Federal Reserve economic time-series from the FRED API via MCP. STDIO or Streamable HTTP. It has 1 GitHub stars and its last recorded update is dated 2026-10-17.
How do I install federal-reserve-mcp-server?
+
You can install federal-reserve-mcp-server by cloning the repository (https://github.com/cyanheads/federal-reserve-mcp-server) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.
Is cyanheads/federal-reserve-mcp-server safe to use?
+
Our security agent has analyzed cyanheads/federal-reserve-mcp-server and assigned a Trust Score of 80/100 (tier: Trusted). See the full breakdown of passed checks and flags on this page.
Who maintains cyanheads/federal-reserve-mcp-server?
+
cyanheads/federal-reserve-mcp-server is maintained by cyanheads. The last recorded GitHub activity is dated 2026-10-17, with 0 open issues.
Are there alternatives to federal-reserve-mcp-server?
+
Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.
Deploy federal-reserve-mcp-server to your cloud
Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.
Maintain this repo? Add a badge to your README
Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.
[](https://claudewave.com/repo/cyanheads-federal-reserve-mcp-server)<a href="https://claudewave.com/repo/cyanheads-federal-reserve-mcp-server"><img src="https://claudewave.com/api/badge/cyanheads-federal-reserve-mcp-server" alt="Featured on ClaudeWave: cyanheads/federal-reserve-mcp-server" width="320" height="64" /></a>More MCP Servers
Reverse engineer anything with agents, from app behavior down to native binaries.
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
An open-source AI agent that brings the power of Gemini directly into your terminal.
Real-time global intelligence dashboard. AI-powered news aggregation, geopolitical monitoring, and infrastructure tracking in a unified situational awareness interface
🕷️ A Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev