Skip to content
Gemini CLI

FAOSTAT MCP for Gemini CLI

io.github.berba-q/faostat-mcp

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

client:Gemini CLI transport:stdio runtime:pypi

Install FAOSTAT MCP in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "faostat-mcp": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "<FAOSTAT_API_TOKEN>",
        "FAOSTAT_USERNAME": "<FAOSTAT_USERNAME>",
        "FAOSTAT_PASSWORD": "<FAOSTAT_PASSWORD>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

FAOSTAT MCP in other clients