FAOSTAT MCP for VS Code
io.github.berba-q/faostat-mcp
FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 21 MCP tools.
client:VS Code
transport:stdio
runtime:pypi
Install FAOSTAT MCP in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "faostat-api-token",
"description": "FAOSTAT_API_TOKEN",
"password": true
},
{
"type": "promptString",
"id": "faostat-username",
"description": "FAOSTAT_USERNAME",
"password": true
},
{
"type": "promptString",
"id": "faostat-password",
"description": "FAOSTAT_PASSWORD",
"password": true
}
],
"servers": {
"faostat-mcp": {
"type": "stdio",
"command": "uvx",
"args": [
"faostat-mcp"
],
"env": {
"FAOSTAT_API_TOKEN": "${input:faostat-api-token}",
"FAOSTAT_USERNAME": "${input:faostat-username}",
"FAOSTAT_PASSWORD": "${input:faostat-password}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs