Skip to main content

FAOSTAT MCP

io.github.berba-q/faostat-mcp

v1.3.0Updated Oct 2, 2026stdio · PyPI

FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.

Install

Needs 1 secret. Replace 2 placeholders with your own values.

Run in your terminal. Replace 2 placeholders.

claude mcp add faostat-mcp -e 'FAOSTAT_USERNAME=<your-faostat-username>' -e 'FAOSTAT_PASSWORD=<your-faostat-password>' -- uvx faostat-mcp==1.3.0

Configuration

3 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.

  • FAOSTAT_PASSWORD
    Env var· required· secret
    FAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically.
  • FAOSTAT_USERNAME
    Env var· required
    FAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically.
  • FAOSTAT_API_TOKEN
    Env var· optional· secret
    Optional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically.

Listed in the official MCP Registry since Oct 2, 2026. Mirrored daily; last checked Nov 26, 2026.