Arlet

Connect FRED (Federal Reserve Economic Data) to Codex

Query FRED (Federal Reserve Economic Data) directly from Codex. Arlet links the two through one MCP connection and takes care of API keys.

This server connects your AI client to FRED, the Federal Reserve Bank of St. Louis' economic data service, which aggregates hundreds of thousands of time series from US federal statistical agencies and international organizations into one consistent API.

Key features:

  • search_series: find the right series by keyword, returning each candidate's id, title, units, frequency and seasonal-adjustment status. Picking the correct series is usually the hard part of economic analysis, so this metadata comes back before you fetch any data.
  • get_series_observations: fetch the observations for a series id, with a date range, frequency aggregation, and unit transformations computed upstream (change, percent change, percent change from a year ago, compounded annual rate, log). Missing observations are normalized to null instead of FRED's '.' sentinel.
  • list_release_dates: look up the publication calendar - when a statistic such as CPI or the employment situation was or will be released.

Because FRED already harmonizes vintages, units and frequencies across source agencies, it is usually a better first stop than each agency's own API when you need a US macro series.

Using the API requires a free API key issued from your FRED account. Set it as FRED_API_KEY in your Arlet environment variables. FRED's terms ask that you attribute the source; every tool response includes the attribution text.

How to connect FRED (Federal Reserve Economic Data) to Codex

  1. 1

    In the Arlet dashboard, open Data tools, find FRED (Federal Reserve Economic Data), set the API key issued by FRED (Federal Reserve Economic Data) and switch it on.

  2. 2

    In your terminal, run codex mcp add arlet --url https://mcp.arlet.dev/mcp/ to add Arlet as an MCP server.

  3. 3

    Codex detects OAuth support and opens your browser. Sign in with Google and click Allow on the consent screen.

  4. 4

    Once connected, both the CLI and the IDE extension can call Arlet tools (the configuration is shared).

If the browser does not open, run codex mcp login arlet to redo the authentication.

Use FRED (Federal Reserve Economic Data) with other AI clients