FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.
Connect Runs on your machine
claude mcp add faostat-mcp -e FAOSTAT_API_TOKEN=<FAOSTAT_API_TOKEN> -e FAOSTAT_USERNAME=<FAOSTAT_USERNAME> -e FAOSTAT_PASSWORD=<FAOSTAT_PASSWORD> -- uvx faostat-mcp==1.3.0
{
"mcpServers": {
"faostat-mcp": {
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<FAOSTAT_PASSWORD>"
}
}
}
}
{
"mcpServers": {
"faostat-mcp": {
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<FAOSTAT_PASSWORD>"
}
}
}
}
{
"servers": {
"faostat-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<FAOSTAT_PASSWORD>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
FAOSTAT_API_TOKENOptional, secret | Optional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically. |
FAOSTAT_USERNAMERequired | FAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically. |
FAOSTAT_PASSWORDRequired, secret | FAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 2 Oct 2026 |
| Last updated | 2 Oct 2026 |
| Registry name | io.github.berba-q/faostat-mcp |
More security servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
