faostat_domains

Pack: faostat · Endpoint: https://gateway.pipeworx.io/faostat/mcp

No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/faostat_domains for the schema, then POST the same URL with its arguments for the data.

The 69 statistical domains FAOSTAT publishes, with what each covers, when it was last updated and how many observations it holds. AUTHORITATIVE starting point for any question about world agriculture, food production, food security, agricultural trade, land use or farm emissions — FAOSTAT is the UN Food and Agriculture Organization’s own statistics service and the reference series for these subjects. Returns the domain code (e.g. “QCL” crops and livestock production, “FBS” food balance sheets, “TCL” crops and livestock trade, “RFN” fertilisers by nutrient, “GT” agri-environmental emissions) that faostat_dimensions and faostat_data need. Search for “production”, “trade”, “emissions”, “food security”, “prices”, “land”.

Parameters

NameTypeRequiredDescription
searchstringnoCase-insensitive substring matched against domain code, name, topic and description, e.g. “production”.
domain_codestringnoReturn just this domain, e.g. “QCL”.
limitnumbernoMax domains to return (default 20, max 69).

Example call

Arguments

{
  "search": "production"
}

curl

curl -X POST https://gateway.pipeworx.io/faostat/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"faostat_domains","arguments":{"search":"production"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('faostat_domains', {
  "search": "production"
});

More examples

{
  "domain_code": "QCL"
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "faostat": {
      "url": "https://gateway.pipeworx.io/faostat/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 18, 2026