Arlet

Connect U.S. Bureau of Economic Analysis (BEA) to Codex

Query U.S. Bureau of Economic Analysis (BEA) directly from Codex. Arlet links the two through one MCP connection and takes care of API keys.

This server connects your AI client to the Bureau of Economic Analysis API - the primary source for US GDP and the national accounts. BEA data is organized as datasets of named tables, and the table identifiers (T10101, T20600, ...) are not guessable, so the server provides a three-step flow.

Key features:

  • list_datasets: without arguments, all datasets (NIPA, Regional, ITA, IIP, GDPbyIndustry, InputOutput, ...); with a dataset name, that dataset's parameters and which are required.
  • list_parameter_values: enumerate a parameter's accepted values with keyword filtering - e.g. search NIPA TableName values for 'gross domestic product' to find T10101.
  • get_data: fetch a table by dataset + TableName with a frequency (annual/quarterly/monthly) and years, plus dataset-specific extra parameters such as LineCode and GeoFips for Regional data.

Division of labor with FRED: FRED is faster for a single headline series (GDP level or growth rate); BEA is the source when you need a full table with all its line items - the composition of GDP, income by state, trade in services by type.

Arlet obtains and manages the UserID, so there is nothing for you to sign up for or configure - just switch the server on. (Upstream throttles at 100 requests/minute per key, and that budget is shared across Arlet users.)

How to connect U.S. Bureau of Economic Analysis (BEA) to Codex

  1. 1

    In the Arlet dashboard, open Data tools, find U.S. Bureau of Economic Analysis (BEA) and switch it on. No API key setup is needed.

  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 U.S. Bureau of Economic Analysis (BEA) with other AI clients