Arlet

Connect FAOSTAT (FAO) to ChatGPT

Query FAOSTAT (FAO) directly from ChatGPT. Arlet links the two through one MCP connection and takes care of API keys.

This server connects your AI client to two FAO data services.

FAOSTAT domains (REST API; free Developer Portal account required):

  • list_faostat_domains: find datasets such as QCL (crops and livestock production), TCL (trade), FBS (food balances), PP (producer prices), RL (land use).
  • list_faostat_dimensions: see a domain's dimensions (area, item, element, year, ...).
  • list_faostat_codes: look up area / item / element / year codes by keyword.
  • get_faostat_data: fetch observations filtered by those codes, with units and FAO flags.

SDG indicators (SDMX API; no account):

  • search_sdg_dataflows: the 27 FAO-custodied SDG indicator dataflows (2.1.1 undernourishment, 2.1.2 food insecurity, 2.4.1 sustainable agriculture, 6.4.2 water stress, 15.1.1 forest area, ...).
  • get_sdg_dimensions / get_sdg_data: inspect a dataflow's dimensions and fetch observations by dimension key.

Since 2025 the FAOSTAT REST API requires a login: register for free at the FAOSTAT Developer Portal and set FAOSTAT_USERNAME (account e-mail) and FAOSTAT_PASSWORD. The server signs in for each request and never stores the token. Data are licensed under CC BY 4.0 (FAO Statistical Database Terms of Use); every response carries the required attribution line.

How to connect FAOSTAT (FAO) to ChatGPT

  1. 1

    In the Arlet dashboard, open Data tools, find FAOSTAT (FAO) and switch it on. No API key setup is needed.

  2. 2

    In ChatGPT, open Settings β†’ Plugins β†’ Browse plugins and click + at the top right.

  3. 3

    In the New Plugin form, enter "Arlet" as the Name, choose Server URL for Connection and enter https://mcp.arlet.dev/mcp/, pick OAuth for Authentication, check the risk acknowledgement and click Create.

  4. 4

    Open the Arlet plugin you created, click Sign in with Arlet, sign in with Google and click Allow. The connection is complete.

If the Plugins screen is not shown, turn on Developer mode under Settings β†’ Security and login.

Use FAOSTAT (FAO) with other AI clients