ams_market_report

Pack: usda-market-news · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)

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

Read dated rows from one USDA AMS My Market News report (fruit and vegetable shipping-point / terminal / import-crossing prices, grain, hay, cotton and other non-livestock reports).

Parameters

NameTypeRequiredDescription
report_idnumberyesReport id from ams_market_report_search.
commoditystringnoKeep only rows whose commodity / variety / group contains this word, e.g. “lime”.
districtstringnoKeep only rows whose district or market location contains this text, e.g. “mexico crossings through texas” or “mcallen”.
sectionstringnoReport section name, case-insensitive. Omit to read the data sections (header sections are skipped).
datestringnoOne report date, ISO YYYY-MM-DD.
start_datestringnoRange start, ISO (use with end_date).
end_datestringnoRange end, ISO.
limitnumbernoMax rows (default 100, max 500). Newest first.
_apiKeystringnoOptional. The gateway supplies the platform My Market News key; pass your own only to override.

Example call

Arguments

{
  "report_id": 2402,
  "commodity": "lime",
  "district": "mexico crossings through texas",
  "start_date": "2026-10-19",
  "end_date": "2026-10-23",
  "limit": 20
}

curl

curl -X POST https://gateway.pipeworx.io/usda-market-news/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"ams_market_report","arguments":{"report_id":2402,"commodity":"lime","district":"mexico crossings through texas","start_date":"2026-10-19","end_date":"2026-10-23","limit":20}}}'

TypeScript (@pipeworx/sdk)

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

const result = await pipeworx.call('ams_market_report', {
  "report_id": 2402,
  "commodity": "lime",
  "district": "mexico crossings through texas",
  "start_date": "2026-10-19",
  "end_date": "2026-10-23",
  "limit": 20
});

More examples

{
  "report_id": 2711,
  "commodity": "corn",
  "limit": 10
}

Response shape

Always returns: status, source

FieldTypeDescription
statusstringok, no_match, no_rows_for_request or no_rows_for_commodity
sourcestring
data_as_ofstring | null
completeboolean
report_idnumber
report_titlestring
report_slugstring | null
reportobject
requestedobject
commoditystring
commodity_filterstring
messagestring
commodities_in_reportarray
sections_returnedarray
sections_availablearray
report_dates_in_resultobject
row_countnumber
rows_with_pricenumber
rows_without_pricenumber
returnednumber
truncatedstring
price_notestring
unit_notestring
report_last_publishedstring | null
rowsarray
Full JSON Schema
{
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "description": "ok, no_match, no_rows_for_request or no_rows_for_commodity"
    },
    "source": {
      "type": "string"
    },
    "data_as_of": {
      "type": [
        "string",
        "null"
      ]
    },
    "complete": {
      "type": "boolean"
    },
    "report_id": {
      "type": "number"
    },
    "report_title": {
      "type": "string"
    },
    "report_slug": {
      "type": [
        "string",
        "null"
      ]
    },
    "report": {
      "type": "object",
      "additionalProperties": true
    },
    "requested": {
      "type": "object",
      "additionalProperties": true
    },
    "commodity": {
      "type": "string"
    },
    "commodity_filter": {
      "type": "string"
    },
    "message": {
      "type": "string"
    },
    "commodities_in_report": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sections_returned": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "sections_available": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "report_dates_in_result": {
      "type": "object",
      "properties": {
        "earliest": {
          "type": [
            "string",
            "null"
          ]
        },
        "latest": {
          "type": [
            "string",
            "null"
          ]
        }
      },
      "additionalProperties": true
    },
    "row_count": {
      "type": "number"
    },
    "rows_with_price": {
      "type": "number"
    },
    "rows_without_price": {
      "type": "number"
    },
    "returned": {
      "type": "number"
    },
    "truncated": {
      "type": "string"
    },
    "price_note": {
      "type": "string"
    },
    "unit_note": {
      "type": "string"
    },
    "report_last_published": {
      "type": [
        "string",
        "null"
      ]
    },
    "rows": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  },
  "required": [
    "status",
    "source"
  ],
  "additionalProperties": true
}

Connect

Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:

{
  "mcpServers": {
    "pipeworx": {
      "url": "https://pipeworx.io/mcp"
    }
  }
}
Connect to just the usda-market-news pack
{
  "mcpServers": {
    "usda-market-news": {
      "url": "https://gateway.pipeworx.io/usda-market-news/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build October 26, 2026