CCM
/MCP
SkillsMCPMarketplacesDigestToolsAdvertise

This week in Claude

Every Monday: Claude Code, Agent SDK, MCP, and the Anthropic platform moves worth your time.

Skills by Category
Frontend DevelopmentBackend & APIsTesting & QASecurityDevOps & CI/CDGit & Pull RequestsDocumentationCode Review & QualityAI & Agent BuildingSkill Development
MCP Servers by Category
Sales & MarketingWeb & Browser AutomationDatabasesAI & LLM ToolsCloud & InfrastructureCommunication & MessagingDeveloper ToolsDesign & CreativeDocuments & KnowledgeSearch & Web Crawling
Marketplaces by Category
AI Agents & OrchestrationLLM IntegrationDevelopment ToolsFrontend & UIBackend & APIsDatabasesTesting & Code QualityDevOps & CloudSecurity & ComplianceGit & Version Control

Claude Code Marketplaces

Discover Claude Code plugins, extensions, and tools. Automatically updated directory of Anthropic Claude AI marketplaces with development tools, productivity plugins, and integrations.

Resources

  • Browse Skills
  • Browse MCP Servers
  • Browse Marketplaces
  • Skill index
  • MCP index
  • Marketplace index
  • Plugins Reference

Community

  • About
  • Tools
  • Feedback
  • Privacy Policy
  • Advertise

Built for the Claude Code community with Claude Code by mertbuilds.com

Independent project, not affiliated with Anthropic
cyanheads avatar

Federal Reserve Mcp Server

cyanheads/federal-reserve-mcp-server
1authSTDIO, HTTPregistry active
Summary

Plugs Claude directly into the Federal Reserve's FRED API to search, fetch, and analyze 800,000 economic time series. Five FRED tools let you search series by keyword, pull metadata, retrieve observations with date filtering and unit transformations, browse the category tree, and inspect data releases. Three DataCanvas tools handle spillover when you fetch multi-series or large datasets, letting you run SQL queries against the results. Built for economic analysis workflows where you need programmatic access to GDP figures, unemployment rates, inflation metrics, or any other Fed dataset without leaving your conversation. Supports parallel multi-series requests and gracefully handles FRED's rate limits with retry backoff.

CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Lid closed, agents working
Lid closed, agents working
Keeps your Mac awake while Claude Code, Codex or Cursor works. Lets it sleep when they are done.
Try free for 7 days →
Block distraction from your iPhone for freeBlock distraction from your iPhone for free
Block distraction from your iPhone for free
Block distracting apps from your iPhone permanently without a 3rd party app. Free and open source.
Block now (100% free) →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Lid closed, agents working
Lid closed, agents working
Keeps your Mac awake while Claude Code, Codex or Cursor works. Lets it sleep when they are done.
Try free for 7 days →
Block distraction from your iPhone for freeBlock distraction from your iPhone for free
Block distraction from your iPhone for free
Block distracting apps from your iPhone permanently without a 3rd party app. Free and open source.
Block now (100% free) →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →

@cyanheads/federal-reserve-mcp-server

Search and fetch ~800K Federal Reserve economic time-series from the FRED API via MCP. STDIO or Streamable HTTP.

8 Tools

Version License Docker MCP SDK npm TypeScript Bun

Install in Claude Desktop Install in Cursor Install in VS Code

Framework


Overview

Federal Reserve economic data from the FRED API (Federal Reserve Bank of St. Louis) — ~800K time series covering output, prices, employment, money, rates, housing, trade, and international macro. Search series, fetch metadata and observations, browse the category tree, look up releases, and query large result sets with SQL over DataCanvas. Runs as a stdio process or a local Streamable HTTP server.

Tools

ToolDescription
fedreserve_search_seriesFull-text search across FRED series titles, tags, and notes
fedreserve_get_seriesFetch metadata for one or more series — title, units, frequency, observation range
fedreserve_get_observationsFetch date+value observations for one or more series, with date-range and unit-transform filtering
fedreserve_browse_categoriesNavigate the FRED category tree
fedreserve_get_releaseLook up a FRED release by ID or name search, with its associated series
fedreserve_dataframe_describeList active DataCanvas dataframes with provenance, schema, and row count
fedreserve_dataframe_queryRun a SELECT against registered DataCanvas dataframes via DuckDB SQL
fedreserve_dataframe_dropDrop a DataCanvas dataframe by name (opt-in)

Capability reference

fedreserve_search_series tool

  • Full-text or series-ID search, with frequency, units, seasonal_adjustment, and tag_names filters
  • Pagination via limit (default and max 1000) and offset (max 4999; FRED caps searchable results at 5000)
  • Output includes active_filters when applied and popularity (0–100) when FRED provides it; empty results suggest a broader query or category browsing

fedreserve_get_series tool

  • Accepts a single series ID or up to 50 in one call; fires parallel upstream requests (no FRED batch endpoint exists)
  • Returns title, units, frequency, seasonal adjustment, observation range, popularity, and notes per series
  • Partial-batch failures land in a failed array with per-ID error messages; a single unresolved ID throws series_not_found instead

fedreserve_get_observations tool

  • Accepts one series ID or up to 10, with observation_start / observation_end, native unit transforms, and frequency downsampling via aggregation_method (avg, sum, eop)
  • Returns date/value observations with string values that preserve trailing zeros, plus per-series failures
  • Multi-series or >500-row results spill to DataCanvas, returning dataset.name for fedreserve_dataframe_query; without canvas, returns a truncated inline preview

fedreserve_browse_categories tool

  • Omit category_id to start at the root (ID 0); returns the category, its child categories, and — for a leaf with no children — a sample of up to 10 series
  • An unknown category_id throws category_not_found

fedreserve_get_release tool

  • Exactly one of release_id (integer) or release_search (case-insensitive substring, filtered client-side — FRED has no server-side release search) is required
  • Returns release name, link, notes, upcoming scheduled dates, and a paginated series list (series_limit max 1000, series_offset)
  • An ambiguous name search returns up to 10 search_alternatives instead of guessing; retry with the exact release_id

fedreserve_dataframe_describe tool

  • Lists active DataCanvas dataframes for the tenant, or one by name, newest first
  • Each entry carries source_tool, query_params, created_at, expires_at, row_count, truncated / max_rows, and column_schema

fedreserve_dataframe_query tool

  • Runs a single read-only DuckDB SELECT against df_<id> tables, including joins, aggregates, window functions, and CTEs; external files and system catalogs are blocked
  • row_limit caps returned rows (default 1000, max 10000); preview sets the inline sample. BIGINT results serialize as strings
  • Optional register_as persists the result as a new dataframe with its own TTL for further queries

fedreserve_dataframe_drop tool

  • Opt-in — enabled when FRED_DATAFRAME_DROP_ENABLED=true; otherwise registered as a disabled tool card (visibility depends on the client's protocol version)
  • Drops the named dataframe early; returns dropped: false when absent. TTL also reclaims expired tables

Features

Built on @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:

  • Dataframe tools require CANVAS_PROVIDER_TYPE=duckdb and report canvas_unavailable otherwise
  • FRED_API_KEY-gated access to the St. Louis Fed's FRED API (api.stlouisfed.org/fred) at up to 120 requests/minute
  • Parallel multi-series fetching via Promise.allSettled, with partial success reported per ID rather than failing the whole batch
  • DataCanvas spillover for multi-series or >500-row observation results, queryable via fedreserve_dataframe_query
  • FRED's native unit transformations and frequency downsampling delegated server-side for precision against the full series history
  • Category tree navigation across all FRED domains — Money & Banking, National Accounts, Employment, Prices, Housing, Trade, and more

Agent-friendly output:

  • Graceful partial failure — fedreserve_get_series and fedreserve_get_observations return per-ID failed rows with error messages instead of failing the whole request
  • Ambiguous-input disambiguation — fedreserve_get_release's name search returns typed search_alternatives instead of guessing when multiple releases match
  • Provenance on DataCanvas output — every dataframe carries source_tool, query_params, and TTL fields so agents can reason about where staged data came from and how long it's valid
  • Degrades gracefully — fedreserve_get_observations falls back to a truncated inline preview with an explanatory message when DataCanvas isn't configured, rather than failing

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.

{
  "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):

{
  "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:

{
  "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:

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 or higher (or Node.js v24+).
  • A free FRED API key from stlouisfed.org. The key grants 120 requests/minute.

Installation

  1. Clone the repository:
git clone https://github.com/cyanheads/federal-reserve-mcp-server.git
  1. Navigate into the directory:
cd federal-reserve-mcp-server
  1. Install dependencies:
bun install
  1. Configure environment:
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.

VariableDescriptionDefault
FRED_API_KEYRequired. API key from stlouisfed.org.—
FRED_BASE_URLOverride the FRED API base URL.https://api.stlouisfed.org/fred
FRED_DATASET_TTL_SECONDSSliding TTL for DataCanvas-registered observation tables (seconds).86400
FRED_DATAFRAME_DROP_ENABLEDSet true to enable fedreserve_dataframe_drop; otherwise registered as disabled.false
CANVAS_PROVIDER_TYPESet to duckdb to enable DataCanvas SQL querying for observation results.—
MCP_TRANSPORT_TYPETransport: stdio or http.stdio
MCP_HTTP_PORTPort for HTTP server.3010
MCP_SESSION_MODEHTTP session posture: auto, stateful, or stateless. Declared as stateless in src/index.ts — no tool holds per-session state.stateless
MCP_AUTH_MODEAuth mode: none, jwt, or oauth.none
MCP_LOG_LEVELLog level (RFC 5424).info
LOGS_DIRDirectory for log files (Node.js only).<project-root>/logs
STORAGE_PROVIDER_TYPEStorage backend.in-memory
OTEL_ENABLEDEnable OpenTelemetry instrumentation.false
OTEL_EXPORTER_OTLP_ENDPOINTBase OTLP URL for traces (/v1/traces) and metrics (/v1/metrics).—
OTEL_EXPORTER_OTLP_LOGS_ENDPOINTOpt-in OTLP log endpoint, used as-is; the base endpoint does not enable logs.—
LOG_TOOL_FAILURE_PAYLOADSLog failed tool arguments and results with key-name redaction; secrets in free-form values are not redacted.false
LOG_TOOL_FAILURE_PAYLOAD_MAX_BYTESPer-payload UTF-8 byte cap for failed-call logging.16384

See .env.example for the full list of optional overrides.

Set CANVAS_PROVIDER_TYPE=duckdb to enable SQL over observation tables. npm installs and Docker images include the DuckDB runtime. Portable Claude Desktop bundles omit native bindings; use the npm or Docker installation for canvas mode.

Running the server

Local development

  • Build and run:

    # One-time build
    bun run rebuild
    
    # Run the built server
    bun run start:stdio
    # or
    bun run start:http
    
  • Run checks and tests:

    bun run devcheck   # Lint, format, typecheck, security
    bun run test       # Vitest test suite
    bun run lint:mcp   # Validate MCP definitions against spec
    

Docker

docker build -t federal-reserve-mcp-server .
docker run --rm -e FRED_API_KEY=your-key -e MCP_TRANSPORT_TYPE=http -p 3010:3010 federal-reserve-mcp-server

The Dockerfile defaults to HTTP transport, stateless session mode, and logs to /var/log/federal-reserve-mcp-server. OpenTelemetry peer dependencies are installed by default — build with --build-arg OTEL_ENABLED=false to omit them.

Project structure

DirectoryPurpose
src/index.tscreateApp() entry point — registers tools and inits services.
src/configServer-specific environment variable parsing and validation with Zod.
src/mcp-server/toolsTool definitions (*.tool.ts). Eight tools across FRED domain and DataCanvas.
src/services/fredFRED API service — HTTP client, retry, 429 handling, key injection.
src/services/canvas-bridgeDataCanvas adapter — table naming, TTL/provenance tracking, SQL gate extras.
tests/Unit and integration tests mirroring src/.
docs/Design and planning documents.

Development guide

See CLAUDE.md for development guidelines and architectural rules. The short version:

  • Handlers throw, framework catches — no try/catch in tool logic
  • Use ctx.log for request-scoped logging, ctx.state for tenant-scoped storage
  • Register new tools in src/mcp-server/tools/definitions/index.ts
  • Wrap FRED API calls: validate raw response → normalize to domain type → return output schema; never fabricate missing fields

Contributing

Issues are welcome. Run checks and tests before submitting:

bun run devcheck
bun run test

License

Apache-2.0 — see LICENSE for details.

Featured
CodeRabbit
CodeRabbit
AI writes the code. CodeRabbit catches the slop.
Try For Free →
Lid closed, agents working
Lid closed, agents working
Keeps your Mac awake while Claude Code, Codex or Cursor works. Lets it sleep when they are done.
Try free for 7 days →
Block distraction from your iPhone for freeBlock distraction from your iPhone for free
Block distraction from your iPhone for free
Block distracting apps from your iPhone permanently without a 3rd party app. Free and open source.
Block now (100% free) →
Granola, the best AI meeting recorder
Granola, the best AI meeting recorder
Notes, actions and memory. Without a meeting bot. First month 100% off.
Download for free →
belt - the only tool your agent needs
belt - the only tool your agent needs
belt cli automatically finds the best tools and skills for your agent. image, video, music, tts...
one prompt install →
Open Steps
Open Steps
Free an open-source skills that make AI coding agents easier to understand, verify, and control.
Download for free →
AppSignal
AppSignal
Monitor with ease. Code with confidence.
Start Free Trial →
Agent, connect blockchain
Agent, connect blockchain
Connect your Claude agent to live crypto prices and trading routes via 1inch
Get the MCP →

Configuration

FRED_API_KEY*

FRED API key from stlouisfed.org. Required to make any API calls.

FRED_BASE_URLdefault: https://api.stlouisfed.org/fred

Override the FRED API base URL.

FRED_DATASET_TTL_SECONDSdefault: 86400

Sliding TTL for DataCanvas-registered observation tables (seconds).

FRED_DATAFRAME_DROP_ENABLEDdefault: false

Set to 'true' to expose the fedreserve_dataframe_drop tool.

MCP_LOG_LEVELdefault: info

Sets the minimum log level for output (e.g., 'debug', 'info', 'warn').

MCP_HTTP_HOSTdefault: 127.0.0.1

The hostname for the HTTP server.

MCP_HTTP_PORTdefault: 3010

The port to run the HTTP server on.

MCP_HTTP_ENDPOINT_PATHdefault: /mcp

The endpoint path for the MCP server.

MCP_AUTH_MODEdefault: none

Authentication mode to use: 'none', 'jwt', or 'oauth'.

Categories
Search & Web Crawling
Registryactive
Package@cyanheads/federal-reserve-mcp-server
TransportSTDIO, HTTP
AuthRequired
UpdatedMay 24, 2026
View on GitHub

More from cyanheads

  • Fred Mcp Server1
  • Guardian Mcp Server1
  • Gutenberg Mcp Server1
  • Macos Mcp Server1
  • Mailchimp Mcp Server1
  • Nist Nvd Mcp Server1
  • Reference Data Mcp Server1
  • Shift Mcp Server1
  • Un Comtrade Mcp Server1
  • Usda Mcp Server1
  • Wikipedia Mcp Server1
  • Protein Mcp Server4
  • Census Mcp Server1
  • Internet Archive Mcp Server
  • Sports Mcp Server
  • Whois Mcp Server
  • Survey Mcp Server4
  • Anime Mcp Server
  • Oecd Mcp Server
  • Uspto Mcp Server
  • Mcp Ts Template145
  • nist-nvd-mcp-server
  • open-meteo-mcp-server
  • openfda-mcp-server

Related Search & Web Crawling MCP Servers

View all →
cyanheads avatar
Fred Mcp Server

cyanheads/fred-mcp-server

Search and fetch ~800K Federal Reserve economic time-series from the FRED API via MCP.
1
cyanheads avatar
Openlibrary Mcp Server

cyanheads/openlibrary-mcp-server

Search books and authors, fetch editions, browse subjects, and resolve cover images.
1
cyanheads avatar
Wikidata Mcp Server

cyanheads/wikidata-mcp-server

Search and fetch Wikidata entities, execute SPARQL queries, and resolve external identifiers.
1
hugof1234 avatar
Gilbert Mcp

hugof1234/gilbert-mcp

Gilbert meetings: list, search, and fetch transcripts & summaries via MCP.
1
jgador avatar
Websharp

jgador/websharp

Search the web and extract article text for LLMs.
1
securecoders avatar
OpenGraph.io MCP Server

securecoders/opengraph-io-mcp

MCP server for OpenGraph.io API - fetch OG data, screenshots, scrape, and generate images
1