FAOSTAT MCP

io.github.berba-q/faostat-mcp

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

Connect this server

Add this to your MCP client config — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor).Suits: Claude Desktop · Cursor.

{
  "mcpServers": {
    "faostat-mcp": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "<your FAOSTAT_API_TOKEN>",
        "FAOSTAT_USERNAME": "<your FAOSTAT_USERNAME>",
        "FAOSTAT_PASSWORD": "<your FAOSTAT_PASSWORD>"
      }
    }
  }
}
Environment variables
  • FAOSTAT_API_TOKENsecretOptional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically.
  • FAOSTAT_USERNAMErequiredFAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically.
  • FAOSTAT_PASSWORDrequiredsecretFAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Developer Tools
Version
1.3.0
Registry
active
Published
10/2/2026
Browse all Developer Tools →

Add the badge to your site

Show visitors that FAOSTAT MCP is listed here — it’s also the link we check for a free listing.

FAOSTAT MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/io-github-berba-q-faostat-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="FAOSTAT MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![FAOSTAT MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/io-github-berba-q-faostat-mcp?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.