FAOSTAT MCP
An open-source MCP server that exposes the full FAOSTAT API as tools for AI assistants, allowing users to query UNFAO Food & Agriculture Statistics in natural language via Claude, Cursor, or any MCP-compatible client. It covers 245 countries and territories with data on crops, trade, food security, and emissions.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Query UNFAO Food & Agriculture Statistics in natural language
- Explore crop, trade, nutrition, or emissions data conversationally
- Access data on 245 countries and territories
Source and maintenance
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
faostat-mcp 1.3.0
{
"version": "1.3.0",
"transport": "stdio",
"identifier": "faostat-mcp",
"runtimeHint": "uvx",
"registryType": "pypi",
"environmentVariables": [
{
"name": "FAOSTAT_API_TOKEN",
"format": "string",
"description": "Optional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically."
},
{
"name": "FAOSTAT_USERNAME",
"format": "string",
"isRequired": true,
"description": "FAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically."
},
{
"name": "FAOSTAT_PASSWORD",
"format": "string",
"isRequired": true,
"description": "FAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically."
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"faostat-mcp-mcp": {
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<YOUR_FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<YOUR_FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<YOUR_FAOSTAT_PASSWORD>"
}
}
}
}Cline
{
"mcpServers": {
"faostat-mcp-mcp": {
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<YOUR_FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<YOUR_FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<YOUR_FAOSTAT_PASSWORD>"
}
}
}
}VS Code
{
"servers": {
"faostat-mcp-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<YOUR_FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<YOUR_FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<YOUR_FAOSTAT_PASSWORD>"
}
}
}
}Claude Desktop
{
"mcpServers": {
"faostat-mcp-mcp": {
"command": "uvx",
"args": [
"faostat-mcp==1.3.0"
],
"env": {
"FAOSTAT_API_TOKEN": "<YOUR_FAOSTAT_API_TOKEN>",
"FAOSTAT_USERNAME": "<YOUR_FAOSTAT_USERNAME>",
"FAOSTAT_PASSWORD": "<YOUR_FAOSTAT_PASSWORD>"
}
}
}
}Let your agent find its tools
Find servers like FAOSTAT MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.