nass_query
ActiveTool of Nass
declared in 0.1.0
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).
Parameters schema
{
"type": "object",
"examples": [
{
"year": "2024",
"state": "IOWA",
"_apiKey": "your-nass-api-key",
"commodity": "CORN",
"stat_category": "YIELD"
},
{
"year": "2020:2025",
"_apiKey": "your-nass-api-key",
"agg_level": "NATIONAL",
"commodity": "SOYBEANS",
"stat_category": "PRODUCTION"
}
],
"required": [
"_apiKey",
"commodity"
],
"properties": {
"freq": {
"type": "string",
"description": "Frequency: \"ANNUAL\", \"MONTHLY\", or \"WEEKLY\" (optional)"
},
"year": {
"type": "string",
"description": "Year or range, e.g., \"2024\" or \"2020:2025\" (optional)"
},
"group": {
"type": "string",
"description": "Commodity group, e.g., \"FIELD CROPS\", \"FRUIT & TREE NUTS\", \"VEGETABLES\" (optional)"
},
"state": {
"type": "string",
"description": "State name, e.g., \"IOWA\", \"ILLINOIS\", \"CALIFORNIA\" (optional)"
},
"sector": {
"type": "string",
"description": "Sector: \"CROPS\", \"ANIMALS & PRODUCTS\", \"ECONOMICS\", \"DEMOGRAPHICS\", \"ENVIRONMENTAL\" (optional)"
},
"source": {
"type": "string",
"description": "Data source: \"SURVEY\" or \"CENSUS\" (optional, defaults to all)"
},
"_apiKey": {
"type": "string",
"description": "NASS API key (free from quickstats.nass.usda.gov/api)"
},
"agg_level": {
"type": "string",
"description": "Aggregation level: \"NATIONAL\", \"STATE\", or \"COUNTY\" (optional)"
},
"commodity": {
"type": "string",
"description": "Commodity name, e.g., \"CORN\", \"SOYBEANS\", \"WHEAT\", \"CATTLE\", \"MILK\", \"COTTON\""
},
"stat_category": {
"type": "string",
"description": "Statistic category, e.g., \"YIELD\", \"PRODUCTION\", \"AREA PLANTED\", \"AREA HARVESTED\", \"PRICE RECEIVED\", \"INVENTORY\""
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Nass
https://github.com/pipeworx-io/mcp-nass
1/7 registries