MCP server that exposes the full FAOSTAT API as tools for AI assistants — query UNFAO Food & Agriculture Statistics in natural language via Claude, Cursor, or any MCP-compatible client.
Tools
faostat_ping
faostat_refresh_token
faostat_setup
faostat_list_groups
faostat_groups_and_domains
faostat_list_domains
faostat_get_dimensions
faostat_get_codes
faostat_search_codes
faostat_get_data
faostat_get_datasize
faostat_get_definitions
faostat_get_definitions_by_type
faostat_definition_types
faostat_get_metadata
faostat_get_metadata_print
faostat_list_bulk_downloads
faostat_list_documents
faostat_get_rankings
faostat_get_report_data
faostat_get_report_headers
Server Config
{
"mcpServers": {
"faostat": {
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "your_token_here",
"FAOSTAT_BASE_URL": "https://faostatservices.fao.org/api/v1",
"FAOSTAT_DEFAULT_LANG": "en"
}
}
}
}