Prototipo · Versión preliminar: todos los servidores del registro oficial, sincronizados cada 30 minutos. Las reseñas y las cuentas llegarán en una etapa posterior.
PopNx MCPServidores MCP para quienes usan IA · explicados con palabras sencillas

FAOSTAT MCP

de berba-qversión 1.3.0i★ –iSe ejecuta en tu computadora
Nombre en el registroio.github.berba-q/faostat-mcp

Instalar

Resumen

Descripción del creador (original en inglés)

FAOSTAT data for 245 countries: crops, trade, food security, and emissions via 23 MCP tools.

Los tres pilares de PopNx MCP

Estos tres nunca se combinan en una sola puntuación: las opiniones, las mediciones y la popularidad son cosas distintas.

Qué puedes hacer con él

Todavía no escribimos un resumen sencillo para este. Abajo están los datos que leímos del registro.

  • Conexión: Se ejecuta en tu computadora
  • Transporte: stdio
  • Categoría: Ciberseguridad
  • Debes completar: FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD

Instalación

Elige la app de IA que usas y copia la configuración.

Antes de instalar

  • Revisiones básicas: 1 de 1 superadas
  • Se ejecuta en tu computadora con los permisos de tu usuario (archivos, red, apps).
  • Debes completar tú: FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD

Los valores marcados como secretos son llaves de tu cuenta. Nunca los compartas ni los pegues en un chat.

Necesitas

  • PyPIuv de Python instalado (para el comando uvx)

¿Qué app usas?

Elige tu app arriba. La recordamos, así que la próxima vez el botón dirá “Instalar en …”.

Abre Claude Desktop → Settings → Developer → Edit Config y pega esto en claude_desktop_config.json

{
  "mcpServers": {
    "faostat": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "your-value",
        "FAOSTAT_USERNAME": "your-value",
        "FAOSTAT_PASSWORD": "your-value"
      }
    }
  }
}

Ejecuta esto en tu terminal

claude mcp add faostat --env FAOSTAT_API_TOKEN=your-value --env FAOSTAT_USERNAME=your-value --env FAOSTAT_PASSWORD=your-value -- uvx faostat-mcp

Completa los valores vacíos antes de ejecutarlo.

Abrir en Cursor

O copia la configuración tú

Pégalo en .cursor/mcp.json de tu proyecto, o en ~/.cursor/mcp.json

{
  "mcpServers": {
    "faostat": {
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "your-value",
        "FAOSTAT_USERNAME": "your-value",
        "FAOSTAT_PASSWORD": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Abrir en VS Code

O copia la configuración tú

Pégalo en .vscode/mcp.json de tu proyecto

{
  "servers": {
    "faostat": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "faostat-mcp"
      ],
      "env": {
        "FAOSTAT_API_TOKEN": "your-value",
        "FAOSTAT_USERNAME": "your-value",
        "FAOSTAT_PASSWORD": "your-value"
      }
    }
  }
}

Tu navegador te pide permiso para abrir la app; luego la app muestra la configuración y te pide confirmar. Los valores de las claves quedan vacíos para que los completes tú.

Este se ejecuta en tu computadora, y ChatGPT solo puede conectarse a servidores en internet. Elige otra app.

Tu elección se guarda en una cookie en este dispositivo; no necesitas cuenta.

Valores que debes completar

  • FAOSTAT_API_TOKEN secreto env
    Optional. A FAOSTAT access token from the Developer Portal. Tokens expire after 1 hour, so prefer FAOSTAT_USERNAME + FAOSTAT_PASSWORD, which refresh automatically.
  • FAOSTAT_USERNAME obligatorio env
    FAOSTAT account email (free account at https://www.fao.org/faostat/en/#developer-portal). Used to obtain and refresh tokens automatically.
  • FAOSTAT_PASSWORD secreto obligatorio env
    FAOSTAT account password. Used with FAOSTAT_USERNAME to obtain and refresh tokens automatically.

Esta configuración se genera a partir de la ficha del creador en el registro. Si el README dice otra cosa, sigue el README.

Qué puede hacer

Se ejecuta en tu computadora; la lista de herramientas aparece en tu app de IA después de instalarlo.

Revisiones básicasi

Revisamos información que cualquiera puede ver; no hemos leído el código. Las revisiones que no aplican no se cuentan. · Revisado el 7 nov 2026

  • ✓ Superada

    El creador coincide con el repo

    El nombre en el registro se verificó con la cuenta de GitHub berba-q, dueña del repo

  • … Aún sin revisar

    Sigue en mantenimiento

    Todavía no hemos leído este repo en GitHub

  • … Aún sin revisar

    Tiene licencia

    Todavía no hemos leído este repo en GitHub

  • – No aplica

    El endpoint responde

    Este se ejecuta en tu computadora; no hay endpoint en internet

  • – No aplica

    Inicio de sesión con OAuth

    Se ejecuta en tu computadora y usa ajustes locales en su lugar

  • … Aún sin revisar

    Sin instrucciones ocultas en las descripciones de herramientas

    Se ejecuta en tu computadora; solo podemos leer listas de herramientas de endpoints en internet

Comparado con otros en Ciberseguridadi

  • Más estrellas que el 0% de los otros 993 servidores de esta categoría
  • Publicado en el registro más recientemente que el 55% de los otros 993 servidores de esta categoría
  • Revisiones básicas iguales o mejores que el 100% de los otros 993 servidores de esta categoría

Comparado con todos los servidores activos de esta categoría en el registro. Las estrellas solo cuentan cuando quien lo publica es dueño del repo.

Preguntas frecuentes

¿Es seguro FAOSTAT MCP?

Superó 1 de 1 revisiones básicas aplicables. No hemos leído el código. Antes de agregar una clave o un token, revisa qué acceso pide el servidor y usa una clave que tenga solo los permisos que necesitas.

¿Qué claves o códigos necesita?

Debes completar: FAOSTAT_API_TOKEN, FAOSTAT_USERNAME, FAOSTAT_PASSWORD

¿Se ejecuta en mi computadora o en la nube?

Se ejecuta en tu computadora. Tu app de IA lo inicia cuando hace falta, y los datos no pasan por los servidores del creador (a menos que el propio servidor llame a un servicio en línea).

¿Sigue en mantenimiento?

El repo de GitHub cambió por última vez –, y la última versión (1.3.0) llegó al registro hace 36 días.

¿Qué apps pueden usarlo?

Las apps compatibles con MCP, como Claude Desktop, Claude Code, Cursor y VS Code. También necesitas Python (uv) en tu computadora.

¿Qué puedo usar en su lugar?

En la misma categoría: ipdata MCP by usefulapi, MaxMind minFraud MCP by usefulapi, Lambda Labs MCP by usefulapi

Alternativas

Servidores de la misma categoría hechos por otros creadores, ordenados por estrellas.

Cómo leer una tarjeta:★ Estrellas de GitHubiTres pilares: reseñas · revisiones · usoiActualizado = fecha en que se publicó la última versión en el registroi

Look up location, network, company and threat data for IP addresses and ASNs in ipdata.

Se ejecuta en la nubeActualizado hoy
Instalar

Read GPU instances, types, images, filesystems and firewall rules; launch and terminate instances.

Se ejecuta en la nubeActualizado hoy
Instalar

README del creador

Abrir el README

Copiado tal cual del repo del creador. PopNx MCP no lo ha revisado ni lo respalda. Se quitaron HTML, imágenes y scripts. Los enlaces llevan fuera de este sitio.

FAOSTAT MCP Server

Query UN food and agriculture statistics with AI — powered by the Model Context Protocol

An MCP (Model Context Protocol) server that exposes the full FAOSTAT API as tools for AI assistants. Connect any MCP-compatible client — Claude, Cursor, Windsurf, Zed, or your own agent — to the world's most comprehensive database of food, agriculture, fisheries, forestry, and nutrition statistics, covering 245 countries and territories from the United Nations Food and Agriculture Organization (FAO).

Keywords: FAOSTAT, MCP server, Model Context Protocol, AI agriculture data, FAO statistics, food security AI, agricultural data Python, UN data, crop production statistics, Claude, Cursor, Windsurf


Why Use This?

Researchers, data journalists, policy analysts, and developers can ask natural-language questions and get answers directly from FAOSTAT — without writing a single API call. Your AI assistant handles domain discovery, filtering, and interpretation automatically.

Who is this for?

  • Agricultural economists and food security researchers
  • Journalists and policy analysts working with FAO data
  • Developers building AI pipelines on top of FAOSTAT
  • Anyone who wants to explore crop, trade, nutrition, or emissions data conversationally

What is FAOSTAT?

FAOSTAT is the statistical database of the United Nations Food and Agriculture Organization (FAO). It is the world's most comprehensive freely available source of data on food and agriculture, covering:

  • Crop and livestock production — yields, harvested area, and quantities for hundreds of commodities
  • Trade — import/export volumes and values between countries
  • Food security — prevalence of undernourishment, dietary energy supply, and access indicators
  • Emissions — greenhouse gas emissions from agriculture, land use, and food systems
  • Forestry and fisheries — production and trade data
  • Prices, inputs, and population — producer prices, fertilizer use, and demographic context

Data spans from 1961 to the present, across 245 countries and territories, in multiple languages.

What is MCP?

The Model Context Protocol is an open standard that lets AI assistants call external tools at runtime. This server registers all FAOSTAT API endpoints as discoverable tools — your AI assistant automatically selects and chains the right calls when you ask a question.


Features

  • 23 MCP tools covering every FAOSTAT endpoint (data, metadata, rankings, bulk downloads, reports)
  • 245 countries and territories across dozens of domains: crops, livestock, trade, food security, emissions, forestry, fisheries, and more
  • Built-in rate limiting (2 req/s) — safe for the FAOSTAT production API out of the box
  • Auto-retry with exponential backoff on transient network errors
  • Rich tool descriptions so the AI knows exactly when and how to call each tool
  • 3-tier hybrid caching — in-memory (20 min) → SQLite disk (24 h, cross-session) → Redis (optional, 30 min)
  • Zero-config auth via faostat_setup — store credentials once, never touch a config file again
  • Disambiguation via faostat_search_codes — agents ask before guessing ambiguous codes
  • Works with Claude Desktop, Claude Code, Cursor, Windsurf, Zed, and any MCP-compatible client

Quick Start

Prerequisites
  • Python 3.10+
  • Any MCP-compatible client (Claude Desktop, Cursor, Windsurf, Zed, or a custom agent)
Option A — Install via MCP Registry (recommended)

Listed on the official MCP Registry — discoverable directly from Claude Desktop, Cursor, and any MCP-compatible client.

# Install with pip or uvx (no virtual env needed):

pip install faostat-mcp uvx faostat-mcp

Updating: uvx faostat-mcp picks up new releases when your AI client restarts the server; if you still see an old version, run uvx faostat-mcp@latest once. pip and uv tool install don't upgrade on their own: run pip install -U faostat-mcp or uv tool upgrade faostat-mcp, then restart your client. The server also checks PyPI once per session and logs a notice to stderr when a newer version exists (opt out with FAOSTAT_NO_UPDATE_CHECK=1).

Option B — Install from source
git clone https://github.com/berba-q/faostat-mcp.git

cd faostat-mcp pip install -e .

Configure credentials

Easiest — use the `faostat_setup` tool (no config files needed):

Once the server is running and connected to your AI client, ask your assistant:

"Call faostat_setup with my FAOSTAT username and password."

The tool validates your credentials against the API, then stores them securely in your system keychain (macOS/Windows) or ~/.config/faostat-mcp/credentials.json (Linux/Docker). All subsequent sessions authenticate automatically — no env vars or .env file required.

Alternative — environment variables (CI/CD, Docker, advanced):

cp .env.example .env

Edit .env:

FAOSTAT_USERNAME=your_email ← recommended: tokens refresh automatically

FAOSTAT_PASSWORD=your_password

FAOSTAT_API_TOKEN=your_token_here ← alternative: expires after 1 hour

Register for a free FAOSTAT API account at the FAOSTAT Developer Portal.

Optional — Redis caching (multi-user / high-volume deployments)

The server works without Redis (SQLite disk cache is used instead). For shared or high-volume setups, launch Redis via Docker:

docker run -p 6379:6379 -it redis/redis-stack:latest

Then set REDIS_HOST_IP_ADDRESS, REDIS_HOST_PORT_NUMBER, and REDIS_DATABASE in .env.


Running the Server

Development mode (interactive MCP Inspector UI)
mcp dev faostat_mcp/server.py

Opens a browser UI at http://localhost:5173 where you can browse and test all 23 tools interactively.

Production mode (stdio transport, for Claude Desktop)
python -m faostat_mcp.server

or, using the installed script:

faostat-mcp


Caching

The server uses a 3-tier cache to minimise redundant API calls. FAOSTAT data updates at most daily, so most repeated queries are served instantly.

TierTTLScopeNotes
In-memory20 minCurrent sessionFastest; reset on server restart
SQLite disk24 hCross-session~/.cache/faostat-mcp/cache.db; no extra infra
Redis30 minMulti-user sharedOptional; set REDIS_* env vars to enable

Cache lookup order: memory → disk → Redis → API call. A disk or Redis hit promotes the value to memory for the rest of the session.

To disable the disk cache (e.g. on a read-only filesystem), set FAOSTAT_DISK_CACHE=false.


MCP Client Integration

The server speaks standard MCP over stdio, so it works with any compatible client.

Recommended config (PyPI install)
{

"mcpServers": { "faostat": { "command": "uvx", "args": ["faostat-mcp"] } } }

Dev / source config
{

"mcpServers": { "faostat": { "command": "python", "args": ["-m", "faostat_mcp.server"], "cwd": "/path/to/faostat-mcp", "env": { "FAOSTAT_USERNAME": "your_email", "FAOSTAT_PASSWORD": "your_password" } } } }

Claude Desktop

Add one of the blocks above to:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Restart Claude Desktop — faostat will appear in the tools panel.

Cursor

Add the block to .cursor/mcp.json in your project root, or to your global Cursor MCP settings. See the Cursor MCP docs for details.

Windsurf / Zed / other clients

Any client that supports MCP stdio servers accepts the same config shape. Consult your client's documentation for the config file location.


Example Queries

Once connected, ask your AI assistant questions like:

DomainExample Question
Crop production*"What were the top 10 wheat-producing countries in 2022?"*
Food security*"Show me food security indicators for Ethiopia from 2015 to 2020"*
Trade*"Which countries are most dependent on food imports?"*
Yield comparison*"Compare maize yields between the USA and Brazil over the last decade"*
Emissions*"What are greenhouse gas emissions from agriculture in Sub-Saharan Africa?"*
Discovery*"What agricultural datasets does FAOSTAT have for trade?"*

Your AI assistant will automatically:

  1. Call faostat_list_groups or faostat_groups_and_domains to find the right domain
  2. Call faostat_search_codes to look up a code by name — if multiple codes match (e.g. "production" matches both *Production* and *Gross Production Index*), the assistant pauses and asks you to choose before proceeding
  • Regions and indicators are checked with faostat_resolve_name — if no matching FAOSTAT definition is found for your request (e.g. *"Global South"*), the assistant tells you so and offers the FAO-defined alternatives (e.g. *"West Africa"* → *Western Africa*) instead of inventing one
  1. Call faostat_get_data or faostat_get_rankings with the confirmed codes
  2. Interpret and summarize the results in plain language

Available MCP Tools

Discovery & Metadata
ToolDescription
faostat_pingCheck API health
faostat_list_groupsList all data groups
faostat_groups_and_domainsFull domain tree
faostat_list_domainsDomains within a group
faostat_get_dimensionsAvailable filters for a domain
faostat_get_codesBrowse all country/item/element filter codes
faostat_search_codesSearch codes by name — returns requires_confirmation=true when multiple codes match, forcing the agent to ask you before proceeding
faostat_get_definitionsDomain definitions
faostat_get_definitions_by_typeDefinitions by type within a domain
faostat_definition_typesAll definition types
faostat_get_definition_typeFAO-wide definitions for one type, no domain needed (regions/areagroup, countries, indicators, items, units, flags…) with search and limit
faostat_resolve_nameCheck a region, country or indicator name against FAO definitions — returns no_matching_definition when the lookup finds no match; definition codes require domain filter lookup
faostat_get_metadataFull domain metadata
faostat_get_metadata_printPrintable metadata
Data Retrieval
ToolDescription
faostat_get_dataFetch actual statistics
faostat_get_datasizeEstimate query result size before fetching
faostat_get_rankingsTop-N country rankings
faostat_get_report_dataReport data
faostat_get_report_headersReport column headers
faostat_list_bulk_downloadsBulk download file listing

|

Solo se muestra el principio; lee el resto en el repo

Pregunta a PopNx