Nass

v0.2.1
io.github.pipeworx-io/nass Checked 2 days ago Published 1 month ago

NASS MCP — USDA National Agricultural Statistics Service (Quick Stats)

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

nass_query

Search USDA agricultural statistics by commodity, statistic, geography, and year. Returns production, yield, acreage, prices, and livestock data (e.g., commodity="CORN", state_fips="06" for California).

ParameterTypeDescription
_apiKey *stringNASS API key (free from quickstats.nass.usda.gov/api)
commodity *stringCommodity name, e.g., "CORN", "SOYBEANS", "WHEAT", "CATTLE", "MILK", "COTTON"
agg_levelstringAggregation level: "NATIONAL", "STATE", or "COUNTY" (optional)
freqstringFrequency: "ANNUAL", "MONTHLY", or "WEEKLY" (optional)
groupstringCommodity group, e.g., "FIELD CROPS", "FRUIT & TREE NUTS", "VEGETABLES" (optional)
sectorstringSector: "CROPS", "ANIMALS & PRODUCTS", "ECONOMICS", "DEMOGRAPHICS", "ENVIRONMENTAL" (optional)
sourcestringData source: "SURVEY" or "CENSUS" (optional, defaults to all)
stat_categorystringStatistic category, e.g., "YIELD", "PRODUCTION", "AREA PLANTED", "AREA HARVESTED", "PRICE RECEIVED", "INVENTORY"
statestringState name, e.g., "IOWA", "ILLINOIS", "CALIFORNIA" (optional)
yearstringYear or range, e.g., "2024" or "2020:2025" (optional)

nass_crop_production

Get US crop yields, production totals, and planted/harvested acreage by crop, state, and year. Quick access to major crop survey data.

ParameterTypeDescription
_apiKey *stringNASS API key
commodity *stringCrop name: "CORN", "SOYBEANS", "WHEAT", "COTTON", "RICE", "SORGHUM", "BARLEY", "OATS"
stat_categorystringStatistic: "PRODUCTION", "YIELD", "AREA PLANTED", "AREA HARVESTED" (default: "PRODUCTION")
statestringState name, e.g., "IOWA" (optional, defaults to national)
yearstringYear or range, e.g., "2024" or "2020:2025" (optional)

nass_prices

Get prices received by US farmers for crops and livestock by commodity, state, and year. Track agricultural commodity price trends and market movements.

ParameterTypeDescription
_apiKey *stringNASS API key
commodity *stringCommodity: "CORN", "SOYBEANS", "WHEAT", "CATTLE", "HOGS", "MILK", "CHICKENS"
statestringState name (optional, defaults to national)
yearstringYear or range (optional)

nass_livestock

Get US livestock inventory, slaughter counts, and production data by species, state, and time period. Analyze animal agriculture supply and production.

ParameterTypeDescription
_apiKey *stringNASS API key
commodity *stringLivestock: "CATTLE", "HOGS", "CHICKENS", "TURKEYS", "SHEEP", "MILK", "EGGS"
stat_categorystringStatistic: "INVENTORY", "SLAUGHTER", "PRODUCTION" (default: "INVENTORY")
statestringState name (optional)
yearstringYear or range (optional)

nass_crop_progress

Weekly USDA crop progress + condition by crop and state. For CONDITION queries ("what % of corn is good or excellent", "crop condition this week") the response includes a condition_summary with the latest national week's ratings AND the standard combined good_or_excellent_pct. For PROGRESS use stat_category="PROGRESS" (planted/emerged/harvested %). Pass stat_category to narrow (otherwise both are returned).

ParameterTypeDescription
_apiKey *stringNASS API key
commodity *stringCrop: "CORN", "SOYBEANS", "WHEAT", "COTTON", "SORGHUM"
stat_categorystringNarrow to "CONDITION" (good/excellent ratings) or "PROGRESS" (planting/harvest %). Optional — omit for both.
statestringState name (optional, defaults to national)
yearstringYear, e.g., "2026". Optional — defaults to current year.