FAOSTAT MCP
About
FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 21 MCP tools.
Use this server
Add it to your MCP client. The catalogue lists this config verbatim from its source — it does not run, download, or vouch for the server. Review the command before you run it.
Transportstdio (runs a local command)
Env vars
FAOSTAT_API_TOKEN FAOSTAT_USERNAME FAOSTAT_PASSWORDClaude Code
claude mcp add --env FAOSTAT_API_TOKEN= --env FAOSTAT_USERNAME= --env FAOSTAT_PASSWORD= faostat-mcp -- uvx faostat-mcp
Cursor
If the button doesn't open Cursor, use the JSON below — Cursor accepts the same mcpServers config.
VS Code
code --add-mcp '{"name":"faostat-mcp","command":"uvx","args":["faostat-mcp"],"env":{"FAOSTAT_API_TOKEN":"","FAOSTAT_USERNAME":"","FAOSTAT_PASSWORD":""}}'
JSON
{
"mcpServers": {
"faostat-mcp": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "",
"FAOSTAT_USERNAME": "",
"FAOSTAT_PASSWORD": ""
}
}
}
}
Environment variables are listed by name only — fill in your own values. Entries never carry secrets.