FAOSTAT MCP Server

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

Local serverstdioPython

What is the FAOSTAT MCP Server?

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

What the server does

An MCP (Model Context Protocol) server that exposes the full FAOSTAT API as tools for AI assistants. Connect any MCP-compatible client — Claude, Cursor, Windsurf, Zed, or your own agent — to the world's most comprehensive database of food, agriculture, fisheries, forestry, and nutrition statistics, covering 245 countries and territories from the United Nations Food and Agriculture Organization (FAO).

FAOSTAT is the statistical database of the United Nations Food and Agriculture Organization (FAO). It is the world's most comprehensive freely available source of data on food and agriculture, covering:

  • Agricultural economists and food security researchers
  • Journalists and policy analysts working with FAO data
  • Developers building AI pipelines on top of FAOSTAT
  • Anyone who wants to explore crop, trade, nutrition, or emissions data conversationally

Credentials and setup notes

  • Python 3.10+ - Any MCP-compatible client (Claude Desktop, Cursor, Windsurf, Zed, or a custom agent)

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the FAOSTAT MCP Server

claude mcp add faostat --env FAOSTAT_API_TOKEN=your-value -- uvx faostat-mcp

Configuration

  • Python 3.10+ - Any MCP-compatible client (Claude Desktop, Cursor, Windsurf, Zed, or a custom agent)
VariableDescriptionRequired
FAOSTAT_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • “Use FAOSTAT MCP to Prerequisites.”
  • “Use FAOSTAT MCP to Cursor.”
  • “Use FAOSTAT MCP to Authentication.”

Frequently asked questions

FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 21 MCP tools. Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.