fas_production

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

Get global agricultural production, consumption, and inventory data by commodity and country. Returns production volumes, supply estimates, consumption figures, and trade flows by year.

Parameters

NameTypeRequiredDescription
commoditystringyesCommodity name (e.g., “corn”, “soybeans”, “wheat”) or PSD commodity code (e.g., “0440000”)
countrystringnoCountry code (e.g., “US”, “BR”, “CN”). Optional — omit for world totals.
market_yearstringnoMarket year (e.g., “2024”). Optional.

Example call

Arguments

{
  "commodity": "corn",
  "country": "US",
  "market_year": "2024"
}

curl

curl -X POST https://gateway.pipeworx.io/fas/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fas_production","arguments":{"commodity":"corn","country":"US","market_year":"2024"}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('fas_production', {
  "commodity": "corn",
  "country": "US",
  "market_year": "2024"
});

More examples

{
  "commodity": "wheat"
}

Response shape

Always returns: commodity, commodity_code, type, count, data, truncated

FieldTypeDescription
commoditystringCommodity name provided in request
commodity_codestringStandardized commodity code
typestringData type
countintegerNumber of records returned
dataarrayProduction/supply/distribution records (max 100 returned)
truncatedbooleanWhether results were truncated to 100 records
Full JSON Schema
{
  "type": "object",
  "properties": {
    "commodity": {
      "type": "string",
      "description": "Commodity name provided in request"
    },
    "commodity_code": {
      "type": "string",
      "description": "Standardized commodity code"
    },
    "type": {
      "type": "string",
      "enum": [
        "production_supply_distribution"
      ],
      "description": "Data type"
    },
    "count": {
      "type": "integer",
      "description": "Number of records returned"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country name"
          },
          "country_code": {
            "type": [
              "string",
              "null"
            ],
            "description": "Country code"
          },
          "market_year": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Market year"
          },
          "attribute": {
            "type": [
              "string",
              "null"
            ],
            "description": "Attribute (e.g., production, consumption, inventory)"
          },
          "value": {
            "type": [
              "number",
              "null"
            ],
            "description": "Attribute value"
          },
          "unit": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit of measurement"
          }
        }
      },
      "description": "Production/supply/distribution records (max 100 returned)"
    },
    "truncated": {
      "type": "boolean",
      "description": "Whether results were truncated to 100 records"
    }
  },
  "required": [
    "commodity",
    "commodity_code",
    "type",
    "count",
    "data",
    "truncated"
  ]
}

Connect

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

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

See Getting Started for client-specific install steps.

Regenerated from source · build June 24, 2026