Magpie — USDA Agricultural Data for AI Agents
USDA farm data for AI agents: prices, WASDE, crop conditions, trade. 26 tools, free, no key.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"magpie": {
"url": "https://ag.morningbrief.link/mcp"
}
}
}Puntos de conexión remotos
https://ag.morningbrief.link/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (26)
🟢get_fertilizer_price(product)
Get the latest price for a fertilizer product
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "Product slug (e.g. anhydrous_ammonia, urea, dap)",
"enum": [
"anhydrous_ammonia",
"urea",
"dap",
"map",
"potash",
"liquid_n_28",
"liquid_n_32",
"ats",
"farm_diesel",
"biodiesel"
]
}
},
"required": [
"product"
]
}🟢get_fertilizer_history(product, periods)
Get price history for a fertilizer product
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"anhydrous_ammonia",
"urea",
"dap",
"map",
"potash",
"liquid_n_28",
"liquid_n_32",
"ats",
"farm_diesel",
"biodiesel"
]
},
"periods": {
"type": "number",
"description": "Number of periods (max 52)",
"default": 12
}
},
"required": [
"product"
]
}🟢list_fertilizer_products
List all available fertilizer products
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_grain_price(product, geography)
Get the latest cash price for a grain commodity
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "Grain slug (e.g. corn, soybeans, wheat)",
"enum": [
"corn",
"soybeans",
"wheat",
"sorghum",
"oats",
"barley",
"rice"
]
},
"geography": {
"type": "string",
"description": "State code (e.g. IL, IA). Default: IL",
"default": "IL"
}
},
"required": [
"product"
]
}🟢get_grain_history(product, geography, periods)
Get price history for a grain commodity
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"corn",
"soybeans",
"wheat",
"sorghum",
"oats",
"barley",
"rice"
]
},
"geography": {
"type": "string",
"default": "IL"
},
"periods": {
"type": "number",
"description": "Number of days (max 365)",
"default": 30
}
},
"required": [
"product"
]
}🟢list_grain_products
List all available grain commodities
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_livestock_price(product, geography)
Get the latest price for a livestock category
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "Livestock slug (e.g. fed_cattle, feeder_cattle, hogs)",
"enum": [
"fed_cattle",
"feeder_cattle",
"cows",
"hogs",
"sheep"
]
},
"geography": {
"type": "string",
"description": "Region (IA, ECB). Default: IA",
"default": "IA"
}
},
"required": [
"product"
]
}🟢get_livestock_history(product, geography, periods)
Get price history for a livestock category
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"fed_cattle",
"feeder_cattle",
"cows",
"hogs",
"sheep"
]
},
"geography": {
"type": "string",
"default": "IA"
},
"periods": {
"type": "number",
"description": "Days (max 365)",
"default": 30
}
},
"required": [
"product"
]
}🟢list_livestock_products
List all available livestock categories
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_dairy_price(product, geography)
Get the latest price for a dairy product
Esquema de entrada
{
"type": "object",
"properties": {
"product": {
"type": "string",
"enum": [
"butter",
"cheese",
"dry_whey",
"fluid_milk"
],
"description": "Dairy product (cheese, butter, dry_whey, fluid_milk)"
},
"geography": {
"type": "string",
"default": "US-Central"
}
},
"required": [
"product"
]
}🟢list_dairy_products
List all available dairy products
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_crop_stats(commodity, stat, geography)
Get NASS survey statistics (yield, production, acreage) for a commodity
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"description": "Commodity (CORN, SOYBEANS, WHEAT, etc.)",
"default": "CORN"
},
"stat": {
"type": "string",
"description": "Statistic type (YIELD, PRODUCTION, AREA PLANTED)",
"default": "YIELD"
},
"geography": {
"type": "string",
"description": "US for national, or state code (IA, IL, etc.)",
"default": "US"
}
},
"required": []
}🟢get_crop_condition(commodity, geography)
Get current NASS crop condition ratings (% excellent/good/fair/poor/very poor)
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"description": "Commodity (CORN, SOYBEANS, WHEAT)",
"default": "CORN"
},
"geography": {
"type": "string",
"description": "US for national, or state code (IA, IL, etc.)",
"default": "US"
}
},
"required": []
}🟢get_crop_progress(commodity, geography)
Get current NASS crop progress (% planted, emerged, harvested, etc.)
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"description": "Commodity (CORN, SOYBEANS, WHEAT)",
"default": "CORN"
},
"geography": {
"type": "string",
"description": "US for national, or state code (IA, IL, etc.)",
"default": "US"
}
},
"required": []
}🟢get_weather(location)
Get current weather conditions for an agricultural region
Esquema de entrada
{
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "Location key (IL-central, IA-central, NE-central, IN-central, KS-central)",
"default": "IL-central"
}
},
"required": []
}🟢get_forecast(location)
Get 7-day weather forecast for an agricultural region
Esquema de entrada
{
"type": "object",
"properties": {
"location": {
"type": "string",
"description": "Location key",
"default": "IL-central"
}
},
"required": []
}🟢get_spreads(geography)
Get input-to-output price spreads: corn-to-nitrogen by product, soybean-to-corn, feeder-to-fed cattle
Esquema de entrada
{
"type": "object",
"properties": {
"geography": {
"type": "string",
"default": "IL"
}
},
"required": []
}🟢get_wasde_projection(commodity, country, market_year)
Get USDA WASDE supply/demand projections for a commodity
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"description": "Commodity slug (e.g. corn, wheat, soybeans, rice, cotton)",
"enum": [
"corn",
"wheat",
"soybeans",
"soybean_meal",
"soybean_oil",
"rice",
"barley",
"cotton"
]
},
"country": {
"type": "string",
"description": "Country code or WORLD aggregate",
"default": "WORLD"
},
"market_year": {
"type": "number",
"description": "Marketing year (e.g. 2026 = 2025/26 season)"
}
},
"required": [
"commodity"
]
}🟢get_wasde_history(commodity, attribute, country)
Get historical WASDE projection revisions for a commodity attribute
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"enum": [
"corn",
"wheat",
"soybeans",
"soybean_meal",
"soybean_oil",
"rice",
"barley",
"cotton"
]
},
"attribute": {
"type": "string",
"description": "Projection attribute",
"enum": [
"beginning_stocks",
"production",
"imports",
"exports",
"domestic_consumption",
"ending_stocks"
],
"default": "ending_stocks"
},
"country": {
"type": "string",
"default": "WORLD"
}
},
"required": [
"commodity"
]
}🟢list_wasde_commodities
List all commodities tracked in WASDE projections
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_export_sales(commodity, country)
Get USDA weekly export sales for a commodity (net sales, outstanding, commitments)
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"enum": [
"wheat",
"barley",
"corn",
"sorghum",
"soybeans",
"soybean_meal",
"soybean_oil",
"cotton",
"rice"
],
"description": "Commodity slug"
},
"country": {
"type": "string",
"description": "GENC country code (e.g. CHN, MEX) or omit for all"
}
},
"required": [
"commodity"
]
}🟢get_export_sales_history(commodity, country, weeks)
Get weekly export sales time series for a commodity and country
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"enum": [
"wheat",
"barley",
"corn",
"sorghum",
"soybeans",
"soybean_meal",
"soybean_oil",
"cotton",
"rice"
]
},
"country": {
"type": "string",
"description": "GENC country code"
},
"weeks": {
"type": "number",
"description": "Number of weeks (default 12, max 52)"
}
},
"required": [
"commodity"
]
}🟢list_esr_commodities
List all commodities tracked in export sales
Esquema de entrada
{
"type": "object",
"properties": {}
}🟢get_trade_flows(commodity, partner, months)
Get USDA GATS monthly trade flows (actual shipments) for a commodity
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"enum": [
"wheat",
"barley",
"corn",
"sorghum",
"soybeans",
"soybean_meal",
"soybean_oil",
"cotton",
"rice"
],
"description": "Commodity slug"
},
"partner": {
"type": "string",
"description": "Partner country code or omit for all"
},
"months": {
"type": "number",
"description": "Number of months (default 12, max 24)"
}
},
"required": [
"commodity"
]
}⚪compare_contracts_vs_shipments(commodity, partner)
Compare ESR sales contracts against GATS actual shipments — shows unshipped balance
Esquema de entrada
{
"type": "object",
"properties": {
"commodity": {
"type": "string",
"enum": [
"wheat",
"barley",
"corn",
"sorghum",
"soybeans",
"soybean_meal",
"soybean_oil",
"cotton",
"rice"
],
"description": "Commodity slug"
},
"partner": {
"type": "string",
"description": "Partner country code or omit for all"
}
},
"required": [
"commodity"
]
}🟢list_gats_commodities
List all commodities tracked in GATS trade flows
Esquema de entrada
{
"type": "object",
"properties": {}
}Comunidad
Evidencia